Skip to content

Commit 8a41556

Browse files
Phil Elwellpopcornmix
authored andcommitted
arm/dts: Give v3dbus a 16GB DMA address range
Without this change, V3D ends up using (and rapidly running out of) bounce buffers. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
1 parent e112312 commit 8a41556

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎arch/arm/boot/dts/bcm2838.dtsi‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -287,16 +287,16 @@
287287
v3dbus {
288288
compatible = "simple-bus";
289289
#address-cells = <1>;
290-
#size-cells = <1>;
291-
ranges = <0x7c500000 0x0 0xfc500000 0x03300000>,
292-
<0x40000000 0x0 0xff800000 0x00800000>;
293-
dma-ranges = <0x00000000 0x0 0x00000000 0x3c000000>;
290+
#size-cells = <2>;
291+
ranges = <0x7c500000 0x0 0xfc500000 0x0 0x03300000>,
292+
<0x40000000 0x0 0xff800000 0x0 0x00800000>;
293+
dma-ranges = <0x00000000 0x0 0x00000000 0x4 0x00000000>;
294294

295295
v3d: v3d@7ec04000 {
296296
compatible = "brcm,2711-v3d";
297297
reg =
298-
<0x7ec00000 0x4000>,
299-
<0x7ec04000 0x4000>;
298+
<0x7ec00000 0x0 0x4000>,
299+
<0x7ec04000 0x0 0x4000>;
300300
reg-names = "hub", "core0";
301301

302302
power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>;

0 commit comments

Comments
 (0)