xref: /linux/drivers/dma-buf/heaps/Kconfig (revision bba2c3615bd6cfee7456d1130f2e6b01b3f4e9ba)
1config DMABUF_HEAPS_SYSTEM
2	tristate "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_SYSTEM_CC_SHARED
9	bool "DMA-BUF System Heap for decrypted CoCo VMs"
10	depends on DMABUF_HEAPS && ARCH_HAS_MEM_ENCRYPT && DMABUF_HEAPS_SYSTEM=y
11	help
12	  Choose this option to enable the system_cc_shared dmabuf heap. This
13	  allows allocating shared (decrypted) memory for confidential computing
14	  (CoCo) VMs.
15
16config DMABUF_HEAPS_CMA
17	tristate "DMA-BUF CMA Heap"
18	depends on DMABUF_HEAPS && DMA_CMA
19	help
20	  Choose this option to enable dma-buf CMA heap. This heap is backed
21	  by the Contiguous Memory Allocator (CMA). If your system has these
22	  regions, you should say Y here.
23