]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/tinydrm: Remove explicit .best_encoder assignment
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Tue, 10 Oct 2017 20:58:58 +0000 (14:58 -0600)
committerNoralf Trønnes <noralf@tronnes.org>
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 <hamohammed.sa@gmail.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
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