drm/vblank: Fix documentation of VBLANK timestamp helper
Subsystems (2)
Thomas Zimmermann
maintainerPATCH 1/1 drm/vblank: Fix documentation of VBLANK timestamp helper
Per-CRTC VBLANK information used to be addressed by device and pipe index. A call drm_crtc_vblank_helper_get_vblank_timestamp_internal() receives a pointer to the CRTC instead. Fix the documentation.
Signed-off-by Thomas Zimmermann <[email protected]>
Reported-by Daniel Vetter <[email protected]>
Fixes f1e2b6371c12 ("drm: Add get_scanout_position() to struct drm_crtc_helper_funcs")
Cc Thomas Zimmermann <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
--- drivers/gpu/drm/drm_vblank.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/drm_vblank.c +1 -2
@@ -592,8 +592,7 @@ EXPORT_SYMBOL(drm_calc_timestamping_constants);/** * drm_crtc_vblank_helper_get_vblank_timestamp_internal - precise vblank * timestamp helper -* @dev: DRM device -* @pipe: index of CRTC whose vblank timestamp to retrieve +* @crtc: CRTC whose vblank timestamp to retrieve * @max_error: Desired maximum allowable error in timestamps (nanosecs) * On return contains true maximum error of timestamp * @vblank_time: Pointer to time which should receive the timestamp
Signature · 6 lines
2.25.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 4 lines · Thomas Zimmermann
Per-CRTC VBLANK information used to be addressed by device and pipe index. A call
drm_crtc_vblank_helper_get_vblank_timestamp_internal()receives a pointer to the CRTC instead. Fix the documentation.
Quoted 10 lines
Signed-off-by Thomas Zimmermann <[email protected]>Reported-by Daniel Vetter <[email protected]>Fixes f1e2b6371c12 ("drm: Add get_scanout_position() to struct drm_crtc_helper_funcs")Cc Thomas Zimmermann <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Maarten Lankhorst <[email protected]>Cc Maxime Ripard <[email protected]>Cc David Airlie <[email protected]>Cc Daniel Vetter <[email protected]>
Reviewed-by Daniel Vetter <[email protected]>
Quoted 21 lines
--- drivers/gpu/drm/drm_vblank.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/drm_vblank.c +1
-2@@ -592,8 +592,7 @@ EXPORT_SYMBOL(drm_calc_timestamping_constants);/** * drm_crtc_vblank_helper_get_vblank_timestamp_internal - precise vblank * timestamp helper -* @dev: DRM device -* @pipe: index of CRTC whose vblank timestamp to retrieve +* @crtc: CRTC whose vblank timestamp to retrieve * @max_error: Desired maximum allowable error in timestamps (nanosecs) * On return contains true maximum error of timestamp * @vblank_time: Pointer to time which should receive the timestamp Signature · 1 line
2.25.1
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel