[igt-dev] [PATCH i-g-t 0/2] Tests for V3D/VC4 Mmap BO IOCTLs

Maíra Canal mcanal at igalia.com
Fri Dec 23 21:44:33 UTC 2022


Currently, the Mmap BO IOCTL is not completely covered by the existing tests:
V3D only tests invalid BO handlers and VC4 doesn't have tests for this IOCTL.
Therefore, create tests for the Mmap BO IOCTL for the V3D and VC4. For both
drivers, the sub-tests will test invalid parameters and also the consistency
of newly mapped BOs.

Best Regards,
- Maíra Canal

Maíra Canal (2):
  tests/v3d_mmap: Improve tests from V3D's Mmap BO IOCTL
  tests/vc4_mmap: Create test for VC4's Mmap BO IOCTL

 lib/igt_v3d.c             |  2 ++
 lib/igt_vc4.c             |  2 ++
 tests/v3d/v3d_mmap.c      | 34 ++++++++++++++++++++++++
 tests/v3d_ci/v3d.testlist |  2 ++
 tests/vc4/meson.build     |  1 +
 tests/vc4/vc4_mmap.c      | 55 +++++++++++++++++++++++++++++++++++++++
 tests/vc4_ci/vc4.testlist |  2 ++
 7 files changed, 98 insertions(+)
 create mode 100644 tests/vc4/vc4_mmap.c

-- 
2.38.1



More information about the igt-dev mailing list