Files
Li Huang bd4aec9190 dma-buf: heaps: sram_heap: init sram-heap depend on sram driver
Signed-off-by: Li Huang <putin.li@rock-chips.com>
Change-Id: Ide523ee2691407afb6bdc18423afaa095dafbb9f
2022-10-21 17:35:13 +08:00

32 lines
1.1 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_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.
config DMABUF_HEAPS_SRAM
tristate "Export on-chip SRAM pools using DMA-Heaps"
depends on DMABUF_HEAPS && SRAM
help
This driver allows the export of on-chip SRAM marked as exportable
to userspace using the DMA-Heaps interface.