File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
src/board/raspberry-pi-4/dts/broadcom Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 11#include <arm64/broadcom/bcm2711-rpi-4-b.dts>
22
33/ {
4- memory@0 {
5- device_type = "memory";
6- reg = <0x0 0x0 0x0 0x30000000>; /* Reserve top 256MB for GPU */
4+ /* Dynamic GPU reservation */
5+ gpu-reserved {
6+ size = <0x0 0x10000000>; /* 256MB */
7+ alignment = <0x0 0x1000000>; /* 16MB aligned */
8+ alloc-ranges = <0x0 0x10000000 0x1 0x00000000>; /* Allow anywhere in RAM */
9+ no-map;
710 };
8- reserved-memory {
9- #address-cells = <2>;
10- #size-cells = <2>;
11- ranges ;
12- gpu_reserved: gpu@30000000 {
13- reg = <0x0 0x30000000 0x0 0x10000000>;
14- no-map ;
15- } ;
11+
12+ /* CMA pool */
13+ cma-reserved {
14+ compatible = "shared-dma-pool" ;
15+ size = <0x0 0x10000000>; /* 256MB */
16+ alignment = <0x0 0x1000000>; /* 16MB aligned */
17+ linux,cma-default ;
18+ reusable ;
1619 };
1720
1821 panel_disp: panel_disp@1 {
You can’t perform that action at this time.
0 commit comments