OSDN Git Service

drm/i915/selftests: Compare user mmap against GPU
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 3 Jan 2020 20:41:37 +0000 (20:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 4 Jan 2020 18:03:54 +0000 (18:03 +0000)
commit0658186283ba04867307ad5b83420370ce767fc5
treefef988a4d69dd76386084157e633825c551fcc2f
parent9771d5f729661470dd98740cddfb4a10673b3f8b
drm/i915/selftests: Compare user mmap against GPU

Check that the user writes into their mmap are visible on the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Acked-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200103204137.2131004-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c