]> 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)
commit33229af49885176d4af25c6c2f153c6d6d393196
tree6ee1a25cb0c4396de277488e5c940d928be99ac2
parenta81ecf1d00210d1ba12ef3cbb5b90b74ab9d2971
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