public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error
@ 2022-02-15 16:35 Matt Roper
  2022-02-15 22:56 ` Dhanavanthri, Swathi
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Matt Roper @ 2022-02-15 16:35 UTC (permalink / raw)
  To: intel-gfx

We need to use phy_name() to convert the PHY value into a human-readable
character in the error message.

Fixes: a6a128116e55 ("drm/i915/dg2: Wait for SNPS PHY calibration during display init")
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
 drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_snps_phy.c b/drivers/gpu/drm/i915/display/intel_snps_phy.c
index 8573a458811a..8fd00de981fc 100644
--- a/drivers/gpu/drm/i915/display/intel_snps_phy.c
+++ b/drivers/gpu/drm/i915/display/intel_snps_phy.c
@@ -35,7 +35,7 @@ void intel_snps_phy_wait_for_calibration(struct drm_i915_private *i915)
 		if (intel_de_wait_for_clear(i915, ICL_PHY_MISC(phy),
 					    DG2_PHY_DP_TX_ACK_MASK, 25))
 			drm_err(&i915->drm, "SNPS PHY %c failed to calibrate after 25ms.\n",
-				phy);
+				phy_name(phy));
 	}
 }
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-22 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15 16:35 [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error Matt Roper
2022-02-15 22:56 ` Dhanavanthri, Swathi
2022-02-16 20:52   ` Dhanavanthri, Swathi
2022-02-17 13:20 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/dg2: Print PHY name properly on calibration error (rev3) Patchwork
2022-02-17 13:49 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-02-17 23:33 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2022-02-21  9:42 ` [Intel-gfx] [PATCH] drm/i915/dg2: Print PHY name properly on calibration error Tvrtko Ursulin
2022-02-22 16:00   ` Matt Roper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox