forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/dma-buf/heaps/Kconfig
....@@ -22,3 +22,10 @@
2222 Choose this option to enable dma-buf CMA heap. This heap is backed
2323 by the Contiguous Memory Allocator (CMA). If your system has these
2424 regions, you should say Y here.
25
+
26
+config DMABUF_HEAPS_SRAM
27
+ tristate "Export on-chip SRAM pools using DMA-Heaps"
28
+ depends on DMABUF_HEAPS && SRAM
29
+ help
30
+ This driver allows the export of on-chip SRAM marked as exportable
31
+ to userspace using the DMA-Heaps interface.