drm/rockchip: Rely on the default best_encoder() behavior
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Wed, 27 Sep 2017 18:23:17 +0000 (12:23 -0600)
committerSean Paul <seanpaul@chromium.org>
Wed, 27 Sep 2017 20:01:56 +0000 (16:01 -0400)
commit7f909d9c74f3894ba8bca426ead8ccbe7282d950
treecb181bb8e9fcd3f5252e6a74d8dfa23d08e50bca
parent32ad958d85b92ee7068aa1de5917777be080cc3c
drm/rockchip: Rely on the default best_encoder() behavior

Since the output has 1:1 relationship between connectors and encoders,
and the driver is relying on the atomic helpers, remove the custom
best_encoder() and let the core call drm_atomic_helper_best_encoder().

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170927182317.GA8249@Haneen
drivers/gpu/drm/rockchip/cdn-dp-core.c