[PATCH] arm64: defconfig: Enable DMABUF heaps support

Pratyush Brahma posted 1 patch 2 months ago
arch/arm64/configs/defconfig | 3 +++
1 file changed, 3 insertions(+)
[PATCH] arm64: defconfig: Enable DMABUF heaps support
Posted by Pratyush Brahma 2 months ago
Enable the DMABUF heaps, system heap and default cma heap,
required on Qualcomm SoCs (e.g. qcm6490) for sharing buffers
across different subsystems.

Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>
---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7d32fca64996..106b8029d989 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1233,6 +1233,9 @@ CONFIG_RENESAS_USB_DMAC=m
 CONFIG_RZ_DMAC=y
 CONFIG_TI_K3_UDMA=y
 CONFIG_TI_K3_UDMA_GLUE_LAYER=y
+CONFIG_DMABUF_HEAPS=y
+CONFIG_DMABUF_HEAPS_SYSTEM=y
+CONFIG_DMABUF_HEAPS_CMA=y
 CONFIG_VFIO=y
 CONFIG_VFIO_PCI=y
 CONFIG_VIRTIO_PCI=y
-- 
2.17.1
Re: [PATCH] arm64: defconfig: Enable DMABUF heaps support
Posted by Krzysztof Kozlowski 2 months ago
On 26/09/2024 15:07, Pratyush Brahma wrote:
> Enable the DMABUF heaps, system heap and default cma heap,
> required on Qualcomm SoCs (e.g. qcm6490) for sharing buffers
> across different subsystems.

Which drivers are requiring this? Or explain how exactly the hardware
requires DMABUF?

> 
> Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>

Best regards,
Krzysztof