Skip to content

Commit

Permalink
Temporary fix rockchip-linux#356
Browse files Browse the repository at this point in the history
  • Loading branch information
martivo committed Feb 13, 2023
1 parent a05b01d commit 38afa76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions osal/allocator/allocator_dma_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ typedef enum DmaHeapType_e {
} DmaHeapType;

static const char *heap_names[] = {
"system-uncached", /* 0 - default */
"system-uncached-dma32", /* 0 - default */
"cma-uncached", /* 1 - DMA_HEAP_CMA */
"system", /* 2 - DMA_HEAP_CACHABLE */
"system-dma32", /* 2 - DMA_HEAP_CACHABLE */
"cma", /* 3 - DMA_HEAP_CACHABLE | DMA_HEAP_CMA */
"system-uncached-dma32", /* 4 - DMA_HEAP_DMA32 */
"cma-uncached", /* 5 - DMA_HEAP_DMA32 | DMA_HEAP_CMA */
"system-dma32", /* 6 - DMA_HEAP_DMA32 | DMA_HEAP_CACHABLE */
"cma", /* 7 - DMA_HEAP_DMA32 | DMA_HEAP_CACHABLE | DMA_HEAP_CMA */
"system-uncached", /* 4 - DMA_HEAP_DMA64 */
"cma-uncached", /* 5 - DMA_HEAP_DMA64 | DMA_HEAP_CMA */
"system", /* 6 - DMA_HEAP_DMA64 | DMA_HEAP_CACHABLE */
"cma", /* 7 - DMA_HEAP_DMA64 | DMA_HEAP_CACHABLE | DMA_HEAP_CMA */
};

static int heap_fds[DMA_HEAP_TYPE_NB];
Expand Down

0 comments on commit 38afa76

Please sign in to comment.