LF-352 arm: dts: imx6ul[l]-evk: increase CMA size to fix alloc failure for v4l2
authorRobby Cai <robby.cai@nxp.com>
Wed, 4 Dec 2019 08:15:05 +0000 (16:15 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:35 +0000 (11:21 +0800)
increase CMA size to 160MB to fix cma alloc failure for v4l2 capture case:

Capture_To_Display_mmap: mode 6(2592x1944)@15fps test.
...
[ 247.301290] cma: cma_alloc: alloc failed, req-size: 2461 pages, ret: -12
[ 247.308290] mx6s-csi 21c4000.csi: dma_alloc_coherent of size 10080256 failed
[ 247.317097] cma: cma_alloc: alloc failed, req-size: 2461 pages, ret: -12
...

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi
arch/arm/boot/dts/imx6ul-9x9-evk.dts
arch/arm/boot/dts/imx6ull-9x9-evk.dts

index fe32e5b..757ed9c 100644 (file)
@@ -20,7 +20,7 @@
                linux,cma {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x6000000>;
+                       size = <0xa000000>;
                        linux,cma-default;
                };
        };
index 55ec891..5b0aef2 100644 (file)
@@ -40,7 +40,7 @@
                linux,cma {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x6000000>;
+                       size = <0xa000000>;
                        linux,cma-default;
                };
        };
index af052f5..6e0a71d 100644 (file)
@@ -40,7 +40,7 @@
                linux,cma {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0x6000000>;
+                       size = <0xa000000>;
                        linux,cma-default;
                };
        };