diff mbox

drm/tinydrm: Remove explicit .best_encoder assignment

Message ID 20171010205858.GA4806@Haneen (mailing list archive)
State New, archived
Headers show

Commit Message

Haneen Mohammed Oct. 10, 2017, 8:58 p.m. UTC
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>
---
 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Noralf Trønnes Oct. 13, 2017, 3:44 p.m. UTC | #1
Den 10.10.2017 22.58, skrev Haneen Mohammed:
> 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>
> ---

Thanks, applied to drm-misc.

Noralf.

>   drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
> index 177e9d8..bc55de2 100644
> --- a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
> +++ b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
> @@ -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
diff mbox

Patch

diff --git a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
index 177e9d8..bc55de2 100644
--- a/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
+++ b/drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c
@@ -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