]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gen9: Assume CDCLK PLL is off if it's not locked
authorImre Deak <imre.deak@intel.com>
Tue, 24 May 2016 12:38:32 +0000 (15:38 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 25 May 2016 12:31:49 +0000 (15:31 +0300)
commit67f67e71d7673bbc6be0a0bebef33d89d134b1e4
tree0e93a2cbdde4caf00d5490b3e294c95743e7d7a7
parente8e19a8b200f8e09240acf86a1a03ac236e24076
drm/i915/gen9: Assume CDCLK PLL is off if it's not locked

If the CDCLK PLL isn't locked or incorrectly configured we can just
assume that it's off resulting in fully re-initializing both CDCLK PLL
and CDCLK dividers. This way the CDCLK PLL sanitization added in the
following patch can be done on BXT the same way as it's done on SKL.

v2: (Ville)
- Remove the remaining PLL specific checks from skl_sanitize_cdclk() and
  depend instead on the corresponding check in skl_dpll0_update().
- Use vco == 0 instead of the corresponding boolean check in
  skl_sanitize_cdclk().

CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464093513-16258-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_display.c