[PATCH i-g-t v2 0/3] igt: Add a testsuite to validate VC4 MADV ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Chris, I still haven't exposed a debugfs file to trigger a purge. I'd
like to sync with Eric before doing that.

Eric, I didn't add your "Queue up a big rendering job and mark BO
purgeable" test (still need to figure out how to do that :-)). That's
on my TODO list for a v3.
    
Thanks,
    
Boris

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

 lib/igt_vc4.c            |  27 +++++
 lib/igt_vc4.h            |   2 +
 tests/Makefile.sources   |   1 +
 tests/meson.build        |   1 +
 tests/vc4_purgeable_bo.c | 265 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 296 insertions(+)
 create mode 100644 tests/vc4_purgeable_bo.c

-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux