aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Barker <paul.barker@sancloud.co.uk>2019-04-22 22:47:06 +0000
committerPaul Barker <paul.barker@sancloud.co.uk>2019-05-14 19:32:50 +0000
commite123bf04dbc05a6e37f2744bca1f860793fd2fec (patch)
treedf4516174fc7d7b03aac065539898168909ff4dd
parentbaaa843e4d693013cc92773d379d6bec82517dc4 (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. Bug-AGL: SPEC-2409 Change-Id: I0e09773c37133db86520fc15ed0ad11e80382b2e Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
-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 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"