From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:20:52 +0000 Subject: [PATCH] add new system file --- kernel/drivers/dma-buf/heaps/Kconfig | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/kernel/drivers/dma-buf/heaps/Kconfig b/kernel/drivers/dma-buf/heaps/Kconfig index ff52efa..75f4e3e 100644 --- a/kernel/drivers/dma-buf/heaps/Kconfig +++ b/kernel/drivers/dma-buf/heaps/Kconfig @@ -22,3 +22,10 @@ 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. + +config DMABUF_HEAPS_SRAM + tristate "Export on-chip SRAM pools using DMA-Heaps" + depends on DMABUF_HEAPS && SRAM + help + This driver allows the export of on-chip SRAM marked as exportable + to userspace using the DMA-Heaps interface. -- Gitblit v1.6.2