diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-26 16:16:30 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-01-20 10:04:46 +0100 |
commit | 545cdd5510205f01cd9604e23385bac468d45c63 (patch) | |
tree | 1018894b8b3b22b26b3e7d0f08c116a8889fef5d /include | |
parent | Merge branch 'drm-intel-next' of git://people.freedesktop.org/~danvet/drm-int... (diff) | |
download | linux-545cdd5510205f01cd9604e23385bac468d45c63.tar.xz linux-545cdd5510205f01cd9604e23385bac468d45c63.zip |
drm: Pass the display mode to drm_calc_timestamping_constants()
We don't really use hwmode anymore in i915, so eliminating its use
from the core code seems prudent. Just pass the appropriate mode
to drm_calc_timestamping_constants().
Reviewed-by: mario.kleiner.de@gmail.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/drmP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 63eab2b72ee7..46bf8ae7e302 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -1402,7 +1402,8 @@ extern int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, struct timeval *vblank_time, unsigned flags, struct drm_crtc *refcrtc); -extern void drm_calc_timestamping_constants(struct drm_crtc *crtc); +extern void drm_calc_timestamping_constants(struct drm_crtc *crtc, + const struct drm_display_mode *mode); extern bool drm_mode_parse_command_line_for_connector(const char *mode_option, |