]> 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)
commit7a361054ed0b83aee01f13ce76e161a84176de2e
tree0e818eeda12106a6502c45c8597b4c30041cac18
parent4f3f5a5a72e26ee0ccfccf53cf3c97c437349d6c
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