drm/tinydrm: Remove explicit .best_encoder assignment
Subsystems (2)
PATCH 1/1 drm/tinydrm: Remove explicit .best_encoder assignment
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]>
--- drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c +0 -1
@@ -50,7 +50,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
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Noralf Trønnes
AppliedDen 10.10.2017 22.58, skrev Haneen Mohammed:
Quoted 6 lines
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]>---
Thanks, applied to drm-misc.
Noralf.
Quoted 15 lines
drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c +0
-1@@ -50,7 +50,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