From fefb358dca0ac89b970c77671b2efda2a8cf99c0 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Wed, 28 Dec 2016 07:45:15 +0200 Subject: linux-raspberrypi: add ENABLE_CMA options to kernel command line Add ENABLE_CMA setting that enables required kernel configuration to allow the dynamic CMA to function. Change-Id: I0b0ab0fd7fd64454ea3cc9a89344a98897838e11 Signed-off-by: Matt Ranostay --- .../recipes-kernel/linux/linux-raspberrypi_4.4.bbappend | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux') diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend index cc6cbeeb5..e5cdb2aff 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bbappend @@ -66,6 +66,9 @@ do_configure_append() { CMDLINE_DEBUG = "" CMDLINE_append = " usbhid.mousepoll=0" +# Add options to allow CMA to operate +CMDLINE_append = ' ${@base_conditional("ENABLE_CMA", "1", "coherent_pool=6M smsc95xx.turbo_mode=N", "", d)}' + KERNEL_MODULE_AUTOLOAD += "snd-bcm2835" KERNEL_MODULE_AUTOLOAD += "hid-multitouch" -- cgit 1.2.3-korg