From: jsg Date: Wed, 2 Mar 2022 13:09:56 +0000 (+0000) Subject: drm/i915/dg2: Print PHY name properly on calibration error X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d21cd6ed5c9c1a8650032086f47607ccb8ef5d4b;p=openbsd drm/i915/dg2: Print PHY name properly on calibration error From Matt Roper d064d0c39405a7f0fc76d9b70ce9fb3bf434fe05 in linux 5.15.y/5.15.26 28adef861233c6fce47372ebd2070b55eaa8e899 in mainline linux --- diff --git a/sys/dev/pci/drm/i915/display/intel_snps_phy.c b/sys/dev/pci/drm/i915/display/intel_snps_phy.c index 18b52b64af9..536b319ffe5 100644 --- a/sys/dev/pci/drm/i915/display/intel_snps_phy.c +++ b/sys/dev/pci/drm/i915/display/intel_snps_phy.c @@ -32,7 +32,7 @@ void intel_snps_phy_wait_for_calibration(struct drm_i915_private *dev_priv) if (intel_de_wait_for_clear(dev_priv, ICL_PHY_MISC(phy), DG2_PHY_DP_TX_ACK_MASK, 25)) DRM_ERROR("SNPS PHY %c failed to calibrate after 25ms.\n", - phy); + phy_name(phy)); } }