[allocator]: Add dma_heap allocator

The dma_heap is introduced in kernel 5.10.

Change-Id: Id3c116d996da461467fe380a79434ba5ea875033
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2022-06-22 17:42:17 +08:00
parent 8e15a4a492
commit 60f5fc234a
7 changed files with 379 additions and 8 deletions

View File

@@ -126,6 +126,7 @@ typedef enum {
MPP_BUFFER_TYPE_ION,
MPP_BUFFER_TYPE_EXT_DMA,
MPP_BUFFER_TYPE_DRM,
MPP_BUFFER_TYPE_DMA_HEAP,
MPP_BUFFER_TYPE_BUTT,
} MppBufferType;