summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud/recipes-kernel/linux
diff options
context:
space:
mode:
authorPaul Barker <paul@betafive.co.uk>2019-03-03 14:28:13 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-07 01:23:26 +0000
commit485c943f078d52747251061652dc16717114aecd (patch)
tree847cea32f11ac5d8bb6336b32b06b3d87a78aea1 /meta-agl-bsp/meta-sancloud/recipes-kernel/linux
parentfafa41e873d8fddc02c38d94422521e6eb60dda4 (diff)
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 <paul@betafive.co.uk>
Diffstat (limited to 'meta-agl-bsp/meta-sancloud/recipes-kernel/linux')
-rw-r--r--meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe/cma-256.cfg1
-rw-r--r--meta-agl-bsp/meta-sancloud/recipes-kernel/linux/linux-bbe_%.bbappend4
2 files changed, 5 insertions, 0 deletions
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"