Commit e18417b4 authored by Stuart Summers's avatar Stuart Summers Committed by Chris Wilson

drm/i915: Use intel_gt_pm_put_async in GuC submission path

GuC submission path can be called from an interrupt context
and so should use a worker to avoid holding a mutex.

References: 07779a76 ("drm/i915: Mark up the calling context for intel_wakeref_put()")
Signed-off-by: default avatarStuart Summers <stuart.summers@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191120211321.88021-1-stuart.summers@intel.com
parent e435c608
......@@ -537,7 +537,7 @@ static void schedule_out(struct i915_request *rq)
{
trace_i915_request_out(rq);
intel_gt_pm_put(rq->engine->gt);
intel_gt_pm_put_async(rq->engine->gt);
i915_request_put(rq);
}
......
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