Commit 6dd3715
committed
ARM: configs: at91: enable contiguous memory allocator.
Enable cma to allocate big blocks of memory. The feature is enabled here
and size of cma is passed from the bootargs. IPs like ISC requires
consecutive memory areas to store high resolution frames. The actual size
reserved for cma depends on the product, how much total memory it has and
how far the system is loaded. Considering these factors the value is passed
through the kernel arguments (Eg: cma=128m)
The size is deliberatly set as 0 to disable cma by default. If the size of
0 is selected, CMA is disabled by default, but it can be enabled by passing
cma=size[MG]
Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>1 parent ec4b125 commit 6dd3715
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| 301 | + | |
| 302 | + | |
299 | 303 | | |
300 | 304 | | |
301 | 305 | | |
| |||
0 commit comments