[igt-dev] [PATCH i-g-t 3/3] tests/i915/gem_mmap_offset: remove local mmap calls

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 5 12:16:35 UTC 2019


Quoting Zbigniew Kempczyński (2019-12-05 07:58:00)
> From: Lukasz Kalamarz <lukasz.kalamarz at intel.com>
> 
> Use gem_mman functions instead local versions.
> Limit available memory for 'clear' test to run it on lmem correctly.

I advise we don't do this. The lesson learnt with gem_mmap_wc.c et al
is that we want the dedicated tests for particular ioctls to be
independent of the library wrappers -- so that we do not inadvertently
change the basic ioctl tests.
-Chris


More information about the igt-dev mailing list