diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2017-06-23 22:27:25 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2017-07-19 13:37:16 -0700 |
commit | 01bd2f0f1196ad3a7e6fb2f66551140923452d96 (patch) | |
tree | 9165e1740fdd5e7a471e499d75e0b8b425bde4b7 | |
parent | 651e6d3c6b2c753d5ca3bbb48df8c60affe20f3d (diff) | |
download | op-kernel-dev-01bd2f0f1196ad3a7e6fb2f66551140923452d96.zip op-kernel-dev-01bd2f0f1196ad3a7e6fb2f66551140923452d96.tar.gz |
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 <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | arch/arm/configs/bcm2835_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index 14bb272..fe06038 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 |