drm/i915: Call drm_calc_timestamping_constants() earlier
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Oct 2013 10:53:41 +0000 (12:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 20 Jan 2014 09:05:41 +0000 (11:05 +0200)
commitc326c0a9c98c06346dd7e37815c651e9382bb7a7
tree5a0f26d819456df326d903091fa79a99fd5940dc
parent4b4b9238a30e308b85be2249eadad74ca5d02178
drm/i915: Call drm_calc_timestamping_constants() earlier

Update the pixel/line/frame duration information when we switch to the
new pipe config. This will keep the timestamping constants in better
sync with the real hardware state.

Reviewed-by: mario.kleiner.de@gmail.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c