[Intel-gfx] [PATCH 2/2] drm/i915/selftests: Extend fault handler selftests to all memory regions

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 3 18:10:31 UTC 2020


Quoting Chris Wilson (2020-01-03 12:15:05)
> From: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> 
> Instead of testing individually our new fault handlers, iterate over all
> memory regions and test all from one interface.
> 
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> ---
> We also need an igt_mmap_gpu to truly test lmem.

But not strictly necessary since we compare using discontguous pin_map()
which we have validated as being what the GPU sees.
-Chris


More information about the Intel-gfx mailing list