xref: /linux/drivers/dma-buf/heaps/Kconfig (revision 260f6f4fda93c8485c8037865c941b42b9cba5d2)
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