[PATCH i-g-t v3 6/7] lib/igt_psr: Fix PR_MODE sink support check
Jouni Högander
jouni.hogander at intel.com
Fri Jun 14 05:38:38 UTC 2024
Panel Replay supporting PR_MODE_SEL_FETCH always support PR_MODE as
well. Change sink support check accordingly.
Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
lib/igt_psr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/igt_psr.c b/lib/igt_psr.c
index 012521fc5..42012243d 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -270,7 +270,7 @@ bool psr_sink_support(int device, int debugfs_fd, enum psr_mode mode, igt_output
(strstr(line, "PSR = yes") &&
(strstr(line, "[0x03]") || strstr(line, "[0x04]")));
case PR_MODE:
- return strstr(line, "Panel Replay = yes, Panel Replay Selective Update = no");
+ return strstr(line, "Panel Replay = yes");
case PR_MODE_SEL_FETCH:
return strstr(line, "Panel Replay = yes, Panel Replay Selective Update = yes");
default:
--
2.34.1
More information about the igt-dev
mailing list