From 3f3a8c6d92b4e2408e15a2d0d80b4782fb936f28 Mon Sep 17 00:00:00 2001 From: Anmolpreet Kaur Date: Mon, 8 Mar 2021 11:23:49 +0530 Subject: [PATCH] ARM: dts: msm: Reduce the CMA region sizes for sdxlemur Reduce the CMA region sizes of qseecom for sdxlemur keeping in view its a low memory target. Change-Id: I3156cf0f6bb12bf5caaa07505b7ddc1e1bff2077 --- qcom/sdxlemur-ion.dtsi | 6 ------ qcom/sdxlemur.dtsi | 10 +--------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/qcom/sdxlemur-ion.dtsi b/qcom/sdxlemur-ion.dtsi index 81fca5839dc6..e4a0057726dc 100644 --- a/qcom/sdxlemur-ion.dtsi +++ b/qcom/sdxlemur-ion.dtsi @@ -16,12 +16,6 @@ memory-region = <&audio_mem>; }; - qcom,ion-heap@26 { /* USER CONTIG HEAP */ - reg = ; - memory-region = <&user_contig_mem>; - qcom,ion-heap-type = "DMA"; - }; - qcom,ion-heap@27 { /* QSEECOM HEAP */ reg = ; memory-region = <&qseecom_mem>; diff --git a/qcom/sdxlemur.dtsi b/qcom/sdxlemur.dtsi index 7c1f15927966..99678ce50275 100644 --- a/qcom/sdxlemur.dtsi +++ b/qcom/sdxlemur.dtsi @@ -53,14 +53,6 @@ linux,cma-default; }; - user_contig_mem: user_contig_region { - compatible = "shared-dma-pool"; - alloc-ranges = <0x00000000 0xffffffff>; - reusable; - alignment = <0x400000>; - size = <0x1400000>; - }; - qseecom_mem: qseecom_region { compatible = "shared-dma-pool"; alloc-ranges = <0x00000000 0xffffffff>; @@ -74,7 +66,7 @@ alloc-ranges = <0x00000000 0xffffffff>; reusable; alignment = <0x400000>; - size = <0x1000000>; + size = <0x400000>; };