drm/tinydrm: Remove explicit .best_encoder assignment
authorHaneen Mohammed <[email protected]>
Tue, 10 Oct 2017 20:58:58 +0000 (14:58 -0600)
committerNoralf Trønnes <[email protected]>
Fri, 13 Oct 2017 15:34:51 +0000 (17:34 +0200)
Since the driver is relying on the atomic helpers, remove the explicit
.best_encoder assignment and let the core call
drm_atomic_helper_best_encoder().

Signed-off-by: Haneen Mohammed <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010205858.GA4806@Haneen
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c

index fc447c9a1a271c69617805cd956daab59a95ab98..f41fc506ff87f6d96b39f1122efa86e76b4399e3 100644 (file)
@@ -51,7 +51,6 @@ static int tinydrm_connector_get_modes(struct drm_connector *connector)
 
 static const struct drm_connector_helper_funcs tinydrm_connector_hfuncs = {
        .get_modes = tinydrm_connector_get_modes,
-       .best_encoder = drm_atomic_helper_best_encoder,
 };
 
 static enum drm_connector_status