summaryrefslogtreecommitdiff
path: root/tests/kms_frontbuffer_tracking.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r--tests/kms_frontbuffer_tracking.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 532e658c..a60f1d16 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -722,7 +722,8 @@ static bool psr_is_enabled(void)
char buf[256];
igt_debugfs_read("i915_edp_psr_status", buf);
- return (strstr(buf, "\nActive: yes\n"));
+ return strstr(buf, "\nActive: yes\n") &&
+ strstr(buf, "\nHW Enabled & Active bit: yes\n");
}
static struct timespec fbc_get_last_action(void)