drm/exynos: move crtc event handling to drivers callbacks
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 14 Mar 2017 08:27:56 +0000 (09:27 +0100)
committerInki Dae <inki.dae@samsung.com>
Tue, 21 Mar 2017 04:17:21 +0000 (13:17 +0900)
commita392276d1dec63e5aabe6f527c37de29a729559a
tree0569a35d4495efa5704c3d265102d03ef82c406b
parent6bdc92ee4980ca10171a8de338fad612f00bb48f
drm/exynos: move crtc event handling to drivers callbacks

CRTC event is currently send with next vblank, or instantly in case crtc
is being disabled. This approach usually works, but in corner cases it can
result in premature event generation. Only device driver is able to verify
if the event can be sent. This patch is a first step in that direction - it
moves event handling to the drivers.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.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
drivers/gpu/drm/exynos/exynos_drm_crtc.c
drivers/gpu/drm/exynos/exynos_drm_crtc.h
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_drm_vidi.c
drivers/gpu/drm/exynos/exynos_mixer.c