mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-27 01:36:17 +00:00
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>
This commit is contained in:
parent
c1fe951b8a
commit
229110442a
@ -722,7 +722,8 @@ static bool psr_is_enabled(void)
|
|||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
||||||
igt_debugfs_read("i915_edp_psr_status", buf);
|
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)
|
static struct timespec fbc_get_last_action(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user