[PATCH v4 07/19] drm/i915/psr: Call intel_psr_init_dpcd in intel_dp_detect

Jouni Högander jouni.hogander at intel.com
Tue Apr 2 09:49:59 UTC 2024


Currently panel replay dpcd capability isn't properly checked after
plugging in DP panel. Fix this by calling intel_psr_init_dpcd in
intel_dp_detect.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/i915/display/intel_dp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index b393ddbb7b35..b8976bb67510 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -5744,6 +5744,8 @@ intel_dp_detect(struct drm_connector *connector,
 
 	intel_dp_mst_configure(intel_dp);
 
+	intel_psr_init_dpcd(intel_dp);
+
 	/*
 	 * TODO: Reset link params when switching to MST mode, until MST
 	 * supports link training fallback params.
-- 
2.34.1



More information about the Intel-gfx mailing list