From 204b84c596a3ac9fc45012479e70827ec8b88ec1 Mon Sep 17 00:00:00 2001 From: Xingyu Chen Date: Wed, 26 Dec 2018 10:47:13 +0800 Subject: [PATCH] arm64: dts: remove alloc-ranges property in cma nodes for tl1 [1/1] PD#SWPL-3437 Problem: the cam regions that specified by the alloc-ranges property are scattered, it is not convenient to debug the memory issues. Solution: remove alloc-ranges property in cam nodes, but secmon and fb. the system will allocate the cma region automatically that more gathered. Verify: test pass on x301 Change-Id: Ibbe64b48843c1295110242c17d7691284f08a66b Signed-off-by: Xingyu Chen --- arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts | 4 ---- arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts | 4 ---- 2 files changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts b/arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts index dd1eef9..fe7d7fa 100644 --- a/arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts +++ b/arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts @@ -67,7 +67,6 @@ size = <0x0 0x13400000>; alignment = <0x0 0x400000>; linux,contiguous-region; - alloc-ranges = <0x0 0x12000000 0x0 0x13400000>; }; /* codec shared reserved */ @@ -91,7 +90,6 @@ reusable; size = <0x0 0xc00000>; alignment = <0x0 0x400000>; - alloc-ranges = <0x0 0x71000000 0x0 0xc00000>; }; ion_cma_reserved:linux,ion-dev { @@ -140,7 +138,6 @@ vbi_reserved:linux,vbi { compatible = "amlogic, vbi-mem"; size = <0x0 0x100000>; - alloc-ranges = <0x0 0x0e000000 0x0 0x800000>; }; /*di CMA pool */ @@ -167,7 +164,6 @@ /* 32M for tmds to ddr */ size = <0x0 0x2000000>; alignment = <0x0 0x400000>; - /* alloc-ranges = <0x0 0x400000 0x0 0x2000000>; */ }; /* POST PROCESS MANAGER */ diff --git a/arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts b/arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts index 427ad34..1ab044e 100644 --- a/arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts +++ b/arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts @@ -67,7 +67,6 @@ size = <0x0 0x13400000>; alignment = <0x0 0x400000>; linux,contiguous-region; - alloc-ranges = <0x0 0x12000000 0x0 0x13400000>; }; /* codec shared reserved */ @@ -91,7 +90,6 @@ reusable; size = <0x0 0xc00000>; alignment = <0x0 0x400000>; - alloc-ranges = <0x0 0x71000000 0x0 0xc00000>; }; ion_cma_reserved:linux,ion-dev { @@ -140,7 +138,6 @@ vbi_reserved:linux,vbi { compatible = "amlogic, vbi-mem"; size = <0x0 0x100000>; - alloc-ranges = <0x0 0x0e000000 0x0 0x800000>; }; /*di CMA pool */ @@ -167,7 +164,6 @@ /* 32M for tmds to ddr */ size = <0x0 0x2000000>; alignment = <0x0 0x400000>; - /* alloc-ranges = <0x0 0x400000 0x0 0x2000000>; */ }; /* POST PROCESS MANAGER */ -- 2.7.4