Currently the cma reserved memory allocation will fail due to conflict
with rpmsg reserved memory which results in a lot of VPU test failure.
e.g
rpmsg_reserved: rpmsg@0xb8000000 {
no-map;
reg = <0 0xb8000000 0 0x400000>;
};
This patch worked around this issue first by reducing the CMA size to 896M
from 960M.
We're still investigating a more sane approach to add back the correct
requirement CMA memory (per MM team, it may need 1060M).
Reviewed-by: ZHOU PENG <eagle.zhou@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
linux,cma {
compatible = "shared-dma-pool";
reusable;
- size = <0 0x3c000000>;
- alloc-ranges = <0 0x80000000 0 0x40000000>;
+ size = <0 0x38000000>;
+ alloc-ranges = <0 0x80000000 0 0x38000000>;
linux,cma-default;
};
};