]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Add the usual batch vma managements to st_workarounds
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 26 Aug 2019 07:21:22 +0000 (08:21 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Aug 2019 09:21:51 +0000 (10:21 +0100)
commitddebb90ece8b3f3a694c61446c2e66afcff342a5
tree34018b7873454d13df39d1d05f733f6232a46a03
parent850a052d041ab356a70cdf1e24076a3d19811110
drm/i915/selftests: Add the usual batch vma managements to st_workarounds

To properly handle asynchronous migration of batch objects, we need to
couple the fences on the incoming batch into the request and should not
assume that they always start idle.

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/20190826072149.9447-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_workarounds.c