drivers/dma-buf/heaps/Kconfig

Source file repositories/reference/linux-study-clean/drivers/dma-buf/heaps/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/dma-buf/heaps/Kconfig
Extension
[no extension]
Size
830 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/dma-buf
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

config DMABUF_HEAPS_SYSTEM
	tristate "DMA-BUF System Heap"
	depends on DMABUF_HEAPS
	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_SYSTEM_CC_SHARED
	bool "DMA-BUF System Heap for decrypted CoCo VMs"
	depends on DMABUF_HEAPS && ARCH_HAS_MEM_ENCRYPT && DMABUF_HEAPS_SYSTEM=y
	help
	  Choose this option to enable the system_cc_shared dmabuf heap. This
	  allows allocating shared (decrypted) memory for confidential computing
	  (CoCo) VMs.

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.

Annotation

Implementation Notes