While most uses will want to allocate a fd for a dmabuf, there are some cases where it might be useful to have just a dma_buf structure. So refactor the heap allocaiton functions to return a struct dma_buf and add a dma_heap_bufferfd_alloc() function to convert that return a fd. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: Id6fd7e8471b9555a08bcdf8ca210feb589fa51c1 Bug: 154341375 |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cma_heap.c | ||
| heap-helpers.c | ||
| heap-helpers.h | ||
| system_heap.c | ||