]> git.itanic.dy.fi Git - linux-stable/commit
arm64: dts: mediatek: mt8192: Add missing dma-ranges to soc node
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 1 Jun 2023 20:32:21 +0000 (16:32 -0400)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 15 Jun 2023 11:14:57 +0000 (13:14 +0200)
commit6970cadb216cef7951bc915a841123d0967e08bc
tree8ef611c314245e68aeac4f3d625d4b2de4382c63
parent127e33f91ed90db67fe8e18eb48054f9a96e809f
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>
arch/arm64/boot/dts/mediatek/mt8192.dtsi