From 267365963862b8be44cf84aca29405b4bad4d66f Mon Sep 17 00:00:00 2001 From: Lei Qian Date: Tue, 16 Oct 2018 20:32:21 +0800 Subject: [PATCH] dts: sync 1g platform ion and codec_mm_cma with ampere [1/1] PD#166821 Problem: 34 media CTS fails in einstein Solution: enlarge codec_mm_cma to d000000 Verify: verify by einstein Change-Id: I026a1ff3e6155324dff1a5b9702c31f19d68a57f Signed-off-by: Lei Qian --- arch/arm/boot/dts/amlogic/txl_t962_p321.dts | 4 ++-- arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts | 4 ++-- arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts | 4 ++-- arch/arm64/boot/dts/amlogic/gxl_p241_v2-1g.dts | 4 ++-- arch/arm64/boot/dts/amlogic/txl_t962_p321.dts | 4 ++-- arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts | 4 ++-- arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/txl_t962_p321.dts b/arch/arm/boot/dts/amlogic/txl_t962_p321.dts index 888ee61..fce14f4 100644 --- a/arch/arm/boot/dts/amlogic/txl_t962_p321.dts +++ b/arch/arm/boot/dts/amlogic/txl_t962_p321.dts @@ -81,7 +81,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x7400000>; + size = <0x4C00000>; alignment = <0x400000>; /* alloc by self */ alloc-ranges = <0x0 0x2ee00000>; @@ -114,7 +114,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0xc000000>; + size = <0xd000000>; alignment = <0x400000>; linux,contiguous-region; /** alloc by self **/ diff --git a/arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts b/arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts index ddee4a0..2c5963c 100644 --- a/arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts +++ b/arch/arm/boot/dts/amlogic/txlx_t962x_r311_1g.dts @@ -95,7 +95,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x7C00000>; + size = <0x4C00000>; alignment = <0x400000>; alloc-ranges = <0x0 0x2ee00000>; }; @@ -125,7 +125,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x13400000>; + size = <0xd000000>; alignment = <0x400000>; linux,contiguous-region; alloc-ranges = <0x12000000 0x13400000>; diff --git a/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts b/arch/arm64/boot/dts/amlogic/gxl_p241_1g.dts index 0fa218d..e0ba54e 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 0x3000000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; @@ -132,7 +132,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0x7800000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; 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 ac1ea7f..e5073d5 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 0x3000000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; @@ -133,7 +133,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0x7800000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; diff --git a/arch/arm64/boot/dts/amlogic/txl_t962_p321.dts b/arch/arm64/boot/dts/amlogic/txl_t962_p321.dts index 314e177..8af1f38 100644 --- a/arch/arm64/boot/dts/amlogic/txl_t962_p321.dts +++ b/arch/arm64/boot/dts/amlogic/txl_t962_p321.dts @@ -81,7 +81,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x7400000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; @@ -110,7 +110,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0xc000000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; diff --git a/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts b/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts index d43248d..5c07b35 100644 --- a/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts +++ b/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts @@ -95,7 +95,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x7400000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; @@ -124,7 +124,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0xc000000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; 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 d9f57ee..d275829 100644 --- a/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts +++ b/arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts @@ -95,7 +95,7 @@ ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x6400000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; @@ -124,7 +124,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0xc000000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; -- 2.7.4