]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e3a3cd6dcd9e969f3d178b7a9423f216739b1f4
tree0e818eeda12106a6502c45c8597b4c30041cac18
parentda6b73b937a126863abdac6d61d1600969429794
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