From b3096ba923f3115ef16bc106501c5b1f0d7a6013 Mon Sep 17 00:00:00 2001 From: Laura Abbott <lauraa@codeaurora.org> Date: Wed, 19 Feb 2014 12:05:37 -0800 Subject: [PATCH] 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: Laura Abbott <lauraa@codeaurora.org> --- drivers/base/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 4a5b00b542f3..a74efb29ea2e 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -282,13 +282,13 @@ config CMA_ALIGNMENT config CMA_AREAS int "Maximum count of the CMA device-private areas" - default 7 + default 15 help CMA allows to create CMA areas for particular devices. This parameter sets the maximum number of such device private CMA areas in the system. - If unsure, leave the default value "7". + If unsure, leave the default value "15". config CMA_RESERVE_DEFAULT_AREA bool "Permanently reserve the default area" -- GitLab