if you need to know how to set this memory in the kernel, you can refer to the board dtsi file, for example, imx6q board, you can find the imx6q.dtsi:
reserved-memory {
#address-cells = <1>;
#size-cells = <1>;
ranges;
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x14000000>;
linux,cma-default;
};
};
I got information about gpu settings:
”some continuous memory reserved for GPU, and the size can be changed rhrouhg u-boot arguments with
"glacore.contiguousize=xxx" This memory can be accesses fast and cannot support cacheable attribute.“
for more detailed information about gpu memory, pls refer to the chapter Chapter 14 GPU Memory Introduction
of i.MX Graphics User’s Guide