From 485c943f078d52747251061652dc16717114aecd Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Sun, 3 Mar 2019 14:28:13 +0000 Subject: meta-agl-bsp: meta-sancloud: linux-bbe: Reserve 256MB for CMA The tilcdc DRM driver needs more CMA memory available than we reserve by default in order to give a working GUI in AGL guppy. Change-Id: I3aea892889cdbc464acfdc5310cefd6654674286 Signed-off-by: Paul Barker --- meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg | 1 + meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg (limited to 'meta-agl-bsp/meta-sancloud') diff --git a/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg b/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg new file mode 100644 index 000000000..e08ea6c78 --- /dev/null +++ b/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg @@ -0,0 +1 @@ +CONFIG_CMA_SIZE_MBYTES=256 diff --git a/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend b/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend index 02161415f..fd5e75721 100644 --- a/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend +++ b/meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend @@ -1,2 +1,6 @@ require recipes-kernel/linux/linux-agl.inc require recipes-kernel/linux/linux-agl-4.9.inc + +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" + +SRC_URI += "file://cma-256.cfg" -- cgit 1.2.3-korg