xref: /linux/drivers/dma-buf/heaps/Kconfig (revision 44d69d3cf2e8047c279cbb9708f05e2c43e33234)
1config DMABUF_HEAPS_SYSTEM
2	bool "DMA-BUF System Heap"
3	depends on DMABUF_HEAPS
4	help
5	  Choose this option to enable the system dmabuf heap. The system heap
6	  is backed by pages from the buddy allocator. If in doubt, say Y.
7
8config DMABUF_HEAPS_CMA
9	bool "DMA-BUF CMA Heap"
10	depends on DMABUF_HEAPS && DMA_CMA
11	help
12	  Choose this option to enable dma-buf CMA heap. This heap is backed
13	  by the Contiguous Memory Allocator (CMA). If your system has these
14	  regions, you should say Y here.
15
16config DMABUF_HEAPS_CMA_LEGACY
17	bool "Legacy DMA-BUF CMA Heap"
18	default y
19	depends on DMABUF_HEAPS_CMA
20	help
21	  Add a duplicate CMA-backed dma-buf heap with legacy naming derived
22	  from the CMA area's devicetree node, or "reserved" if the area is not
23	  defined in the devicetree. This uses the same underlying allocator as
24	  CONFIG_DMABUF_HEAPS_CMA.
25