RFC: unpinned DMA-buf exporting
Christian König
ckoenig.leichtzumerken at gmail.com
Fri Mar 9 19:11:40 UTC 2018
This set of patches adds an option invalidate_mappings callback to each DMA-buf attachment which can be filled in by the importer.
This callback allows the exporter to provided the DMA-buf content without pinning it. The reservation objects lock acts as synchronization point for buffer moves and creating mappings.
This set includes an implementation for amdgpu which should be rather easily portable to other DRM drivers.
Please comment,
Christian.
More information about the amd-gfx
mailing list