From e123bf04dbc05a6e37f2744bca1f860793fd2fec Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Mon, 22 Apr 2019 22:47:06 +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. Bug-AGL: SPEC-2409 Change-Id: I0e09773c37133db86520fc15ed0ad11e80382b2e 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 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 88ac94b15..6c15b1661 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 +1,5 @@ require recipes-kernel/linux/linux-agl.inc + +FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" + +SRC_URI += "file://cma-256.cfg" -- cgit 1.2.3-korg