]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Check the virtual still matches upon locking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2021 11:51:43 +0000 (11:51 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Jan 2021 09:18:05 +0000 (09:18 +0000)
commiteaba35b3d256741ebb2fc3130fb765acf56d483b
tree8e97cdb386f1a4ec5616f7d4ec0a719880258009
parent83cca9c286996a28424492e01ef6136fcd610e8c
drm/i915/gt: Check the virtual still matches upon locking

If another sibling is able to claim the virtual request, by the time we
inspect the request under the lock it may no longer match the local
engine.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2877
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210104115145.24460-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_execlists_submission.c