[igt-dev] [RFC 0/4] Improve mmap interface coverage

Antonio Argenziano antonio.argenziano at intel.com
Tue Mar 12 21:57:34 UTC 2019


Adding some negative interface tests to the mmap IOCTL. The tests introduced
here supply some invalid parameters to the MMAP IOCTL and expect an error
in return.

The series also adds a new test for prime mmap correctness. The idea was to add
tests for all coherency correctness checks but the tests but all those I looked
at had a WC subtest. Since I probably missed something sending this as RFC :).

Antonio Argenziano (4):
  tests/i915/gem_mmap_gtt: Add invalid parameters test
  tests/i915/gem_mmap: Add invalid parameters tests
  tests/i915/gem_mmap_wc: Add invalid params tests
  tests/i915/prime_mmap: Add WC correctness test

 tests/i915/gem_mmap.c     | 18 ++++++++++++++
 tests/i915/gem_mmap_gtt.c | 12 +++++++++
 tests/i915/gem_mmap_wc.c  | 52 +++++++++++++++++++++++++++++++++++++++
 tests/prime_mmap.c        | 36 +++++++++++++++++++++++++--
 4 files changed, 116 insertions(+), 2 deletions(-)

-- 
2.20.1



More information about the igt-dev mailing list