50_local.conf.inc: Enable CMA within the raspberrypi3 template 95/7995/2
authorMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 27 Dec 2016 23:49:05 +0000 (23:49 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 30 Dec 2016 09:46:16 +0000 (09:46 +0000)
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)

templates/machine/raspberrypi3/50_local.conf.inc

index 70c0752..9ec236f 100644 (file)
@@ -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"