diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-26 17:16:30 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-01-20 11:04:46 +0200 |
commit | 545cdd5510205f01cd9604e23385bac468d45c63 (patch) | |
tree | 1018894b8b3b22b26b3e7d0f08c116a8889fef5d /drivers/gpu/drm/drm_crtc_helper.c | |
parent | cfd72a4c2089aa3938f37281a34d6eb3306d5fd8 (diff) | |
download | linux-545cdd5510205f01cd9604e23385bac468d45c63.tar.gz linux-545cdd5510205f01cd9604e23385bac468d45c63.tar.bz2 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 'drivers/gpu/drm/drm_crtc_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 01361aba033b..245fe4fa9c9e 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -536,7 +536,7 @@ bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, * are later needed by vblank and swap-completion * timestamping. They are derived from true hwmode. */ - drm_calc_timestamping_constants(crtc); + drm_calc_timestamping_constants(crtc, &crtc->hwmode); /* FIXME: add subpixel order */ done: |