drm/i915/selftests: add write-dword test for LMEM
authorMatthew Auld <matthew.auld@intel.com>
Fri, 25 Oct 2019 15:37:25 +0000 (16:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Oct 2019 21:55:49 +0000 (22:55 +0100)
commit340be48f2c5a3c099ee4a20586f706422d453417
tree507fe766e3c6b0130584cf1e9164e8b93327a8d6
parent01377a0d7e6648b050588cf1a6f71a5d8e6ad2b4
drm/i915/selftests: add write-dword test for LMEM

Simple test writing to dwords across an object, using various engines in
a randomized order, checking that our writes land from the cpu.

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