Skip to content

Commit 74b9241

Browse files
njhollinghurstpopcornmix
authored andcommitted
DT: bcm2712: Increase IOMMU2 (ISP-BE, HEVC) IOVA aperture to 4GBytes
This is largely to test a previous change that made IOMMU aperture configurable and allocated lazily; it may be useful in its own right. We expect IOMMU2 to be well-utilized e.g. when using 64MPix cameras. Signed-off-by: Nick Hollinghurst <[email protected]>
1 parent c684e77 commit 74b9241

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/arm64/boot/dts/broadcom/bcm2712-ds.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
compatible = "brcm,bcm2712-iommu";
286286
reg = <0x10 0x5100 0x0 0x80>;
287287
cache = <&iommuc>;
288+
aperture-size = <0x1 0x00000000>; // Increase IOVA aperture size to 4GBytes
288289
#iommu-cells = <0>;
289290
};
290291

@@ -492,3 +493,7 @@
492493
/* 14GiB, 64-bit, prefetchable at PCIe 04_00000000 */
493494
<0x43000000 0x04 0x00000000 0x18 0x00000000 0x03 0x80000000>;
494495
};
496+
497+
&pcie2 {
498+
brcm,vdm-qos-map = /bits/ 8 <8 8 8 9 10 10 11 11>;
499+
};

0 commit comments

Comments
 (0)