diff options
author | Ming Liu <ming.liu@toradex.com> | 2022-07-05 15:54:59 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2022-07-05 15:54:59 +0200 |
commit | 3bd50bd0bd4533fc47d0ffaa0cfe8cfe28bd1ef7 (patch) | |
tree | 9c55936011f289f2e73da4e76d57250c25d08e46 /recipes-kernel | |
parent | c546e9b2a918d7c8c279a0487523bfaadf9a3c27 (diff) |
linux-toradex-mainline:defconfig: encrease CMA reserved memory
Set the CMA area to 256MB for modules with 512MB and more RAM, and to
50% of the RAM for modules which have less than 512MB
Related-to: ELB-2913
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-mainline-git/defconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig index 6737c7e..c8dc1a8 100644 --- a/recipes-kernel/linux/linux-toradex-mainline-git/defconfig +++ b/recipes-kernel/linux/linux-toradex-mainline-git/defconfig @@ -458,7 +458,9 @@ CONFIG_CRYPTO_DEV_MXS_DCP=y CONFIG_CRC_T10DIF=y CONFIG_CRC7=m CONFIG_LIBCRC32C=m -CONFIG_CMA_SIZE_MBYTES=64 +CONFIG_CMA_SIZE_MBYTES=256 +CONFIG_CMA_SIZE_PERCENTAGE=50 +CONFIG_CMA_SIZE_SEL_MIN=y CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y |