drm/i915: Make adjusted_mode.clock non-pixel multiplied
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Sep 2013 20:28:59 +0000 (23:28 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Sep 2013 12:52:00 +0000 (14:52 +0200)
commit3c52f4eb9335475b7336e2d9f42cd2d41b83fc97
tree6f8a9958b8b50bf6f59f8185ad6fa1dd2931c73c
parent1041a02f35c5f5a6c180a052281e7414d64bb04b
drm/i915: Make adjusted_mode.clock non-pixel multiplied

It would be easier if adjusted_mode.clock would be the pipe pixel clock,
and it actually is, except for the cases where pixel_multiplier > 1.

So let's change intel_sdvo to use port_clock as the multiplied clock,
and then we can leave adjusted_mode.clock as pipe pixel clock.

v2: Improve port_clock documentation
    Rebased on top of SDVO pixel_multiplier fixes

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sdvo.c