xref: /OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunmenuconfig DMABUF_HEAPS_DEFERRED_FREE
2*4882a593Smuzhiyun	bool "DMA-BUF heaps deferred-free library"
3*4882a593Smuzhiyun	help
4*4882a593Smuzhiyun	  Choose this option to enable the DMA-BUF heaps deferred-free library.
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenuconfig DMABUF_HEAPS_PAGE_POOL
7*4882a593Smuzhiyun	bool "DMA-BUF heaps page-pool library"
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  Choose this option to enable the DMA-BUF heaps page-pool library.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunconfig DMABUF_HEAPS_SYSTEM
12*4882a593Smuzhiyun	tristate "DMA-BUF System Heap"
13*4882a593Smuzhiyun	depends on DMABUF_HEAPS && DMABUF_HEAPS_DEFERRED_FREE && DMABUF_HEAPS_PAGE_POOL
14*4882a593Smuzhiyun	help
15*4882a593Smuzhiyun	  Choose this option to enable the system dmabuf heap. The system heap
16*4882a593Smuzhiyun	  is backed by pages from the buddy allocator. If in doubt, say Y.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunconfig DMABUF_HEAPS_CMA
19*4882a593Smuzhiyun	tristate "DMA-BUF CMA Heap"
20*4882a593Smuzhiyun	depends on DMABUF_HEAPS && DMA_CMA
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	  Choose this option to enable dma-buf CMA heap. This heap is backed
23*4882a593Smuzhiyun	  by the Contiguous Memory Allocator (CMA). If your system has these
24*4882a593Smuzhiyun	  regions, you should say Y here.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunconfig DMABUF_HEAPS_SRAM
27*4882a593Smuzhiyun	tristate "Export on-chip SRAM pools using DMA-Heaps"
28*4882a593Smuzhiyun	depends on DMABUF_HEAPS && SRAM
29*4882a593Smuzhiyun	help
30*4882a593Smuzhiyun	  This driver allows the export of on-chip SRAM marked as exportable
31*4882a593Smuzhiyun	  to userspace using the DMA-Heaps interface.
32