From cf3d0afc47637c24677e1a4f381f1d4dc42f006a Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Thu, 20 Feb 2020 11:26:55 -0700 Subject: [PATCH] FROMLIST: arm64: dts: sdm845: Set the virtual address range for GMU allocations GMU DMA allocations need to be mapped between 0x60000000 and 0x80000000 in the GMU virtual address space. Specify the dma-range so the iova allocator does the right thing. Signed-off-by: Jordan Crouse Signed-off-by: John Stultz Link: https://lore.kernel.org/lkml/1582223216-23459-4-git-send-email-jcrouse@codeaurora.org/ Change-Id: I198b3ed8bad95ba38db00dd181604875b589b497 --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 53c6cbe657a6..c841d749d5e4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3126,6 +3126,8 @@ gmu: gmu@506a000 { <&gpucc GPU_GX_GDSC>; power-domain-names = "cx", "gx"; + dma-ranges = <0 0x60000000 0 0x60000000 0 0x20000000>; + iommus = <&adreno_smmu 5>; operating-points-v2 = <&gmu_opp_table>;