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:
parent
e435c608e8
commit
e18417b48b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue