drm/exynos: check crtc's dpms mode at page flip
authorInki Dae <inki.dae@samsung.com>
Tue, 11 Sep 2012 09:25:21 +0000 (18:25 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Oct 2012 01:06:01 +0000 (10:06 +0900)
commitef6223dc6bab64c99b5c869b652fa13436afc38a
tree1540d626a6f3a3dc1f5a858ab2451a7f7af32b60
parent471d60fe594ed1a7ae28a3f911d1200ae51efbdc
drm/exynos: check crtc's dpms mode at page flip

when page flip is requested, crtc's dpms mode should be on.
if not on, return -EINVAL so that it doesn't access hardware.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_crtc.c