[PATCH i-g-t 2/4] i915/gem_exec_nop: Reduce runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reduce the upper timeout for stress tests from 150s to a mere 20s, and
quick tests to 2s.

Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
---
 tests/i915/gem_exec_nop.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/i915/gem_exec_nop.c b/tests/i915/gem_exec_nop.c
index dbedb3561..9a2efd32c 100644
--- a/tests/i915/gem_exec_nop.c
+++ b/tests/i915/gem_exec_nop.c
@@ -865,41 +865,41 @@ igt_main
 	}
 
 	igt_subtest("basic-series")
-		series(device, handle, 5);
+		series(device, handle, 2);
 
 	igt_subtest("basic-parallel")
-		parallel(device, handle, 5);
+		parallel(device, handle, 2);
 
 	igt_subtest("basic-sequential")
-		sequential(device, handle, 0, 5);
+		sequential(device, handle, 0, 2);
 
 	for (e = intel_execution_engines; e->name; e++) {
 		igt_subtest_f("%s", e->name)
 			single(device, handle, eb_ring(e), e->name);
 		igt_subtest_f("signal-%s", e->name)
-			fence_signal(device, handle, eb_ring(e), e->name, 5);
+			fence_signal(device, handle, eb_ring(e), e->name, 2);
 	}
 
 	igt_subtest("signal-all")
-		fence_signal(device, handle, ALL_ENGINES, "all", 150);
+		fence_signal(device, handle, ALL_ENGINES, "all", 20);
 
 	igt_subtest("series")
-		series(device, handle, 150);
+		series(device, handle, 20);
 
 	igt_subtest("parallel")
-		parallel(device, handle, 150);
+		parallel(device, handle, 20);
 
 	igt_subtest("sequential")
-		sequential(device, handle, 0, 150);
+		sequential(device, handle, 0, 20);
 
 	igt_subtest("forked-sequential")
-		sequential(device, handle, FORKED, 150);
+		sequential(device, handle, FORKED, 20);
 
 	igt_subtest("chained-sequential")
-		sequential(device, handle, FORKED | CHAINED, 150);
+		sequential(device, handle, FORKED | CHAINED, 20);
 
 	igt_subtest("context-sequential")
-		sequential(device, handle, FORKED | CONTEXT, 150);
+		sequential(device, handle, FORKED | CONTEXT, 20);
 
 	igt_subtest_group {
 		igt_fixture {
-- 
2.25.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux