[PATCH] drm/i915/psr: Check link status on psr_debug write

Jouni Högander jouni.hogander at intel.com
Wed Oct 9 08:37:27 UTC 2024


This patch is for demonstrating PSR problem with certain panels. I.e. panel
is stating link being not ok in it's DP_PHY_DPRX register.

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

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index e3357f3b5c705..5a0490e472ef5 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -3013,6 +3013,7 @@ int intel_psr_debug_set(struct intel_dp *intel_dp, u64 val)
 	if (old_mode != mode || old_disable_bits != disable_bits)
 		ret = intel_psr_fastset_force(display);
 
+	intel_dp_check_link_state(intel_dp);
 	return ret;
 }
 
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list