commit | 77666b72260da3a5290471de77e2d2261244db83 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Sun Oct 27 21:22:58 2013 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Jan 20 11:06:17 2014 +0200 |
tree | 839ee4152c6cd89b2de4f442bd77187640bc4e81 | |
parent | 265d09aa8254c0a8fc9c2d7ecb0b440e92961e72 [diff] |
drm: Use crtc_clock in drm_calc_timestamping_constants() drm_calc_timestamping_constants() computes the pixel/line/frame durations based on the crtc_ timing values. The corresponding pixel clock is in mode->crtc_clock, so we need to use that instead of mode->clock. This should fix drm_calc_timestamping_constants() for frame packing stereo modes. Reviewed-by: mario.kleiner.de@gmail.com Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>