]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm: arcpgu: Remove CRTC .prepare() helper operation
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 27 Jun 2017 21:16:15 +0000 (00:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Jun 2017 10:51:13 +0000 (12:51 +0200)
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@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170627211621.27767-2-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/arc/arcpgu_crtc.c

index 51745608e09d0e2bf77401e25b39e4c95c53c561..1f306781c9d5b4f61b67a08eaf2baa5fe5b44a89 100644 (file)
@@ -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,
 };