diff options
-rw-r--r-- | tests/kms_fbcon_fbt.c | 2 | ||||
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/kms_fbcon_fbt.c b/tests/kms_fbcon_fbt.c index b01c769c..280ddbd7 100644 --- a/tests/kms_fbcon_fbt.c +++ b/tests/kms_fbcon_fbt.c @@ -189,7 +189,7 @@ static bool psr_is_enabled(int fd) char buf[256]; igt_debugfs_read(fd, "i915_edp_psr_status", buf); - return strstr(buf, "\nActive: yes\n"); + return strstr(buf, "\nHW Enabled & Active bit: yes\n"); } static bool psr_wait_until_enabled(int fd) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 2b85392d..5cba4158 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -781,8 +781,7 @@ static bool psr_is_enabled(void) char buf[256]; debugfs_read("i915_edp_psr_status", buf); - return strstr(buf, "\nActive: yes\n") && - strstr(buf, "\nHW Enabled & Active bit: yes\n"); + return strstr(buf, "\nHW Enabled & Active bit: yes\n"); } static void psr_print_status(void) |