drm: rcar-du: Rework CRTC enable/disable for atomic updates
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 20 Feb 2015 12:05:21 +0000 (14:05 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 3 Mar 2015 14:16:17 +0000 (16:16 +0200)
commitbeff155a7eae6d376b391de5e95fd91d23664397
tree9cc6fa5fc4bacd9871e2ff098e771d1647fd741a
parent58706b88c4a8f7423be3e521b457fdb88516aa30
drm: rcar-du: Rework CRTC enable/disable for atomic updates

When using atomic updates the CRTC .enable() and .disable() helper
operations are preferred over the (then legacy) .prepare() and .commit()
operations. Implement .enable() and rework .disable() to not depend on
DPMS, easing DPMS removal later on.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c
drivers/gpu/drm/rcar-du/rcar_du_crtc.h