Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466506

[PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB

From Guodong Xu <guodong.xu@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB
Date 2016-08-19 17:50 +0200
Message-ID <s7Uds-7rO-25@gated-at.bofh.it> (permalink)
References <s7Uds-7rO-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Xinliang Liu <xinliang.liu@linaro.org>

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@linaro.org>
---
 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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB Guodong Xu <guodong.xu@linaro.org> - 2016-08-19 17:50 +0200
  Re: [PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB Thierry Reding <treding@nvidia.com> - 2016-08-22 11:10 +0200
    Re: [PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB Guodong Xu <guodong.xu@linaro.org> - 2016-08-24 04:30 +0200

csiph-web