Re: [Intel-gfx] [PATCH 1/5] igt/gem_mmap_wc: Exercise mmap(wc) interface

2014-11-17 Thread Daniel Vetter
On Mon, Nov 17, 2014 at 11:37:19AM +, Chris Wilson wrote: > +/** > + * gem_mmap__wc: > + * @fd: open i915 drm file descriptor > + * @handle: gem buffer object handle > + * @offset: offset in the gem buffer of te mmap arena > + * @size: size of the mmap arena > + * @prot: memory protection bits

Re: [Intel-gfx] [PATCH 1/5] igt/gem_mmap_wc: Exercise mmap(wc) interface

2014-11-17 Thread Chris Wilson
On Mon, Nov 17, 2014 at 11:37:19AM +, Chris Wilson wrote: > Signed-off-by: Chris Wilson > --- > lib/ioctl_wrappers.c | 81 +++ > lib/ioctl_wrappers.h | 5 + > tests/.gitignore | 1 + > tests/Makefile.am | 2 + > tests/Makefile.sources | 1 + > tests/gem_mmap_wc

[Intel-gfx] [PATCH 1/5] igt/gem_mmap_wc: Exercise mmap(wc) interface

2014-11-17 Thread Chris Wilson
Signed-off-by: Chris Wilson --- lib/ioctl_wrappers.c | 81 +++ lib/ioctl_wrappers.h | 5 + tests/.gitignore | 1 + tests/Makefile.am | 2 + tests/Makefile.sources | 1 + tests/gem_mmap_wc.c| 370 + 6 files changed