diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2015-07-16 15:23:31 (GMT) |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2015-08-16 01:23:34 (GMT) |
commit | 451a8c0c59b3feebb5bf6a1ce1335e9f3e428355 (patch) | |
tree | 49e364cd41f7215175a4e9545f4dbdbf4c70f458 /drivers/gpu/drm/exynos | |
parent | 43a3b866a9e73e9bd215ec3f36c71e42469e70c6 (diff) | |
download | linux-451a8c0c59b3feebb5bf6a1ce1335e9f3e428355.tar.xz |
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.c | 2 |
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 1610757..f601726 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); |