OSDN Git Service

ARM: sunxi_defconfig: Enable CMA
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 19 Jan 2018 13:32:08 +0000 (14:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 18:57:07 +0000 (19:57 +0100)
commit1f32f15ec73c76e5136ca9c42bc26c9526700c44
treee64aa76c7bfe50f722c7a3084de8019a9673f25d
parent969e2145eb4a069a60e8b090aa7e8b8aa0efc365
ARM: sunxi_defconfig: Enable CMA

commit c13e7f313da33d1488355440f1a10feb1897480a upstream.

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.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/configs/sunxi_defconfig