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: 07779a76ee ("drm/i915: Mark up the calling context for intel_wakeref_put()")
Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191120211321.88021-1-stuart.summers@intel.com
This commit is contained in:
Stuart Summers 2019-11-20 13:13:21 -08:00 committed by Chris Wilson
parent e435c608e8
commit e18417b48b
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ static void schedule_out(struct i915_request *rq)
{ {
trace_i915_request_out(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); i915_request_put(rq);
} }