config DEVICE_MODULES_DMABUF_HEAPS_DEFERRED_FREE
	tristate "DMA-BUF heaps deferred-free library"
	help
	  Choose this option to enable the DMA-BUF heaps deferred-free library.

config DEVICE_MODULES_DMABUF_HEAPS_PAGE_POOL
	tristate "DMA-BUF heaps page-pool library"
	help
	  Choose this option to enable the DMA-BUF heaps page-pool library.

config DEVICE_MODULES_DMABUF_HEAPS_SYSTEM
	tristate "DMA-BUF System Heap"
	depends on DMABUF_HEAPS && DEVICE_MODULES_DMABUF_HEAPS_DEFERRED_FREE && DEVICE_MODULES_DMABUF_HEAPS_PAGE_POOL
	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 DEVICE_MODULES_DMABUF_HEAPS_MTK_SVP
	tristate "DMA-BUF MTK_SVP Heap"
	depends on DMABUF_HEAPS && MTK_IOMMU_MISC_SECURE
	select GENERIC_ALLOCATOR if MTK_MEM_AUTH_POLICY_SUPPORT
	help
	  Choose this option to enable the mtk_svp dmabuf heap. The mtk_svp heap
	  is used by MT8XXX. If in doubt, say N.

config DMABUF_HEAPS_DEBUG
	tristate "DMA-BUF debug Heap"
	depends on DEVICE_MODULES_DMABUF_HEAPS_SYSTEM
	help
	  Choose this option to enable the mtk debug heap.
	  This debug tool can be use to dump dmabuf usage for users
	  If you want use it, say Y if you are not using GKI
	  say m and add ko into your system for GKI.
