]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Grab execlist spinlock to avoid post-reset concurrency issues.
authorTomas Elf <tomas.elf@intel.com>
Mon, 19 Oct 2015 15:32:32 +0000 (16:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Oct 2015 17:34:38 +0000 (19:34 +0200)
commitdaf81384e1195d90eb7a754676811d59c56571ad
treeea30fc45fac44b99b0716ce16e068a442a437c00
parent576509e3f7ec5b1f9d8929b442482847adf3ec4b
drm/i915: Grab execlist spinlock to avoid post-reset concurrency issues.

Grab execlist lock when cleaning up execlist queues after GPU reset to avoid
concurrency problems between the context event interrupt handler and the reset
path immediately following a GPU reset.

* v2 (Chris Wilson):
Do execlist check and use simpler form of spinlock functions.

Signed-off-by: Tomas Elf <tomas.elf@intel.com>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c