From c527b04000d6f17a1e20f3dc7284157d422edf04 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Thu, 14 Dec 2023 16:50:43 -0800 Subject: [PATCH] ARM: dts: msm: Increase System CMA pool for sun Support the memshare device, which requires 6 Mb. Change-Id: I1d72bdf7cdb895fbe76e49ad3541fa715bddf24d Signed-off-by: Patrick Daly --- qcom/sun.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index 694ec522..5907f7e5 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -3479,14 +3479,15 @@ * 6Mb for dma_atomic_pool_init() * 8Mb for kgsl snapshot * 4MB for sharedmem-uio - * 2Mb spare. + * 6Mb for "qcom,memshare" device + * 4Mb spare. */ system_cma: linux,cma { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; - size = <0x0 0x1400000>; + size = <0x0 0x1C00000>; linux,cma-default; };