Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 451a8c0c authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Inki Dae
Browse files

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: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 43a3b866
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);