| config DEVICE_MODULES_DMABUF_HEAPS_SYSTEM | |
| tristate "DMA-BUF System Heap" | |
| depends on DMABUF_HEAPS && DMABUF_HEAPS_DEFERRED_FREE && 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 DMABUF_HEAPS_MTK_SVP | |
| tristate "DMA-BUF MTK_SVP Heap" | |
| depends on DMABUF_HEAPS && MTK_IOMMU_MISC_SECURE | |
| 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. | |
| config MTK_DMABUF_DEFFERRED_MAX_MBYTES | |
| int "the max memory size (mb) in deferred list" | |
| depends on DEVICE_MODULES_DMABUF_HEAPS_SYSTEM | |
| default -1 | |
| help | |
| In low ram device, memory is sensitive, use the setting to set | |
| max memory size in defferred list (Unit: MB) |