Re: [PATCH 2/9] dma-buf: add dynamic DMA-buf handling v7

2019-05-08 Thread Daniel Vetter
On Tue, May 07, 2019 at 10:13:31AM +0200, Christian König wrote: > On the exporter side we add optional explicit pinning callbacks. If those > callbacks are implemented the framework no longer caches sg tables and the > map/unmap callbacks are always called with the lock of the reservation object >

[PATCH 2/9] dma-buf: add dynamic DMA-buf handling v7

2019-05-07 Thread Christian König
On the exporter side we add optional explicit pinning callbacks. If those callbacks are implemented the framework no longer caches sg tables and the map/unmap callbacks are always called with the lock of the reservation object held. On the importer side we add an optional invalidate callback. This