drm/i915: Use intel_gt_pm_put_async in GuC submission path
authorStuart Summers <stuart.summers@intel.com>
Wed, 20 Nov 2019 21:13:21 +0000 (13:13 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Nov 2019 21:23:10 +0000 (21:23 +0000)
commite18417b48b4bcf5c2d27993ec2e7d075968a0744
tree8ed2ed68044be6545ea039c73e0f30e01f42b364
parente435c608e89a23aaf0c71280f3be50775d7fdf23
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: 07779a76ee1f ("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
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c