]> 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)
commitf5a70163d7f3f2a97794548c02c355b3f711d90b
tree7d547b3d34316d4f1db4ea12de69e55828e62d21
parent26d3258166bf3f4a1135b854c755d4d7d043af55
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