arm64: dts: msm8996: Mark the GPU's SMMU as an adreno one.
authorEric Anholt <eric@anholt.net>
Fri, 26 Mar 2021 23:13:03 +0000 (16:13 -0700)
committerWill Deacon <will@kernel.org>
Tue, 8 Jun 2021 11:35:50 +0000 (12:35 +0100)
This enables the adreno-specific SMMU path that sets HUPCF so
(user-managed) page faults don't wedge the GPU.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210326231303.3071950-2-eric@anholt.net
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index ce430ba..5d06216 100644 (file)
                };
 
                adreno_smmu: iommu@b40000 {
-                       compatible = "qcom,msm8996-smmu-v2", "qcom,smmu-v2";
+                       compatible = "qcom,msm8996-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2";
                        reg = <0x00b40000 0x10000>;
 
                        #global-interrupts = <1>;