Skip to content
Commit ed48dfb0 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

overlays: Reduce Pi 4 vc4 CMA size to 320MB



Reduce the default CMA allocation requested by the vc4-kms-v3d-pi4 and
vc4-fkms-v3d-pi4 overlays to 320MB.

Use magic values of the form (<n>*64 - 4)MB to encode default values
of <n>*64MB, allowing these defaults to be distinguished from values
set explicitly by the user with the usual overlay parameters (e.g.
"cma-384"). Only default values will be capped if the Pi RAM is too
small or the gpu_mem setting too large for it to be viable.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent d9bee71e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment