Hi,
I built and flashed the Android 11 OS on my custom i.MX8MP board. After booting Android 11, I encountered a GPU driver-related issue in the serial console. I followed the solution suggested in the NXP forum:
https://community.nxp.com/t5/i-MX-Processors/Custom-IMX8MP-Board-GPU-STATE-DUMP-DMA-Appears-to-be-St...
Since we are using 6 GB of DDR, I created a new node in the imx8mp.dtsi file to allocate 25% of RAM for the GPU. However, this modification does not seem to have any effect in Android OS. I also found the CMA variable in my BoardConfig.mk file and increased it to 25% of the RAM, but the issue persists.
For your reference, I have attached the modifications I made and the log file.
imx8mp.dtsi
(Note: I can't find the linux,cma node in the dtsi file, so I manually added)
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0 0x3c000000>;
alloc-ranges = <0 0x40000000 0 0xC0000000>;
linux,cma-default;