mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
538a1d740c
The patches were generated from the RPi repo with the following command: git format-patch v6.6.58..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
31 lines
972 B
Diff
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)>;
|
|
};
|
|
|
|
/ {
|