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

Maíra Canal mcanal at igalia.com
Thu Dec 29 19:59:59 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

---
v1 -> v2:
- Remove comment about coherency (Melissa Wen).

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      | 33 ++++++++++++++++++++++++
 tests/v3d_ci/v3d.testlist |  2 ++
 tests/vc4/meson.build     |  1 +
 tests/vc4/vc4_mmap.c      | 53 +++++++++++++++++++++++++++++++++++++++
 tests/vc4_ci/vc4.testlist |  2 ++
 7 files changed, 95 insertions(+)
 create mode 100644 tests/vc4/vc4_mmap.c

-- 
2.38.1



More information about the igt-dev mailing list