]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
arm64: config: xilinx: zynqmp: Increase CMA to 256M
authorHyun Kwon <hyun.kwon@xilinx.com>
Wed, 26 Jul 2017 00:55:49 +0000 (17:55 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 27 Jul 2017 08:59:27 +0000 (10:59 +0200)
About 100 Mbytes are required with 4K desktop environment:
(6 4K framebuffers: 2 for fbdev, 4 for Xorg). The Xorg sometimes
fails to allocate framebuffers from 128M CMA memory, since the CMA
is shared with other drivers too. Thus increase CMA size to 256M
to have enough memory, especially for video applications.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/configs/xilinx_zynqmp_defconfig

index 57775cf1e8687a7afddc20338af9593da1a9652d..e372d55543cbb163fbd37d3c064d5d8d25799313 100644 (file)
@@ -127,7 +127,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DMA_CMA=y
-CONFIG_CMA_SIZE_MBYTES=128
+CONFIG_CMA_SIZE_MBYTES=256
 CONFIG_ARM_CCI400_PMU=y
 CONFIG_CONNECTOR=y
 CONFIG_MTD=y