1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-10-28 16:15:46 +00:00
Files
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

41 lines
1.5 KiB
Plaintext

menuconfig DMABUF_HEAPS_DEFERRED_FREE
bool "DMA-BUF heaps deferred-free library"
help
Choose this option to enable the DMA-BUF heaps deferred-free library.
menuconfig DMABUF_HEAPS_PAGE_POOL
bool "DMA-BUF heaps page-pool library"
help
Choose this option to enable the DMA-BUF heaps page-pool library.
config DMABUF_HEAPS_SYSTEM
tristate "DMA-BUF System Heap"
depends on DMABUF_HEAPS && DMABUF_HEAPS_DEFERRED_FREE && DMABUF_HEAPS_PAGE_POOL
help
Choose this option to enable the system dmabuf heap. The system heap
is backed by pages from the buddy allocator. If in doubt, say Y.
config DMABUF_HEAPS_MTK_MM
tristate "DMA-BUF MTK_MM Heap"
depends on DMABUF_HEAPS && DMABUF_HEAPS_DEFERRED_FREE && DMABUF_HEAPS_PAGE_POOL
help
Choose this option to enable the mtk_mm dmabuf heap. The mtk_mm heap
is backed by pages from the buddy allocator. If in doubt, say Y.
config DMABUF_HEAPS_DEBUG
tristate "DMA-BUF debug Heap"
depends on DMABUF_HEAPS_MTK_MM && DMABUF_HEAPS_SYSTEM
help
Choose this option to enable the mtk debug heap.
This debug tool can be use to dump dmabuf usage for users
If you want use it, say Y if you are not using GKI
say m and add ko into your system for GKI.
config DMABUF_HEAPS_CMA
tristate "DMA-BUF CMA Heap"
depends on DMABUF_HEAPS && DMA_CMA
help
Choose this option to enable dma-buf CMA heap. This heap is backed
by the Contiguous Memory Allocator (CMA). If your system has these
regions, you should say Y here.