diff options
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 63eab2b72ee7..04086c5be930 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -845,6 +845,7 @@ struct drm_driver { | |||
845 | * | 845 | * |
846 | * \param dev DRM device. | 846 | * \param dev DRM device. |
847 | * \param crtc Id of the crtc to query. | 847 | * \param crtc Id of the crtc to query. |
848 | * \param flags Flags from the caller (DRM_CALLED_FROM_VBLIRQ or 0). | ||
848 | * \param *vpos Target location for current vertical scanout position. | 849 | * \param *vpos Target location for current vertical scanout position. |
849 | * \param *hpos Target location for current horizontal scanout position. | 850 | * \param *hpos Target location for current horizontal scanout position. |
850 | * \param *stime Target location for timestamp taken immediately before | 851 | * \param *stime Target location for timestamp taken immediately before |
@@ -867,6 +868,7 @@ struct drm_driver { | |||
867 | * | 868 | * |
868 | */ | 869 | */ |
869 | int (*get_scanout_position) (struct drm_device *dev, int crtc, | 870 | int (*get_scanout_position) (struct drm_device *dev, int crtc, |
871 | unsigned int flags, | ||
870 | int *vpos, int *hpos, ktime_t *stime, | 872 | int *vpos, int *hpos, ktime_t *stime, |
871 | ktime_t *etime); | 873 | ktime_t *etime); |
872 | 874 | ||
@@ -1401,8 +1403,10 @@ extern int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, | |||
1401 | int crtc, int *max_error, | 1403 | int crtc, int *max_error, |
1402 | struct timeval *vblank_time, | 1404 | struct timeval *vblank_time, |
1403 | unsigned flags, | 1405 | unsigned flags, |
1404 | struct drm_crtc *refcrtc); | 1406 | const struct drm_crtc *refcrtc, |
1405 | extern void drm_calc_timestamping_constants(struct drm_crtc *crtc); | 1407 | const struct drm_display_mode *mode); |
1408 | extern void drm_calc_timestamping_constants(struct drm_crtc *crtc, | ||
1409 | const struct drm_display_mode *mode); | ||
1406 | 1410 | ||
1407 | extern bool | 1411 | extern bool |
1408 | drm_mode_parse_command_line_for_connector(const char *mode_option, | 1412 | drm_mode_parse_command_line_for_connector(const char *mode_option, |