overlays: Set CMA to 512MB on Pi 4 for vc4
authorPhil Elwell <phil@raspberrypi.com>
Mon, 26 Jul 2021 10:05:18 +0000 (11:05 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Mon, 26 Jul 2021 11:19:22 +0000 (12:19 +0100)
commit9e87248154a633b18b4900ee742d9894b49e019b
tree5202d11363690b4a5626e0b188e657235ba596bb
parent7aa66c086ae01c4f77d54aaeb1d9f62573a7b748
overlays: Set CMA to 512MB on Pi 4 for vc4

Pi 4s have at least 1GB, and there are advantages to having more CMA
available (HEVC works out of the box, support for more complex video
setups, etc.) without significant disadvantages.

Can be overridden by appending a parameter to the dtoverlay line, e.g.
dtoverlay=vc4-fkms-v3d,cma-256

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/Makefile
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/overlay_map.dts
arch/arm/boot/dts/overlays/upstream-pi4-overlay.dts
arch/arm/boot/dts/overlays/vc4-fkms-v3d-pi4-overlay.dts [new file with mode: 0644]
arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts