RFC: Unpinned DMA-buf handling

2020-02-17 Thread Christian König
Hi everyone, hopefully the last iteration of those patches. For now I've addressed the issue of unmapping imported BOs from the amdgpu page tables immediately by locking the page tables in place. For HMM handling we are getting the ability to invalidate BOs without locking the VM anyway, so th

Re: RFC: Unpinned DMA-buf handling

2019-11-05 Thread Daniel Vetter
On Tue, Oct 29, 2019 at 11:40:44AM +0100, Christian König wrote: > The basic idea stayed the same since the last version of those patches. > The exporter can provide explicit pin/unpin functions and the importer a > move_notify callback. This allows us to avoid pinning buffers while > importers hav

RFC: Unpinned DMA-buf handling

2019-10-29 Thread Christian König
The basic idea stayed the same since the last version of those patches. The exporter can provide explicit pin/unpin functions and the importer a move_notify callback. This allows us to avoid pinning buffers while importers have a mapping for them. In difference to the last version the locking c