From 14853d905f58a485a242fab20f1829e3d79bfed4 Mon Sep 17 00:00:00 2001 From: Patrick Daly Date: Thu, 6 Jul 2023 19:19:12 -0700 Subject: [PATCH] ARM: dts: msm: Increase linux,cma reserved memory for sun With 16GB of DDR, existing drivers were trying to use 6Mb as follows: 2Mb: dma_atomic_pool_init(GFP_KERNEL) 2Mb: dma_atomic_pool_init(GFP_KERNEL | GFP_DMA32) 2Mb: qcom_iommu_util::dma_atomic_pool_init Increase the reserved size to 12Mb to leave a small margin. Change-Id: Id9bdfcca7560d40bddf3c9c526f9e3ee69ba9174 Signed-off-by: Patrick Daly --- qcom/sun.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index e526248c..75fe13e6 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1156,7 +1156,7 @@ alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; reusable; alignment = <0x0 0x400000>; - size = <0x0 0x400000>; + size = <0x0 0xC00000>; linux,cma-default; }; };