[Intel-gfx] [PATCH i-g-t 0/2] igt: Add a testsuite to validate VC4 MADV ioctl

Boris Brezillon boris.brezillon at free-electrons.com
Wed Sep 27 11:51:16 UTC 2017


Hello,
    
This patchset adds VC4 specific tests to validate the
DRM_IOCTL_VC4_GEM_MADVISE ioctl.

Note that this series depends on kernel/libdrm code that has not been
accepted yet and is just provided to show reviewers how the ioctl can be
used and what to expect from it.
    
Please do not consider this for inclusion in IGT until the kernel and
libdrm part have been accepted.
    
Thanks,
    
Boris

Boris Brezillon (2):
  igt: Add a helper function to mark BOs purgeable
  igt: Add VC4 purgeable BO tests

 lib/igt_vc4.c            |  12 +++
 lib/igt_vc4.h            |   1 +
 tests/Makefile.sources   |   1 +
 tests/vc4_purgeable_bo.c | 274 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 288 insertions(+)
 create mode 100644 tests/vc4_purgeable_bo.c

-- 
2.11.0



More information about the Intel-gfx mailing list