[Intel-gfx] [PATCH igt 2/2] igt/kms_frontbuffer_tracking: Bump the wait time for FBC

Chris Wilson chris at chris-wilson.co.uk
Thu Jan 25 21:28:49 UTC 2018


It is taking longer than a couple of seconds for the FBC worker to be
executed after scheduling; and then will take a minimum of a vblank
interval for it activate. So wait longer to reduce the flip flops.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/kms_frontbuffer_tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 79e4f5862..fb5627535 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -920,7 +920,7 @@ static bool fbc_stride_not_supported(void)
 
 static bool fbc_wait_until_enabled(void)
 {
-	return igt_wait(fbc_is_enabled(IGT_LOG_DEBUG), 2000, 1);
+	return igt_wait(fbc_is_enabled(IGT_LOG_DEBUG), 5000, 8);
 }
 
 static bool psr_wait_until_enabled(void)
-- 
2.15.1



More information about the Intel-gfx mailing list