From 033d8fb6c7c1f5c7509567c211e848a5e03e2f8c Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Thu, 28 Sep 2023 22:29:50 -0700 Subject: [PATCH] ARM: dts: msm: Update system cma pool size for sun Add an additional 8Mb for kgsl snapshot. Change-Id: I442259190b11e39f715f852cf3e688e6b32df8b3 Signed-off-by: Patrick Daly --- qcom/sun.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index dea5b1b6..b5383d34 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1698,12 +1698,18 @@ reg = <0x0 0xff800000 0x0 0x800000>; }; + /* + * 6Mb for dma_atomic_pool_init() + * 8Mb for kgsl snapshot + * 4MB for sharedmem-uio + * 2Mb spare. + */ system_cma: linux,cma { compatible = "shared-dma-pool"; alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; - size = <0x0 0xC00000>; + size = <0x0 0x1400000>; linux,cma-default; };