Files
openwrt-master/target/linux/bcm27xx/patches-6.6/950-1301-dts-2712-Reduce-default-cma-usage-on-Pi5.patch
domenico c06fb25d1f
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Initial commit
2025-06-24 14:35:53 +02:00

31 lines
972 B
Diff

From 3edaa3875fbeb0b2effd77c62baabf2933efc6ef Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Fri, 13 Sep 2024 17:23:58 +0100
Subject: [PATCH 1301/1350] dts: 2712: Reduce default cma usage on Pi5
Significant cma shouldn't really be needed on Pi5 as the hardware
blocks support iommu and can access system memory.
We've migrated codec and camera support to system memory, and 3d
has always (even on Pi4) used system memory.
A large cma block causes issues with enabling NUMA on a low
memory (2G) Pi5, as cma cannot span numa regions.
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts
+++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi5-overlay.dts
@@ -3,7 +3,7 @@
#include "cma-overlay.dts"
&frag0 {
- size = <((320-4)*1024*1024)>;
+ size = <(64*1024*1024)>;
};
/ {