drm/exynos: wait for the completion of pending page flip
authorInki Dae <inki.dae@samsung.com>
Tue, 21 May 2013 07:55:58 +0000 (16:55 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 23 May 2013 10:47:33 +0000 (19:47 +0900)
commit20cd2640a295cab46bcd08f4788984ca236fc148
tree6d2bb4ac54fb3cb6ee7feced8f64305ffced4bb9
parentc5cca97fb915a90b1dcddf737062e67dd8656af8
drm/exynos: wait for the completion of pending page flip

This patch fixes the issue that drm_vblank_get() is failed.

The issus occurs when next page flip request is tried
if previous page flip event wasn't completed yet and then
dpms became off.

So this patch make sure that page flip event is completed
before dpms goes to off.

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