Re: [PATCH v5 1/5] dma-buf: Add dma-buf heaps framework

2019-06-07 Thread Brian Starkey
Hi John, I think it's looking good. I spotted a couple of error paths which I think are missing cleanup, no complaints about the API though. On Fri, Jun 07, 2019 at 03:07:15AM +, John Stultz wrote: > From: "Andrew F. Davis" > > This framework allows a unified userspace interface for

[PATCH v5 1/5] dma-buf: Add dma-buf heaps framework

2019-06-06 Thread John Stultz
From: "Andrew F. Davis" This framework allows a unified userspace interface for dma-buf exporters, allowing userland to allocate specific types of memory for use in dma-buf sharing. Each heap is given its own device node, which a user can allocate a dma-buf fd from using the DMA_HEAP_IOC_ALLOC.