[PATCH 1/3] drm: Wait on the reservation object when sync'ing dmabufs

2016-06-19 Thread Daniel Vetter
On Sat, Jun 18, 2016 at 04:20:47PM +0100, Chris Wilson wrote: > Rendering operations to the dma-buf are tracked implicitly via the > reservation_object (dmabuf->resv). The dmabuf sync ioctl allows > userspace to wait upon outstanding rendering and prepare the object for > CPU access (provided by th

[PATCH 1/3] drm: Wait on the reservation object when sync'ing dmabufs

2016-06-18 Thread Chris Wilson
Rendering operations to the dma-buf are tracked implicitly via the reservation_object (dmabuf->resv). The dmabuf sync ioctl allows userspace to wait upon outstanding rendering and prepare the object for CPU access (provided by the prime dma_buf_ops.begin_cpu_access). Fill this out for the generic d