summaryrefslogtreecommitdiff
path: root/include/drm/drm_vblank.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-01-23 16:59:43 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2020-02-13 15:10:10 +0300
commit48e678076e58341a70369d2db67770272181aa41 (patch)
treeebbe3745d35dea8cacb947bc8903673e8b8fb26d /include/drm/drm_vblank.h
parentf397d66b31ab4f1380d3f31e2770e160a3e5a73b (diff)
downloadlinux-48e678076e58341a70369d2db67770272181aa41.tar.xz
drm: Remove legacy version of get_scanout_position()
The legacy version of get_scanout_position() was only useful while drivers still used drm_driver.get_scanout_position(). With no such drivers left, the related typedef and code can be removed Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200123135943.24140-23-tzimmermann@suse.de
Diffstat (limited to 'include/drm/drm_vblank.h')
-rw-r--r--include/drm/drm_vblank.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/drm/drm_vblank.h b/include/drm/drm_vblank.h
index e20eb254b0c4..dd9f5b9e56e4 100644
--- a/include/drm/drm_vblank.h
+++ b/include/drm/drm_vblank.h
@@ -247,22 +247,12 @@ typedef bool (*drm_vblank_get_scanout_position_func)(struct drm_crtc *crtc,
ktime_t *etime,
const struct drm_display_mode *mode);
-typedef bool (*drm_vblank_get_scanout_position_legacy_func)(struct drm_device *dev,
- unsigned int pipe,
- bool in_vblank_irq,
- int *vpos,
- int *hpos,
- ktime_t *stime,
- ktime_t *etime,
- const struct drm_display_mode *mode);
-
bool
drm_crtc_vblank_helper_get_vblank_timestamp_internal(struct drm_crtc *crtc,
int *max_error,
ktime_t *vblank_time,
bool in_vblank_irq,
- drm_vblank_get_scanout_position_func get_scanout_position,
- drm_vblank_get_scanout_position_legacy_func get_scanout_position_legacy);
+ drm_vblank_get_scanout_position_func get_scanout_position);
bool drm_crtc_vblank_helper_get_vblank_timestamp(struct drm_crtc *crtc,
int *max_error,
ktime_t *vblank_time,