diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2023-06-01 22:32:21 +0200 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2023-06-15 13:14:57 +0200 |
commit | 6970cadb216cef7951bc915a841123d0967e08bc (patch) | |
tree | 8ef611c314245e68aeac4f3d625d4b2de4382c63 /arch/arm64/boot/dts | |
parent | arm64: dts: mediatek: mt8183: kukui: Add scp firmware-name (diff) | |
download | linux-6970cadb216cef7951bc915a841123d0967e08bc.tar.xz linux-6970cadb216cef7951bc915a841123d0967e08bc.zip |
arm64: dts: mediatek: mt8192: Add missing dma-ranges to soc node
In the series "Adjust the dma-ranges for MTK IOMMU", the mtk-iommu
driver was adapted to separate the iova range based on the larb used,
and a dma-ranges property was added to the soc node in the devicetree of
the affected SoCs allowing the whole 16GB iova range to be used. Except
that for mt8192, there was no patch adding dma-ranges.
Add the missing dma-ranges property to the soc node like was done for
mt8195 and mt8186. This fixes the usage of the vcodec, which would
otherwise trigger iommu faults.
Signed-off-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230601203221.3675915-1-nfraprado@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8192.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 693c55c5f11a..bab403a43c4d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -411,6 +411,7 @@ #address-cells = <2>; #size-cells = <2>; compatible = "simple-bus"; + dma-ranges = <0x0 0x0 0x0 0x0 0x4 0x0>; ranges; performance: performance-controller@11bc10 { |