diff options
author | John Harrison <John.C.Harrison@Intel.com> | 2016-05-06 10:59:02 +0100 |
---|---|---|
committer | John Harrison <John.C.Harrison@Intel.com> | 2016-06-28 17:19:32 +0100 |
commit | a21a4f47f5e9cf4d5ca5be4784cf4571157c01bd (patch) | |
tree | f2fc4ebeef9dc727360e5dd8151c37bc186ba698 | |
parent | a19e0b93201c97e95dcc19e894b63e0abeeb4dea (diff) |
Mush: fix broken count
-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); |