diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2017-03-14 11:27:56 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-03-21 07:17:21 +0300 |
commit | a392276d1dec63e5aabe6f527c37de29a729559a (patch) | |
tree | 0569a35d4495efa5704c3d265102d03ef82c406b /drivers/gpu/drm/exynos/exynos_drm_crtc.h | |
parent | 6bdc92ee4980ca10171a8de338fad612f00bb48f (diff) | |
download | linux-a392276d1dec63e5aabe6f527c37de29a729559a.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_crtc.h')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_crtc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.h b/drivers/gpu/drm/exynos/exynos_drm_crtc.h index 6a581a8af465..abd5d6ceac0c 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_crtc.h +++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.h @@ -40,4 +40,6 @@ int exynos_drm_crtc_get_pipe_from_type(struct drm_device *drm_dev, */ void exynos_drm_crtc_te_handler(struct drm_crtc *crtc); +void exynos_crtc_handle_event(struct exynos_drm_crtc *exynos_crtc); + #endif |