diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-12 13:14:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-07-12 13:21:38 +0100 |
commit | 6e5c9915a80d791ea45a3e5d2a3cb7e5dc5f06f1 (patch) | |
tree | cc4b1fe1f785d2d7bc401b0bb02d444837922421 /tests/i915/gem_exec_schedule.c | |
parent | dffc233ae25866fa7a632b6237fee43dbbaeaf32 (diff) |
i915/gem_exec_schedule: Trim preempt-engines workload
We don't need several thousand requests, timeslicing across 64 contexts
to verifying that we can reorder contexts within contexts, so limit it
to a couple of requests along each context to exercise promotion.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_exec_schedule.c')
-rw-r--r-- | tests/i915/gem_exec_schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_exec_schedule.c b/tests/i915/gem_exec_schedule.c index 0e036250..7e900b2c 100644 --- a/tests/i915/gem_exec_schedule.c +++ b/tests/i915/gem_exec_schedule.c @@ -1526,7 +1526,7 @@ static void preempt_engines(int i915, } gem_context_set_param(i915, ¶m); - for (int n = MIN_PRIO; n <= MAX_PRIO; n++) { + for (int n = -I915_EXEC_RING_MASK; n <= I915_EXEC_RING_MASK; n++) { unsigned int engine = n & I915_EXEC_RING_MASK; gem_context_set_priority(i915, param.ctx_id, n); |