]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Remove accidental serialization between gpu_fill
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Aug 2019 16:17:25 +0000 (17:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 28 Aug 2019 07:32:02 +0000 (08:32 +0100)
commit7022fa8dd0fb4ff7ac2dc7b9a8ad9248fffea93d
tree9780af1e1fdf4b80c7234c496916ed361ceb819a
parent47191cff0463dde7f841fae6a0aef51085e420f9
drm/i915/selftests: Remove accidental serialization between gpu_fill

Upon object creation for live_gem_contexts, we fill the object with
known scratch and flush it out of the CPU cache. Before performing the
GPU fill, we don't need to flush it again and so avoid serialising with
previous fills.

However, we do need some throttling on the internal interfaces if we do
not want to run out of memory!

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