]> 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)
commitf2085c8e950d536c7982182b0c9c015804011dd2
tree9780af1e1fdf4b80c7234c496916ed361ceb819a
parent8a9a982767b7c89b2f23290e4f0f21f194b79dfe
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