aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-04-12 16:48:42 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-04-28 08:58:15 +0100
commita3662830e1e120e9950072a48d75a61ed921ad4a (patch)
tree028f11125f4b5e4d5705fb70a7217930ce0cba93 /drivers/gpu/drm/i915/intel_ringbuffer.h
parentdrm/i915: Defer context state allocation for legacy ring submission (diff)
downloadlinux-dev-a3662830e1e120e9950072a48d75a61ed921ad4a.tar.xz
linux-dev-a3662830e1e120e9950072a48d75a61ed921ad4a.zip
drm/i915/guc: Fix sleep under spinlock during reset
Looks like intel_guc_reset had the ability to sleep under the uncore spinlock since forever but it wasn't detected until the recent changes annotated the wait for register with might_sleep. I have fixed it by removing holding of the uncore spinlock over the call to gen6_hw_domain_reset, since I do not see that is really needed. But there is always a possibility I am missing some nasty detail so please double check. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Oscar Mateo <oscar.mateo@intel.com> Acked-by: Michel Thierry <michel.thierry@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions