commit | 2399a4a6f5dff645d7890135db1c965592e1b8f3 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri May 18 10:02:12 2018 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Sat May 19 12:50:58 2018 +0100 |
tree | a1f2fb5e7de7db618a23f54dc20ed81d97c7671e | |
parent | fe0c493538f42ee1cbc4701dc6f9eb2b82d856cf [diff] |
drm/i915: Allow init_breadcrumbs to be used from irq context In order to support engine reset from irq (timer) context, we need to be able to re-initialise the breadcrumbs. So we need to promote the plain spin_lock_irq to a safe spin_lock_irqsave. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180518090212.5349-3-chris@chris-wilson.co.uk