[PATCH] drm/xe/display: read PCON capability only when present
Chaitanya Kumar Borah
chaitanya.kumar.borah at intel.com
Wed Jun 18 11:45:53 UTC 2025
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 at 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
More information about the Intel-xe
mailing list