Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit fc4d8fb

Browse files
committed
templates: raspberrypi: lower GPU_MEM
GPU_MEM is not used by vc4graphics. See commit for a more detailed description. Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
1 parent 7a67d64 commit fc4d8fb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gdp-src-build/conf/templates/raspberrypi.local.inc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
include local.inc
22

3-
GPU_MEM = "128"
3+
# vc4grahpics do not use GPU_MEM, instead it uses the CMA memory, allocating
4+
# a high number of GPU_MEM does seem to eat memory from CMA causing OOM errors.
5+
#
6+
# Ultimatly we would like to set this to 0, but it does seem to need a small
7+
# amount otherwise the system will not boot. Fails at first stage already,
8+
# loading the Linux kernel.
9+
GPU_MEM = "16"
410

511
MACHINE_FEATURES_append = " vc4graphics"
612

0 commit comments

Comments
 (0)