Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: sunxi_defconfig: Enable CMA

The DRM driver most notably, but also out of tree drivers (for now) like
the VPU or GPU drivers, are quite big consumers of large, contiguous memory
buffers. However, the sunxi_defconfig doesn't enable CMA in order to
mitigate that, which makes them almost unusable.

Enable it to make sure it somewhat works.

Cc: <stable@vger.kernel.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Maxime Ripard and committed by
Arnd Bergmann
c13e7f31 69c4d8ed

+2
+2
arch/arm/configs/sunxi_defconfig
··· 10 10 CONFIG_NR_CPUS=8 11 11 CONFIG_AEABI=y 12 12 CONFIG_HIGHMEM=y 13 + CONFIG_CMA=y 13 14 CONFIG_ARM_APPENDED_DTB=y 14 15 CONFIG_ARM_ATAG_DTB_COMPAT=y 15 16 CONFIG_CPU_FREQ=y ··· 34 33 # CONFIG_WIRELESS is not set 35 34 CONFIG_DEVTMPFS=y 36 35 CONFIG_DEVTMPFS_MOUNT=y 36 + CONFIG_DMA_CMA=y 37 37 CONFIG_BLK_DEV_SD=y 38 38 CONFIG_ATA=y 39 39 CONFIG_AHCI_SUNXI=y