arm64: dts: remove alloc-ranges property in cma nodes for tl1 [1/1]
authorXingyu Chen <xingyu.chen@amlogic.com>
Wed, 26 Dec 2018 02:47:13 +0000 (10:47 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 26 Dec 2018 05:49:14 +0000 (21:49 -0800)
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 <xingyu.chen@amlogic.com>
arch/arm64/boot/dts/amlogic/tl1_t962x2_t309.dts
arch/arm64/boot/dts/amlogic/tl1_t962x2_x301.dts

index dd1eef9..fe7d7fa 100644 (file)
@@ -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 {
                vbi_reserved:linux,vbi {
                        compatible = "amlogic, vbi-mem";
                        size = <0x0 0x100000>;
-                       alloc-ranges = <0x0 0x0e000000 0x0 0x800000>;
                };
 
                /*di CMA pool */
                        /* 32M for tmds to ddr */
                        size = <0x0 0x2000000>;
                        alignment = <0x0 0x400000>;
-                       /* alloc-ranges = <0x0 0x400000 0x0 0x2000000>; */
                };
 
                /* POST PROCESS MANAGER */
index 427ad34..1ab044e 100644 (file)
@@ -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 {
                vbi_reserved:linux,vbi {
                        compatible = "amlogic, vbi-mem";
                        size = <0x0 0x100000>;
-                       alloc-ranges = <0x0 0x0e000000 0x0 0x800000>;
                };
 
                /*di CMA pool */
                        /* 32M for tmds to ddr */
                        size = <0x0 0x2000000>;
                        alignment = <0x0 0x400000>;
-                       /* alloc-ranges = <0x0 0x400000 0x0 0x2000000>; */
                };
 
                /* POST PROCESS MANAGER */