boundarydevices / linux

Kernel tree for Ezurio (ex-Boundary Devices) platforms
https://www.ezurio.com/
194 stars 290 forks source link

arm64: dts: imx8mm-dwe: Reduce CMA from 640 to 256 MiB #56

Closed zacatac closed 4 years ago

zacatac commented 4 years ago

The reduction of total available memory from 2GB to 1GB in addition with a reserved cma region of 640MiB left very few resources available. This PR reduces the size of the reserved cma region from 640 to 256 MiB and also renames the memory limiting statement from 3g to 1g.

gibsson commented 4 years ago

Please merge those 2 patches into 1. Also note that you should be able to overwrite cma parameter from U-Boot: => setenv cma 256M

zacatac commented 4 years ago

@gibsson squashed those commits.

I was also wondering what your recommendation is for the amount of reserved CMA for a 1GB system.