Commit 7c9ec8f3 authored by Robby Cai's avatar Robby Cai

LF-352 arm: dts: imx6ul[l]-evk: increase CMA size to fix alloc failure for v4l2

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: default avatarRobby Cai <robby.cai@nxp.com>
Reviewed-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
(cherry picked from commit 1b0a2c9d50ac0d441243f0a2e88760c7e1e7b5ef)
parent 2ae1e742
......@@ -20,7 +20,7 @@
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x6000000>;
size = <0xa000000>;
linux,cma-default;
};
};
......
......@@ -40,7 +40,7 @@
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x6000000>;
size = <0xa000000>;
linux,cma-default;
};
};
......
......@@ -40,7 +40,7 @@
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x6000000>;
size = <0xa000000>;
linux,cma-default;
};
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment