Skip to content

Commit

Permalink
drm/i915: Use intel_gt_pm_put_async in GuC submission path
Browse files Browse the repository at this point in the history
GuC submission path can be called from an interrupt context
and so should use a worker to avoid holding a mutex.

References: 07779a7 ("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
  • Loading branch information
Stuart Summers authored and Chris Wilson committed Nov 20, 2019
1 parent e435c60 commit e18417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit e18417b

Please sign in to comment.