drm/exynos: implement atomic_{begin/flush} of DECON
authorHyungwon Hwang <human.hwang@samsung.com>
Thu, 27 Aug 2015 09:21:14 +0000 (18:21 +0900)
committerInki Dae <daeinki@gmail.com>
Sun, 30 Aug 2015 16:02:58 +0000 (01:02 +0900)
commitcc5a7b35799459ec1d0b0e538f4d810aef704217
tree9193c5ce173a75c9ef302f08d1424616988c34f0
parente7fefb1d5af5d90baec5204d9096e8c4db8c93bd
drm/exynos: implement atomic_{begin/flush} of DECON

Each CRTC's atomic_{begin/flush} must stop/start the update of shadow
registers to active register in the functions. This patch achieves these
purpose by moving the setting of protection bits to those functions from
decon_update_plane.

v2: rebased to the branch exynos-drm-next

Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos5433_drm_decon.c
drivers/gpu/drm/exynos/exynos7_drm_decon.c