Skip to content

Commit bd23d63

Browse files
committed
defconfigs: Increase the default CMA heap from 5MiB to 16MiB
With the frame buffer now coming from an ARM CMA allocation increase the size of the CMA heap to accommodate the default max 1920x1080 RGBA32 frame buffers (8MiB). CONFIG_CMA_SIZE_MBYTES was specified as 5, but reality was that was rounded up to 8MiB at runtime. Increase it to 16MiB. Signed-off-by: Dave Stevenson <[email protected]>
1 parent 7104336 commit bd23d63

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

arch/arm/configs/bcm2709_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ CONFIG_NFC=m
397397
CONFIG_DEVTMPFS=y
398398
CONFIG_DEVTMPFS_MOUNT=y
399399
CONFIG_DMA_CMA=y
400-
CONFIG_CMA_SIZE_MBYTES=5
400+
CONFIG_CMA_SIZE_MBYTES=16
401401
CONFIG_MTD=m
402402
CONFIG_MTD_BLOCK=m
403403
CONFIG_MTD_M25P80=m

arch/arm/configs/bcmrpi_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ CONFIG_NFC=m
391391
CONFIG_DEVTMPFS=y
392392
CONFIG_DEVTMPFS_MOUNT=y
393393
CONFIG_DMA_CMA=y
394-
CONFIG_CMA_SIZE_MBYTES=5
394+
CONFIG_CMA_SIZE_MBYTES=16
395395
CONFIG_MTD=m
396396
CONFIG_MTD_BLOCK=m
397397
CONFIG_MTD_M25P80=m

arch/arm64/configs/bcmrpi3_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ CONFIG_NFC=m
387387
CONFIG_DEVTMPFS=y
388388
CONFIG_DEVTMPFS_MOUNT=y
389389
CONFIG_DMA_CMA=y
390-
CONFIG_CMA_SIZE_MBYTES=5
390+
CONFIG_CMA_SIZE_MBYTES=16
391391
CONFIG_MTD=m
392392
CONFIG_MTD_BLOCK=m
393393
CONFIG_MTD_NAND=m

0 commit comments

Comments
 (0)