From 01bd2f0f1196ad3a7e6fb2f66551140923452d96 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Fri, 23 Jun 2017 22:27:25 +0200 Subject: ARM: bcm2835_defconfig: Increase CMA for VC4 The VC4 needs more memory than the default setting: cma: cma_alloc: alloc failed, req-size: 4096 pages, ret: -12 vc4-drm soc:gpu: failed to allocate buffer with size 16777216 So increase the value to 32 MB and fix this issue. Signed-off-by: Stefan Wahren Reviewed-by: Eric Anholt Signed-off-by: Eric Anholt --- arch/arm/configs/bcm2835_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/configs') diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index 14bb27246b94..fe0603824650 100644 --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -55,6 +55,7 @@ CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_STANDALONE is not set CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=32 CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SCSI_CONSTANTS=y -- cgit v1.2.3