aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2016-12-27 23:49:05 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-30 09:46:16 +0000
commit0a42053a5cb42806fdedba08fc0b5a3ec02f687e (patch)
treecb47f71d593354571ab269386914a710a3cf6250 /templates
parent7b1d64975d3d6708c74e534c48230bb1e81bbdee (diff)
50_local.conf.inc: Enable CMA within the raspberrypi3 template
Allow the raspberrypi3 GPU to use the CMA dynamic memory split to boost performance. Change-Id: Ia72e7b83f7cca2b6b8a622c632345c748547429b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit db6bd4b3cb83a97ccde587286e16ebbaaff57d02)
Diffstat (limited to 'templates')
-rw-r--r--templates/machine/raspberrypi3/50_local.conf.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/machine/raspberrypi3/50_local.conf.inc b/templates/machine/raspberrypi3/50_local.conf.inc
index 70c0752e7..9ec236f08 100644
--- a/templates/machine/raspberrypi3/50_local.conf.inc
+++ b/templates/machine/raspberrypi3/50_local.conf.inc
@@ -1,6 +1,10 @@
MACHINE = "raspberrypi3"
-GPU_MEM = "128"
+GPU_MEM = "512"
+
+ENABLE_CMA = "1"
+CMA_LWM = "16"
+CMA_HWM = "32"
CORE_IMAGE_EXTRA_INSTALL += "wayland weston"