drm/sti: Store correct CRTC index in events
authorThierry Reding <treding@nvidia.com>
Thu, 24 Sep 2015 16:35:29 +0000 (18:35 +0200)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 3 Nov 2015 12:04:53 +0000 (13:04 +0100)
commitdf00d029d7f107aa4b35edffca0465664e7289bd
treef003dc4b96a1dd8c68a9b9eeaab5ee01349ad498
parent1352be6eb0f3484bfed6b5676a8e2c34be43ba74
drm/sti: Store correct CRTC index in events

A negative pipe causes a special case to be triggered for drivers that
don't have proper VBLANK support. STi does support VBLANKs, so there is
no need for the fallback code.

Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_crtc.c