OSDN Git Service

drm: rcar-du: Rework HDMI encoder 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:16 +0000 (16:16 +0200)
commit58706b88c4a8f7423be3e521b457fdb88516aa30
tree9845ccf60b832022455a5f1b46cbf25f23fdd820
parentf6638b6abc298a9d4a13492a4d918e3c4ced3109
drm: rcar-du: Rework HDMI encoder enable/disable for atomic updates

When using atomic updates the encoder .enable() and .disable() helper
operations are preferred over the (then legacy) .prepare() and .commit()
operations. Implement .enable() and .disable() and rework .prepare(),
.commit() and .dpms() as wrappers around .enable() and .disable(),
easing their future removal.

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