[igt-dev] [PATCH i-g-t] i915/gem_mmap_gtt: Skip if we have no aperture and no mmap_gtt

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Wed Nov 6 12:39:11 UTC 2019


Quoting Chris Wilson (2019-11-05 16:59:31)
> If the device does not expose an aperture for indirect access with
> detiling functionality, the kernel rejects an attempt to create such a
> mapping with -ENODEV. If the ioctl is not supported, we can skip all of
> our mmap_gtt specific tests.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas


More information about the igt-dev mailing list