[PATCH] drm/tinydrm: Remove explicit .best_encoder assignment

Noralf Trønnes noralf at tronnes.org
Fri Oct 13 15:44:52 UTC 2017


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 at 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



More information about the dri-devel mailing list