summaryrefslogtreecommitdiff
path: root/arch/arm64/configs
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-07-05 12:15:56 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2021-07-06 10:46:30 +0200
commita85fbea915ee649e1534944b6247dae6a64d41fc (patch)
tree763f672f1f01d737c81db297ec6b5f953b7d09fb /arch/arm64/configs
parentf1d5aa9766216ace080acaad9e44b316d4c510c9 (diff)
toradex_defconfig: fix cma size
Set the size of the contiguous memory allocator to 256MB or 25% of the total memory size, whichever is higher. With commit f1d5aa976621 ("toradex_defconfig: reduce cma size") CMA got reduced too much for Verdin iMX8MP 2GB modules. With only 256MB of CMA video playback no longer works. Increasing it fixes that. Related-to: ELB-4019 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm64/configs')
-rw-r--r--arch/arm64/configs/toradex_defconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/configs/toradex_defconfig b/arch/arm64/configs/toradex_defconfig
index 3d2132c9263f..7a619720d300 100644
--- a/arch/arm64/configs/toradex_defconfig
+++ b/arch/arm64/configs/toradex_defconfig
@@ -1057,8 +1057,8 @@ CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=m
CONFIG_INDIRECT_PIO=y
CONFIG_CRC_CCITT=y
CONFIG_CMA_SIZE_MBYTES=256
-CONFIG_CMA_SIZE_PERCENTAGE=12
-CONFIG_CMA_SIZE_SEL_MIN=y
+CONFIG_CMA_SIZE_PERCENTAGE=25
+CONFIG_CMA_SIZE_SEL_MAX=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y