[PATCH] tests/kms_vrr: Avoid race between freeing display reseources

Jeevan B jeevan.b at intel.com
Tue Sep 10 05:29:06 UTC 2024


While freeing display resources, that schedules driver to execute
panel power off, which races while scheduling next immediate test.
giving time after freeing resources allows driver to avoid race
between next non blocking atomic commit and panel power off from
previous test.

Signed-off-by: Jeevan B <jeevan.b at intel.com>
---
 tests/kms_vrr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index 36a22eebe..3c6e06a7f 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -410,7 +410,7 @@ do_flip(data_t *data, igt_fb_t *fb)
 {
 	int ret;
 
-	igt_set_timeout(1, "Scheduling page flip\n");
+	igt_set_timeout(2, "Scheduling page flip\n");
 
 	igt_plane_set_fb(data->primary, fb);
 
-- 
2.25.1



More information about the igt-dev mailing list