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_vtg.h | |
parent | df00d029d7f107aa4b35edffca0465664e7289bd (diff) | |
download | op-kernel-dev-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.zip op-kernel-dev-2388693e10026ec0be2f7de0bb8fcb5a9bc119f9.tar.gz |
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_vtg.h')
-rw-r--r-- | drivers/gpu/drm/sti/sti_vtg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/sti/sti_vtg.h b/drivers/gpu/drm/sti/sti_vtg.h index e84d23f..cd2439f 100644 --- a/drivers/gpu/drm/sti/sti_vtg.h +++ b/drivers/gpu/drm/sti/sti_vtg.h @@ -17,8 +17,8 @@ struct notifier_block; struct sti_vtg *of_vtg_find(struct device_node *np); void sti_vtg_set_config(struct sti_vtg *vtg, const struct drm_display_mode *mode); -int sti_vtg_register_client(struct sti_vtg *vtg, - struct notifier_block *nb, int crtc_id); +int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb, + struct drm_crtc *crtc); int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb); |