diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-14 16:08:07 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-14 19:14:49 -0300 |
commit | 64590c7b768dc8d8dd962f812d5ff5a39e7e8b54 (patch) | |
tree | 074f127d6c1004c890b4b13ae9e12c28b2e1cf60 | |
parent | f4db3b18841263f8f617a9f7f0aaf14fab7196d1 (diff) |
kms_frontbuffer_tracking: reduce the FBC wait timeout to 2s
Just like we did for PSR, let's do it for FBC. FBC gets reenabled in
just 50ms, so the 5000ms timeout is huge. On the other hand, we only
pay the 5000ms timeout full price 9 times when running
kms_frontbuffer_tracking --fbc-only, so this change shouldn't save too
much time.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index d4dadcef..137ff40f 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -809,7 +809,7 @@ static bool fbc_is_compressing(void) static bool fbc_wait_for_compression(void) { - return igt_wait(fbc_is_compressing(), 5000, 1); + return igt_wait(fbc_is_compressing(), 2000, 1); } static void fbc_setup_compressing(void) @@ -834,7 +834,7 @@ static bool fbc_not_enough_stolen(void) static bool fbc_wait_until_enabled(void) { - return igt_wait(fbc_is_enabled(), 5000, 1); + return igt_wait(fbc_is_enabled(), 2000, 1); } static bool psr_wait_until_enabled(void) |