[PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB
From: Guodong Xu
Date: Fri Aug 19 2016 - 11:44:29 EST
From: Xinliang Liu <xinliang.liu@xxxxxxxxxx>
For debian linux, cma heap is used to allocate graphic buffers.
The default size is 16 MB which is not enought.
So increase the size to 128 MB.
Signed-off-by: Xinliang Liu <xinliang.liu@xxxxxxxxxx>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index e27f086..c94f2fa 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -130,6 +130,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DMA_CMA=y
+CONFIG_CMA_SIZE_MBYTES=128
CONFIG_MTD=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_SPI_NOR=y
--
1.9.1