[PATCH 7/8] drm: Add old state pointer to CRTC .enable() helper function

Boris Brezillon boris.brezillon at free-electrons.com
Wed Jun 28 08:43:08 UTC 2017


Le Wed, 28 Jun 2017 00:16:20 +0300,
Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com> a écrit :

> The old state is useful for drivers that need to perform operations at
> enable time that depend on the transition between the old and new
> states.
> 
> While at it, rename the operation to .atomic_enable() to be consistent
> with .atomic_disable(), as the .enable() operation is used by atomic
> helpers only.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
>  drivers/gpu/drm/arc/arcpgu_crtc.c               |  5 ++--
>  drivers/gpu/drm/arm/hdlcd_crtc.c                |  5 ++--
>  drivers/gpu/drm/arm/malidp_crtc.c               |  5 ++--
>  drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  |  5 ++--

For atmel-hlcdc:

Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>


More information about the dri-devel mailing list