drm/i915: Spinlocks in tasklets can use spin_(un)lock_irq
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 21 Mar 2017 10:55:11 +0000 (10:55 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 21 Mar 2017 15:04:55 +0000 (15:04 +0000)
commit9f7886d07f36f9be23c9bcc526b7f9dae65db8c5
tree79c08a20d69705afd966ac99d69d8a65f7f6f1d6
parentfe085f13c7901203445fd2ab26c0f499313b8258
drm/i915: Spinlocks in tasklets can use spin_(un)lock_irq

The tasklets callbacks are only called from tasklet context so
it is safe do to this.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170321105511.18269-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_guc_submission.c
drivers/gpu/drm/i915/intel_lrc.c