diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-27 09:01:12 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-01-27 10:09:48 +0000 |
commit | 252001375f92cd20a157406baf9a846b17224cbb (patch) | |
tree | d2387fe45e202c438f292a7ed33b6ca1250f0883 /tests/i915/gem_sync.c | |
parent | 78784bf79bec9f6ae9a3a12f8b4328de01985ccd (diff) |
i915/gem_sync: Reduce runtime
Reduce the upper timeout for stress tests from 150s to a mere 20s, and
quick tests to 2s.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_sync.c')
-rw-r--r-- | tests/i915/gem_sync.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/tests/i915/gem_sync.c b/tests/i915/gem_sync.c index 0010ac10..2ef55ecc 100644 --- a/tests/i915/gem_sync.c +++ b/tests/i915/gem_sync.c @@ -1224,67 +1224,67 @@ igt_main for (e = intel_execution_engines; e->name; e++) { igt_subtest_f("%s", e->name) - sync_ring(fd, eb_ring(e), 1, 150); + sync_ring(fd, eb_ring(e), 1, 20); igt_subtest_f("idle-%s", e->name) - idle_ring(fd, eb_ring(e), 150); + idle_ring(fd, eb_ring(e), 20); igt_subtest_f("active-%s", e->name) - active_ring(fd, eb_ring(e), 150); + active_ring(fd, eb_ring(e), 20); igt_subtest_f("wakeup-%s", e->name) - wakeup_ring(fd, eb_ring(e), 150, 1); + wakeup_ring(fd, eb_ring(e), 20, 1); igt_subtest_f("active-wakeup-%s", e->name) - active_wakeup_ring(fd, eb_ring(e), 150, 1); + active_wakeup_ring(fd, eb_ring(e), 20, 1); igt_subtest_f("double-wakeup-%s", e->name) - wakeup_ring(fd, eb_ring(e), 150, 2); + wakeup_ring(fd, eb_ring(e), 20, 2); igt_subtest_f("store-%s", e->name) - store_ring(fd, eb_ring(e), 1, 150); + store_ring(fd, eb_ring(e), 1, 20); igt_subtest_f("switch-%s", e->name) - switch_ring(fd, eb_ring(e), 1, 150); + switch_ring(fd, eb_ring(e), 1, 20); igt_subtest_f("forked-switch-%s", e->name) - switch_ring(fd, eb_ring(e), ncpus, 150); + switch_ring(fd, eb_ring(e), ncpus, 20); igt_subtest_f("many-%s", e->name) - store_many(fd, eb_ring(e), 150); + store_many(fd, eb_ring(e), 20); igt_subtest_f("forked-%s", e->name) - sync_ring(fd, eb_ring(e), ncpus, 150); + sync_ring(fd, eb_ring(e), ncpus, 20); igt_subtest_f("forked-store-%s", e->name) - store_ring(fd, eb_ring(e), ncpus, 150); + store_ring(fd, eb_ring(e), ncpus, 20); } igt_subtest("basic-each") - sync_ring(fd, ALL_ENGINES, 1, 5); + sync_ring(fd, ALL_ENGINES, 1, 2); igt_subtest("basic-store-each") - store_ring(fd, ALL_ENGINES, 1, 5); + store_ring(fd, ALL_ENGINES, 1, 2); igt_subtest("basic-many-each") - store_many(fd, ALL_ENGINES, 5); + store_many(fd, ALL_ENGINES, 2); igt_subtest("switch-each") - switch_ring(fd, ALL_ENGINES, 1, 150); + switch_ring(fd, ALL_ENGINES, 1, 20); igt_subtest("forked-switch-each") - switch_ring(fd, ALL_ENGINES, ncpus, 150); + switch_ring(fd, ALL_ENGINES, ncpus, 20); igt_subtest("forked-each") - sync_ring(fd, ALL_ENGINES, ncpus, 150); + sync_ring(fd, ALL_ENGINES, ncpus, 20); igt_subtest("forked-store-each") - store_ring(fd, ALL_ENGINES, ncpus, 150); + store_ring(fd, ALL_ENGINES, ncpus, 20); igt_subtest("active-each") - active_ring(fd, ALL_ENGINES, 150); + active_ring(fd, ALL_ENGINES, 20); igt_subtest("wakeup-each") - wakeup_ring(fd, ALL_ENGINES, 150, 1); + wakeup_ring(fd, ALL_ENGINES, 20, 1); igt_subtest("active-wakeup-each") - active_wakeup_ring(fd, ALL_ENGINES, 150, 1); + active_wakeup_ring(fd, ALL_ENGINES, 20, 1); igt_subtest("double-wakeup-each") - wakeup_ring(fd, ALL_ENGINES, 150, 2); + wakeup_ring(fd, ALL_ENGINES, 20, 2); igt_subtest("basic-all") - sync_all(fd, 1, 5); + sync_all(fd, 1, 2); igt_subtest("basic-store-all") - store_all(fd, 1, 5); + store_all(fd, 1, 2); igt_subtest("all") - sync_all(fd, 1, 150); + sync_all(fd, 1, 20); igt_subtest("store-all") - store_all(fd, 1, 150); + store_all(fd, 1, 20); igt_subtest("forked-all") - sync_all(fd, ncpus, 150); + sync_all(fd, ncpus, 20); igt_subtest("forked-store-all") - store_all(fd, ncpus, 150); + store_all(fd, ncpus, 20); igt_subtest_group { igt_fixture { @@ -1298,7 +1298,7 @@ igt_main for (e = intel_execution_engines; e->name; e++) { igt_subtest_f("preempt-%s", e->name) - preempt(fd, eb_ring(e), ncpus, 150); + preempt(fd, eb_ring(e), ncpus, 20); } } |