[PATCH v2] lib/igt_psr: Fix PSR active check for DisplayPort connectors
Naladala Ramanaidu
ramanaidu.naladala at intel.com
Fri Mar 21 05:43:45 UTC 2025
Update PSR active check logic to correctly identify active
state for Panel Replay on DisplayPort connectors.
v1: fix warn issues on prev version
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
---
lib/igt_psr.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/igt_psr.c b/lib/igt_psr.c
index 83c21e6ba..1dac8df54 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -122,7 +122,9 @@ static bool psr_active_check(int debugfs_fd, enum psr_mode mode, igt_output_t *o
igt_skip_on(strstr(buf, "PSR sink not reliable: yes"));
- active = strstr(buf, state);
+ active = strstr(buf, state) ||
+ ((mode == PR_MODE || mode == PR_MODE_SEL_FETCH) &&
+ strstr(buf, "SU_STANDBY"));
if (active && output && sink_status_checks()) {
active = psr_active_sink_check(debugfs_fd, output);
--
2.43.0
More information about the igt-dev
mailing list