Hi Victor,
Thanks for a prompt reply. When "linux,cma-default" property exists in DTS node, kernel ignores cma= command line parameter. You can see that here:
dma-contiguous.c\base\drivers - linux-imx - i.MX Linux kernel
dma-contiguous.c\base\drivers - linux-imx - i.MX Linux kernel
So you can either have "linux,cma-default" DTS node or pass CMA size via kernel command line, but not both.
Without big enough CMA area video playback and camera streaming are not going to work, so completely disabling CMA is not an option for us. The only difference I can see between DTS and command line CMA configurartion, is that in DTS you can set memory range used by CMA and in command line you cannot. My question is: is it safe to configure CMA via command line for all use cases on i.MX8 and i.MX8M platforms ?
Thanks.