On Tue, Mar 05, 2019 at 12:54:32PM -0800, John Stultz wrote: > This adds a CMA heap, which allows userspace to allocate > a dma-buf of contiguous memory out of a CMA region.
With my previous suggestion of DMA API usage you'd get CMA support for free in the system one instead of all this duplicate code..