On 06/15/2018 02:27 AM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx> > > 1. Import a dma-buf with the file descriptor provided and export > granted references to the pages of that dma-buf into the array > of grant references. > > 2. Add API to close all references to an imported buffer, so it can be > released by the owner. This is only valid for buffers created with > IOCTL_GNTDEV_DMABUF_IMP_TO_REFS. > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@xxxxxxxx> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>