[Intel-gfx] [PATCH igt] dma-buf mmap
Tiago Vignatti
tiago.vignatti at intel.com
Thu Aug 27 15:48:49 PDT 2015
Hi,
Here's the igt side of the work I sent yesterday to dri-devel:
http://lists.freedesktop.org/archives/dri-devel/2015-August/089263.html
I've addressed all the commentaries made in the previous igt patchset and I
believe that all tests now run fine in older kernels that don't support
dma-buf mmap functionality -- hint hint could be applied right now in igt main
repo hint hint :)
Tiago
Rob Bradford (1):
prime_mmap: Add new test for calling mmap() on dma-buf fds
Tiago Vignatti (4):
lib: Add gem_userptr and __gem_userptr helpers
prime_mmap: Add basic tests to write in a bo using CPU
tests: Add kms_mmap_write_crc for cache coherency tests
tests/kms_mmap_write_crc: Demonstrate the need for end_cpu_access
benchmarks/gem_userptr_benchmark.c | 55 +----
lib/ioctl_wrappers.c | 66 +++++
lib/ioctl_wrappers.h | 17 ++
tests/.gitignore | 2 +
tests/Makefile.sources | 2 +
tests/gem_userptr_blits.c | 104 ++------
tests/kms_mmap_write_crc.c | 298 ++++++++++++++++++++++
tests/prime_mmap.c | 494 +++++++++++++++++++++++++++++++++++++
8 files changed, 911 insertions(+), 127 deletions(-)
create mode 100644 tests/kms_mmap_write_crc.c
create mode 100644 tests/prime_mmap.c
--
2.1.0
More information about the Intel-gfx
mailing list