]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Serialise write to scratch with its vma binding
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Oct 2019 19:36:20 +0000 (20:36 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Oct 2019 21:42:31 +0000 (22:42 +0100)
commitcd9ba7b6e479ee5f71070f0c095f185e7cdc2eac
tree8479bf77f0897fd9f66808b815c20cee575298a2
parent54895010a893cdbf0aaf34fbd7719d750b557eb2
drm/i915/selftests: Serialise write to scratch with its vma binding

Add the missing serialisation on the request for a write into a vma to
wait until that vma is bound before being executed by the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191011193620.14026-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_workarounds.c