[igt-dev] [PATCH i-g-t 2/2] tests/psr: Check for PSR entry less frequently
Dhinakaran Pandiyan
dhinakaran.pandiyan at intel.com
Fri Sep 28 04:19:26 UTC 2018
We currently read debugfs every 1 ms, given that it takes about 140 ms
for PSR entry on the CI machines and entry can occur at frame time
intervals, bump the debugfs read interval to 20 ms.
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan 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 355fe627..0ddfb64f 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -39,7 +39,7 @@ static bool psr_active(int debugfs_fd, bool check_active)
bool psr_wait_entry(int debugfs_fd)
{
- return igt_wait(psr_active(debugfs_fd, true), 500, 1);
+ return igt_wait(psr_active(debugfs_fd, true), 500, 20);
}
bool psr_wait_exit(int debugfs_fd)
--
2.17.1
More information about the igt-dev
mailing list