[PATCH 06/16] drm/rockchip: Store correct CRTC index in events
Thierry Reding
thierry.reding at gmail.com
Thu Sep 24 09:35:28 PDT 2015
From: Thierry Reding <treding at nvidia.com>
A negative pipe causes a special case to be triggered for drivers that
don't have proper VBLANK support. Rockchip does support VBLANKs, so
there is no need for the fallback code.
Cc: Mark Yao <mark.yao at rock-chips.com>
Signed-off-by: Thierry Reding <treding at nvidia.com>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
index 5d8ae5e49c44..5f192dda3f48 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c
@@ -1289,7 +1289,7 @@ static void vop_win_state_complete(struct vop_win *vop_win,
if (state->event) {
spin_lock_irqsave(&drm->event_lock, flags);
- drm_send_vblank_event(drm, -1, state->event);
+ drm_send_vblank_event(drm, vop->pipe, state->event);
spin_unlock_irqrestore(&drm->event_lock, flags);
}
--
2.5.0
More information about the dri-devel
mailing list