summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2015-07-16 12:23:31 -0300
committerInki Dae <inki.dae@samsung.com>2015-08-16 10:23:34 +0900
commit451a8c0c59b3feebb5bf6a1ce1335e9f3e428355 (patch)
tree49e364cd41f7215175a4e9545f4dbdbf4c70f458 /drivers/gpu/drm/exynos
parent43a3b866a9e73e9bd215ec3f36c71e42469e70c6 (diff)
downloadtalos-obmc-linux-451a8c0c59b3feebb5bf6a1ce1335e9f3e428355.tar.gz
talos-obmc-linux-451a8c0c59b3feebb5bf6a1ce1335e9f3e428355.zip
drm/exynos: pass the correct pipe number
Instead of giving -1 to as arg to drm_send_vblank_event() pass the correct pipe number to it. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
index 1610757230a5..f6017262ac02 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_crtc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.c
@@ -205,7 +205,7 @@ void exynos_drm_crtc_finish_pageflip(struct drm_device *dev, int pipe)
spin_lock_irqsave(&dev->event_lock, flags);
if (exynos_crtc->event) {
- drm_send_vblank_event(dev, -1, exynos_crtc->event);
+ drm_send_vblank_event(dev, pipe, exynos_crtc->event);
drm_vblank_put(dev, pipe);
wake_up(&exynos_crtc->pending_flip_queue);
OpenPOWER on IntegriCloud