diff options
-rw-r--r-- | drivers/gpu/drm/i915/i915_scheduler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_scheduler.c b/drivers/gpu/drm/i915/i915_scheduler.c index 4fde0829e260..ba9d9a13a0d5 100644 --- a/drivers/gpu/drm/i915/i915_scheduler.c +++ b/drivers/gpu/drm/i915/i915_scheduler.c @@ -1400,6 +1400,8 @@ i915_scheduler_preemption_postprocess(struct intel_engine_cs *engine) } else if (!WARN_ON(!I915_SQS_IS_FLYING(node))) { preempted += 1; node->status = I915_SQS_PREEMPTED; + scheduler->counts[req->engine->id].flying--; + scheduler->counts[req->engine->id].queued++; trace_i915_scheduler_unfly(engine, node); trace_i915_scheduler_node_state_change(engine, node); |