Skip to content
Snippets Groups Projects
Commit b3096ba9 authored by Laura Abbott's avatar Laura Abbott
Browse files

cma: Increase the default number of regions


The total number of CMA regions that can be created is statically
decided at compile time via a config option. Incoming memory map
changes increase the number of CMA regions significantly across
almost all targets. Rather than make every target set the CONFIG,
just increase the default number. The additional overhead is very
small.

Change-Id: I2f60ee56b43c256f3bfa4d1e3ab95a8f378568ab
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent c0c4dd61
Branches
Tags
No related merge requests found
...@@ -282,13 +282,13 @@ config CMA_ALIGNMENT ...@@ -282,13 +282,13 @@ config CMA_ALIGNMENT
config CMA_AREAS config CMA_AREAS
int "Maximum count of the CMA device-private areas" int "Maximum count of the CMA device-private areas"
default 7 default 15
help help
CMA allows to create CMA areas for particular devices. This parameter CMA allows to create CMA areas for particular devices. This parameter
sets the maximum number of such device private CMA areas in the sets the maximum number of such device private CMA areas in the
system. system.
If unsure, leave the default value "7". If unsure, leave the default value "15".
config CMA_RESERVE_DEFAULT_AREA config CMA_RESERVE_DEFAULT_AREA
bool "Permanently reserve the default area" bool "Permanently reserve the default area"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment