diff mbox series

arm64: defconfig: Enable DMABUF heaps support

Message ID 20240926130703.7817-1-quic_pbrahma@quicinc.com (mailing list archive)
State New, archived
Headers show
Series arm64: defconfig: Enable DMABUF heaps support | expand

Commit Message

Pratyush Brahma Sept. 26, 2024, 1:07 p.m. UTC
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(+)

Comments

Krzysztof Kozlowski Sept. 26, 2024, 1:55 p.m. UTC | #1
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
diff mbox series

Patch

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