diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-24 17:04:25 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-25 11:34:56 -0300 |
commit | 229110442a4814b87859e2833688feb2881a2274 (patch) | |
tree | e0603ca890ba44d1fc98fe3d72bd6fa04e90b30f /tests | |
parent | c1fe951b8a08a4a42ede295cfa478cca8e230c22 (diff) |
kms_frontbuffer_tracking: wait for PSR to be HW Enabled & Active
Make sure PSR is fully there.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 3 |
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) |