Commit 6e5c9915 authored by Chris Wilson's avatar Chris Wilson 🤔

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's avatarChris Wilson <>
Acked-by: default avatarMika Kuoppala <>
parent dffc233a
Pipeline #175778 passed with stages
in 10 minutes and 2 seconds
......@@ -1526,7 +1526,7 @@ static void preempt_engines(int i915,
gem_context_set_param(i915, &param);
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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment