summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_hqvdp.c
diff options
context:
space:
mode:
authorThierry Reding2015-09-24 18:35:38 +0200
committerVincent Abriou2015-11-03 13:04:53 +0100
commit2388693e10026ec0be2f7de0bb8fcb5a9bc119f9 (patch)
tree2b8995ec23b4e545c8150db58979b86fb69655ba /drivers/gpu/drm/sti/sti_hqvdp.c
parentdrm/sti: Store correct CRTC index in events (diff)
downloadkernel-qcow2-linux-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.tar.gz
kernel-qcow2-linux-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.tar.xz
kernel-qcow2-linux-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.zip
drm/sti: Use drm_crtc_vblank_*() API
Non-legacy drivers should only use this API to allow per-CRTC data to be eventually moved into struct drm_crtc. 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>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hqvdp.c')
-rw-r--r--drivers/gpu/drm/sti/sti_hqvdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_hqvdp.c b/drivers/gpu/drm/sti/sti_hqvdp.c
index 7c8f9b8bfae1..09d86be4f73f 100644
--- a/drivers/gpu/drm/sti/sti_hqvdp.c
+++ b/drivers/gpu/drm/sti/sti_hqvdp.c
@@ -763,7 +763,7 @@ static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane,
/* Register VTG Vsync callback to handle bottom fields */
if (sti_vtg_register_client(hqvdp->vtg,
&hqvdp->vtg_nb,
- mixer->id)) {
+ crtc)) {
DRM_ERROR("Cannot register VTG notifier\n");
return;
}