Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/display: read PCON capability only when present
@ 2025-06-18 11:45 Chaitanya Kumar Borah
  2025-06-18 12:52 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chaitanya Kumar Borah @ 2025-06-18 11:45 UTC (permalink / raw)
  To: intel-xe, intel-gfx
  Cc: dibin.moolakadan.subrahmanian, ankit.k.nautiyal, imre.deak,
	chaitanya.kumar.borah

Read PCON capabilities only when it is present. This will prevent
spurious DCPD read failures.

[drm] *ERROR* Failed to read DPCD register 0x92

Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 277b40b13948..8a1c2a37a56b 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -5681,7 +5681,8 @@ intel_dp_update_dfp(struct intel_dp *intel_dp,
 		    intel_dp->dfp.max_tmds_clock,
 		    intel_dp->dfp.pcon_max_frl_bw);
 
-	intel_dp_get_pcon_dsc_cap(intel_dp);
+	if (drm_dp_is_branch(intel_dp->dpcd))
+		intel_dp_get_pcon_dsc_cap(intel_dp);
 }
 
 static bool
-- 
2.25.1


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

end of thread, other threads:[~2025-06-19  3:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 11:45 [PATCH] drm/xe/display: read PCON capability only when present Chaitanya Kumar Borah
2025-06-18 12:52 ` ✓ i915.CI.BAT: success for " Patchwork
2025-06-18 18:43 ` [PATCH] " Imre Deak
2025-06-19  3:08 ` ✗ i915.CI.Full: failure for " Patchwork

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