]> 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)
commitdf31544b74ae42f453aa667535c896236c375ca9
tree8479bf77f0897fd9f66808b815c20cee575298a2
parent2cc7870886ac84ecd3b703c5463eef4c0c64cc5e
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