drm/i915: clean up and simplify i9xx_crtc_mode_set wrt PLL handling
authorJani Nikula <jani.nikula@intel.com>
Fri, 13 Sep 2013 08:03:09 +0000 (11:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:15 +0000 (07:45 +0200)
commitf2335330ec5cd9c4b189b365560c044fe8556ccf
tree0e818eeda12106a6502c45c8597b4c30041cac18
parent46a3f4a3148684f9210767784a017314876c3274
drm/i915: clean up and simplify i9xx_crtc_mode_set wrt PLL handling

Flat out skip anything to do with PLL if we have a DSI encoder (and thus
DSI PLL). Also skip PLL computation if the encoder has already set
clocks. This allows for some tidying up of the code, including a
superfluous call to intel_limit() for LVDS downclock path.

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