diff options
author | Thierry Reding <treding@nvidia.com> | 2015-09-24 18:35:38 +0200 |
---|---|---|
committer | Vincent Abriou <vincent.abriou@st.com> | 2015-11-03 13:04:53 +0100 |
commit | 2388693e10026ec0be2f7de0bb8fcb5a9bc119f9 (patch) | |
tree | 2b8995ec23b4e545c8150db58979b86fb69655ba /drivers/gpu/drm/sti/sti_hqvdp.c | |
parent | drm/sti: Store correct CRTC index in events (diff) | |
download | linux-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.tar.xz 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.c | 2 |
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; } |