[PATCH 2/8] drm: arcpgu: Remove CRTC .prepare() helper operation
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Wed Jun 28 08:36:35 UTC 2017
Hi Laurent,
On Wed, 2017-06-28 at 00:16 +0300, Laurent Pinchart wrote:
> The CRTC helper .prepare() operation is legacy code, the atomic helpers
> prefer the .disable() operation. As the arcpgu driver implements the
> .disable() and .prepare() operations identicallly, .prepare() can be
> removed.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
> drivers/gpu/drm/arc/arcpgu_crtc.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/arc/arcpgu_crtc.c b/drivers/gpu/drm/arc/arcpgu_crtc.c
> index 51745608e09d..1f306781c9d5 100644
> --- a/drivers/gpu/drm/arc/arcpgu_crtc.c
> +++ b/drivers/gpu/drm/arc/arcpgu_crtc.c
> @@ -163,7 +163,6 @@ static const struct drm_crtc_helper_funcs arc_pgu_crtc_helper_funcs = {
> .mode_set_nofb = arc_pgu_crtc_mode_set_nofb,
> .enable = arc_pgu_crtc_enable,
> .disable = arc_pgu_crtc_disable,
> - .prepare = arc_pgu_crtc_disable,
> .atomic_begin = arc_pgu_crtc_atomic_begin,
> };
Acked-by: Alexey Brodkin <abrodkin at synopsys.com>
More information about the dri-devel
mailing list