]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dg2: Skip output init on PHY calibration failure
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 23 Feb 2022 16:54:21 +0000 (08:54 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 25 Feb 2022 01:16:51 +0000 (17:16 -0800)
commitbde9210c231d6623bc60fdce79346e32642867e9
tree7d547b3d34316d4f1db4ea12de69e55828e62d21
parent5d1ffd05cfd109911747f828b67eadcd08af947b
drm/i915/dg2: Skip output init on PHY calibration failure

If one of our PHYs fails to complete calibration, we should skip the
general initialization of the corresponding output.  Most likely this is
going to happen on outputs that don't actually exist on the board; in
theory we should have already decided to skip this output based on the
VBT, but we can't always rely on the VBT being accurate.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223165421.3949883-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_snps_phy.c
drivers/gpu/drm/i915/i915_drv.h