dts: increase codecmm to enable multiple encoder [1/1]
authorRuoran Xi <ruoran.xi@amlogic.com>
Fri, 1 Nov 2019 08:58:56 +0000 (16:58 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 4 Nov 2019 03:51:39 +0000 (20:51 -0700)
PD#SWPL-16131

Problem:
  codec memory too small to change video encode

Solution:
  increase codec memory size

Verify:
local

Change-Id: If09d00b97d607ba319c030516344dd3e9f96f7ec
Signed-off-by: Ruoran Xi <ruoran.xi@amlogic.com>
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot.dts
arch/arm64/boot/dts/amlogic/g12b_a311x_w411_buildroot_a.dts

index 16461d5..54d82c1 100644 (file)
@@ -85,7 +85,7 @@
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x8000000>;
+                       size = <0x0 0xc000000>;
                        alignment = <0x0 0x400000>;
                };
 
                        compatible = "shared-dma-pool";
                        reusable;
                        /* ion_codec_mm max can alloc size 80M*/
-                       size = <0x0 0x5000000>;
+                       size = <0x0 0x8000000>;
                        alignment = <0x0 0x400000>;
                        linux,contiguous-region;
                };
index 804af35..c691b47 100644 (file)
@@ -85,7 +85,7 @@
                ion_cma_reserved:linux,ion-dev {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x0 0x8000000>;
+                       size = <0x0 0xc000000>;
                        alignment = <0x0 0x400000>;
                };
 
                        compatible = "shared-dma-pool";
                        reusable;
                        /* ion_codec_mm max can alloc size 80M*/
-                       size = <0x0 0x5000000>;
+                       size = <0x0 0x8000000>;
                        alignment = <0x0 0x400000>;
                        linux,contiguous-region;
                };