[PATCH] arm: exynos increase CONFIG_CMA_SIZE_MBYTES to 96

Shuah Khan shuahkh at osg.samsung.com
Mon Feb 27 16:23:52 PST 2017


Current CMA size of 64 Mbytes is right on the edge of being too small
for some display managers.  With the proposed s5p_mfc patch series that
pre-allocate buffers, when display manager starts, it fails to get GEM
buffers.  Increasing the CMA size to 96 solves the problem.

Change CONFIG_CMA_SIZE_MBYTES to 96 in exynos_defconfig to address the
problem.

Signed-off-by: Shuah Khan <shuahkh at osg.samsung.com>
Suggested-by: Marek Szyprowski <m.szyprowski at samsung.com>
---
 arch/arm/configs/exynos_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 742baf0..2541414 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -53,7 +53,7 @@ CONFIG_RFKILL_REGULATOR=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMA_CMA=y
-CONFIG_CMA_SIZE_MBYTES=64
+CONFIG_CMA_SIZE_MBYTES=96
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_CRYPTOLOOP=y
 CONFIG_BLK_DEV_RAM=y
-- 
2.7.4




More information about the linux-arm-kernel mailing list