]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tolerate bogus DPLL selection
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 10 Mar 2021 19:43:51 +0000 (21:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Mar 2021 19:36:55 +0000 (21:36 +0200)
commit086877a12f36f7fffaaeb3b7842cf409093e13b8
tree6ee1a25cb0c4396de277488e5c940d928be99ac2
parent35bb28ece90dfb7f72b77ba529f25f79323d9581
drm/i915: Tolerate bogus DPLL selection

Let's check that we actually found the PLL before doing the
port_clock readout, just in case the hardware was severly
misprogrammed by the previous guy. Not sure the hw would
even survive such misprogramming without hanging but no
real harm in checking anyway.

Cc: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210310194351.6233-1-ville.syrjala@linux.intel.com
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c