[PATCH igt v6 4/6] lib: Add prime_sync_start and prime_sync_end helpers

2015-12-17 Thread Daniel Vetter
On Wed, Dec 16, 2015 at 08:25:41PM -0200, Tiago Vignatti wrote: > This patch adds dma-buf mmap synchronization ioctls that can be used by tests > for cache coherency management e.g. when CPU and GPU domains are being > accessed > through dma-buf at the same time. > > Signed-off-by: Tiago

[PATCH igt v6 4/6] lib: Add prime_sync_start and prime_sync_end helpers

2015-12-16 Thread Tiago Vignatti
This patch adds dma-buf mmap synchronization ioctls that can be used by tests for cache coherency management e.g. when CPU and GPU domains are being accessed through dma-buf at the same time. Signed-off-by: Tiago Vignatti --- lib/ioctl_wrappers.c | 26 ++