dts: Optimize ion memory to 36MB for Android P 720P Project [1/1]
authorqingwei.xu <qingwei.xu@amlogic.com>
Mon, 17 Dec 2018 09:04:57 +0000 (17:04 +0800)
committerQingwei Xu <qingwei.xu@amlogic.com>
Thu, 20 Dec 2018 07:17:05 +0000 (23:17 -0800)
PD#SWPL-3324

Problem:
Ion's memory configuration is unreasonable for Android P 720P Project
, resulting in waste.

Solution:
More reasonable memory size configuration,Optimize ion memory to 36MB
for Android P 720P Project

Verify:
Verify by Android P 720P Project

Change-Id: Ibf13989f91c1cce5e030d900de2a30b0a16f7994
Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
arch/arm/boot/dts/amlogic/gxl_p241_1g.dts
arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts
arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts
arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts
arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts
arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts
arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts

index 231cbd3..32b7b7d 100644 (file)
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x4C00000>;
+                       size = <0x2400000>;
                        alignment = <0x400000>;
                        alloc-ranges = <0x0 0x30000000>;
                };
index a312a66..cb79f87 100644 (file)
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x4C00000>;
+                       size = <0x2400000>;
                        alignment = <0x400000>;
                        alloc-ranges = <0x0 0x30000000>;
                };
index 2a29e2a..77eee78 100644 (file)
@@ -97,7 +97,7 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x4C00000>;
+                       size = <0x2400000>;
                        alignment = <0x400000>;
                        /* alloc by self */
                        alloc-ranges = <0x0 0x30000000>;
index 94618ff..3ea9f13 100644 (file)
@@ -95,7 +95,7 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x4C00000>;
+                       size = <0x2400000>;
                        alignment = <0x400000>;
                        alloc-ranges = <0x0 0x30000000>;
                };
index 5f28a27..3484cfa 100644 (file)
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x4C00000>;
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
index 2493b0e..b963311 100644 (file)
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x4C00000>;
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
index ca69bc6..0471655 100644 (file)
@@ -86,7 +86,7 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x4C00000>;
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };
 
index 4bf67af..a1d132e 100644 (file)
@@ -97,7 +97,7 @@
                ion_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x4C00000>;
+                       size = <0x0 0x2400000>;
                        alignment = <0x0 0x400000>;
                };