drm/exynos: add prepare and cleanup phases for planes
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 24 Aug 2015 11:36:59 +0000 (20:36 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 30 Aug 2015 15:27:36 +0000 (00:27 +0900)
commitd9220d4733d1ea1ae375bd76dd2c961969a6795c
tree0ef94fd28b1d02dcd03f08b983af5697bce43dcf
parentfc75f7107a8de47e135cf3b9fec62f99c184a2c8
drm/exynos: add prepare and cleanup phases for planes

From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>

.prepare_plane() and .cleanup_plane() allows to perform extra operations
before and after the update of planes. For FIMD for example this will
be used to enable disable the shadow protection bit.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_drv.h