diff --git a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm201.dts b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm201.dts index c724c8da1..8e55f2c50 100644 --- a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm201.dts +++ b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm201.dts @@ -150,10 +150,9 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0x1bc00000>; + size = <0x0 0x19000000>; alignment = <0x0 0x400000>; linux,contiguous-region; - alloc-ranges = <0x0 0x0 0x0 0xe0000000>; }; /* codec shared reserved */ @@ -184,10 +183,10 @@ vdin1_cma_reserved:linux,vdin1_cma { compatible = "shared-dma-pool"; reusable; - /* up to 1920x1080 yuv420 8bit and 4 buffers - * 1920x1080x1.5x4 = 12 M + /* up to 1280x720 nv21 8bit and 4 buffers + * 1280x720x1.5x4 = 8 M */ - size = <0x0 0x00c00000>; + size = <0x0 0x00800000>; alignment = <0x0 0x400000>; }; /* global autoconfigured region for contiguous allocations */ @@ -197,7 +196,7 @@ size = <0x0 0x800000>; alignment = <0x0 0x400000>; linux,cma-default; - alloc-ranges = <0x0 0x30000000>; + alloc-ranges = <0x0 0x0 0x0 0x30000000>; }; }; codec_mm { diff --git a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm202.dts b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm202.dts index d13e1f3e6..0d49e3788 100644 --- a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm202.dts +++ b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm202.dts @@ -150,10 +150,9 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0x1bc00000>; + size = <0x0 0x19000000>; alignment = <0x0 0x400000>; linux,contiguous-region; - alloc-ranges = <0x0 0x0 0x0 0xe0000000>; }; /* codec shared reserved */ @@ -184,10 +183,10 @@ vdin1_cma_reserved:linux,vdin1_cma { compatible = "shared-dma-pool"; reusable; - /* up to 1920x1080 yuv420 8bit and 4 buffers - * 1920x1080x1.5x4 = 12 M + /* up to 1280x720 nv21 8bit and 4 buffers + * 1280x720x1.5x4 = 8 M */ - size = <0x0 0x00c00000>; + size = <0x0 0x00800000>; alignment = <0x0 0x400000>; }; /* global autoconfigured region for contiguous allocations */ @@ -197,7 +196,7 @@ size = <0x0 0x800000>; alignment = <0x0 0x400000>; linux,cma-default; - alloc-ranges = <0x0 0x30000000>; + alloc-ranges = <0x0 0x0 0x0 0x30000000>; }; }; codec_mm { diff --git a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm209.dts b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm209.dts index 1e812b55e..5f5783990 100644 --- a/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm209.dts +++ b/arch/arm64/boot/dts/amlogic/s7d_s905x5m_bm209.dts @@ -150,10 +150,9 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0x1bc00000>; + size = <0x0 0x19000000>; alignment = <0x0 0x400000>; linux,contiguous-region; - alloc-ranges = <0x0 0x0 0x0 0xe0000000>; }; /* codec shared reserved */ @@ -184,10 +183,10 @@ vdin1_cma_reserved:linux,vdin1_cma { compatible = "shared-dma-pool"; reusable; - /* up to 1920x1080 yuv420 8bit and 4 buffers - * 1920x1080x1.5x4 = 12 M + /* up to 1280x720 nv21 8bit and 4 buffers + * 1280x720x1.5x4 = 8 M */ - size = <0x0 0x00c00000>; + size = <0x0 0x00800000>; alignment = <0x0 0x400000>; }; /* global autoconfigured region for contiguous allocations */ @@ -197,7 +196,7 @@ size = <0x0 0x800000>; alignment = <0x0 0x400000>; linux,cma-default; - alloc-ranges = <0x0 0x30000000>; + alloc-ranges = <0x0 0x0 0x0 0x30000000>; }; }; codec_mm {