[PATCH v12 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

Brian Starkey Brian.Starkey at arm.com
Fri Oct 18 11:21:26 UTC 2019


On Fri, Oct 18, 2019 at 05:23:22AM +0000, John Stultz wrote:
> This adds a CMA heap, which allows userspace to allocate
> a dma-buf of contiguous memory out of a CMA region.
> 
> This code is an evolution of the Android ION implementation, so
> thanks to its original author and maintainters:
>   Benjamin Gaignard, Laura Abbott, and others!
> 
> NOTE: This patch only adds the default CMA heap. We will enable
> selectively adding other CMA memory regions to the dmabuf heaps
> interface with a later patch (which requires a dt binding)

That'll teach me for reading my email in FIFO order.

This approach makes sense to me.

-Brian



More information about the dri-devel mailing list