From fce4c41b3a1dfa049f48e7976f27d8e960334680 Mon Sep 17 00:00:00 2001 From: "qingwei.xu" Date: Mon, 17 Dec 2018 17:04:57 +0800 Subject: [PATCH] dts: Optimize ion memory to 36MB for Android P 720P Project [1/1] 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 --- arch/arm/boot/dts/amlogic/gxl_p241_1g.dts | 2 +- arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts | 2 +- arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts | 2 +- arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts | 2 +- arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts | 2 +- arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts | 2 +- arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts | 2 +- arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/gxl_p241_1g.dts b/arch/arm/boot/dts/amlogic/gxl_p241_1g.dts index 231cbd3..32b7b7d 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p241_1g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p241_1g.dts @@ -110,7 +110,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x4C00000>; + size = <0x2400000>; alignment = <0x400000>; alloc-ranges = <0x0 0x30000000>; }; diff --git a/arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts b/arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts index a312a66..cb79f87 100644 --- a/arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts +++ b/arch/arm/boot/dts/amlogic/gxl_p241_v2-1g.dts @@ -111,7 +111,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x4C00000>; + size = <0x2400000>; alignment = <0x400000>; alloc-ranges = <0x0 0x30000000>; }; diff --git a/arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts b/arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts index 2a29e2a6..77eee78 100644 --- a/arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts +++ b/arch/arm/boot/dts/amlogic/txl_t962_p321_720p.dts @@ -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>; diff --git a/arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts b/arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts index 94618ff..3ea9f13 100644 --- a/arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts +++ b/arch/arm/boot/dts/amlogic/txlx_t962x_r311_720p.dts @@ -95,7 +95,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x4C00000>; + size = <0x2400000>; alignment = <0x400000>; alloc-ranges = <0x0 0x30000000>; }; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts b/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts index 5f28a27..3484cfa 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts @@ -100,7 +100,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x4C00000>; + size = <0x0 0x2400000>; alignment = <0x0 0x400000>; }; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts b/arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts index 2493b0e..b963311 100644 --- a/arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts +++ b/arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts @@ -101,7 +101,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x4C00000>; + size = <0x0 0x2400000>; alignment = <0x0 0x400000>; }; diff --git a/arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts b/arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts index ca69bc6..0471655 100644 --- a/arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts +++ b/arch/arm64/boot/dts/amlogic/txl_t962_p321_720p.dts @@ -86,7 +86,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x4C00000>; + size = <0x0 0x2400000>; alignment = <0x0 0x400000>; }; diff --git a/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts b/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts index 4bf67af..a1d132e 100644 --- a/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts +++ b/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts @@ -97,7 +97,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x4C00000>; + size = <0x0 0x2400000>; alignment = <0x0 0x400000>; }; -- 2.7.4