diff --git a/arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts b/arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts index cff5f4af371c..aeb9cb0ddd09 100644 --- a/arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts +++ b/arch/arm/boot/dts/amlogic/g12a_s905x2_u212_1g.dts @@ -86,7 +86,7 @@ ion_cma_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x8000000>; + size = <0x4C00000>; alignment = <0x400000>; alloc-ranges = <0x00000000 0x30000000>; }; @@ -124,7 +124,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0xC400000>; + size = <0xd000000>; alignment = <0x400000>; linux,contiguous-region; alloc-ranges = <0x00000000 0x30000000>; @@ -137,19 +137,19 @@ //no-map; }; /* vdin0 CMA pool */ - vdin0_cma_reserved:linux,vdin0_cma { - compatible = "shared-dma-pool"; - reusable; + //vdin0_cma_reserved:linux,vdin0_cma { + // compatible = "shared-dma-pool"; + // reusable; /* 1920x1080x2x4 =16+4 M */ - size = <0x04000000>; - alignment = <0x400000>; - }; + // size = <0x04000000>; + // alignment = <0x400000>; + //}; /* vdin1 CMA pool */ vdin1_cma_reserved:linux,vdin1_cma { compatible = "shared-dma-pool"; reusable; /* 1920x1080x2x4 =16 M */ - size = <0x04000000>; + size = <0x01000000>; alignment = <0x400000>; }; }; @@ -1150,8 +1150,8 @@ /*if you want to use vdin just modify status to "ok"*/ &vdin0 { - memory-region = <&vdin0_cma_reserved>; - status = "okay"; + /*memory-region = <&vdin0_cma_reserved>;*/ + status = "disabled"; /*vdin write mem color depth support: *bit0:support 8bit *bit1:support 9bit diff --git a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts index 8b49554ea1d0..f528968ed8b6 100644 --- a/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts +++ b/arch/arm64/boot/dts/amlogic/g12a_s905x2_u212_1g.dts @@ -86,7 +86,7 @@ ion_cma_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; - size = <0x0 0x8000000>; + size = <0x0 0x4C00000>; alignment = <0x0 0x400000>; }; //di_reserved:linux,di { @@ -123,7 +123,7 @@ compatible = "shared-dma-pool"; reusable; /* ion_codec_mm max can alloc size 80M*/ - size = <0x0 0xC400000>; + size = <0x0 0xd000000>; alignment = <0x0 0x400000>; linux,contiguous-region; }; @@ -135,19 +135,19 @@ //no-map; }; /* vdin0 CMA pool */ - vdin0_cma_reserved:linux,vdin0_cma { - compatible = "shared-dma-pool"; - reusable; + //vdin0_cma_reserved:linux,vdin0_cma { + // compatible = "shared-dma-pool"; + // reusable; /* 1920x1080x2x4 =16+4 M */ - size = <0x0 0x04000000>; - alignment = <0x0 0x400000>; - }; + // size = <0x0 0x04000000>; + // alignment = <0x0 0x400000>; + //}; /* vdin1 CMA pool */ vdin1_cma_reserved:linux,vdin1_cma { compatible = "shared-dma-pool"; reusable; /* 1920x1080x2x4 =16 M */ - size = <0x0 0x04000000>; + size = <0x0 0x01000000>; alignment = <0x0 0x400000>; }; }; @@ -1148,8 +1148,8 @@ /*if you want to use vdin just modify status to "ok"*/ &vdin0 { - memory-region = <&vdin0_cma_reserved>; - status = "okay"; + /*memory-region = <&vdin0_cma_reserved>;*/ + status = "disabled"; /*vdin write mem color depth support: *bit0:support 8bit *bit1:support 9bit