Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@suse.com>2017-11-15 00:41:34 +0100
committerMian Yousaf Kaukab <yousaf.kaukab@suse.com>2017-11-15 00:42:08 +0100
commitbfaf85fd771791b1e06647a7bec29e535717cf54 (patch)
treebf91df530ee9d2db58041ed3e7946cacd0007dbe
parent72509bc53c3d3c5e65f28ca3582b536b7ab128c8 (diff)
drm/rockchip: Rely on the default best_encoder() behavior
-rw-r--r--drivers/gpu/drm/rockchip/cdn-dp-core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c
index 9b0b0588bbed..4588b9e107d2 100644
--- a/drivers/gpu/drm/rockchip/cdn-dp-core.c
+++ b/drivers/gpu/drm/rockchip/cdn-dp-core.c
@@ -288,14 +288,6 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector)
return ret;
}
-static struct drm_encoder *
-cdn_dp_connector_best_encoder(struct drm_connector *connector)
-{
- struct cdn_dp_device *dp = connector_to_dp(connector);
-
- return &dp->encoder;
-}
-
static int cdn_dp_connector_mode_valid(struct drm_connector *connector,
struct drm_display_mode *mode)
{
@@ -347,7 +339,6 @@ static int cdn_dp_connector_mode_valid(struct drm_connector *connector,
static struct drm_connector_helper_funcs cdn_dp_connector_helper_funcs = {
.get_modes = cdn_dp_connector_get_modes,
- .best_encoder = cdn_dp_connector_best_encoder,
.mode_valid = cdn_dp_connector_mode_valid,
};