]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: msm8998: enable adreno_smmu by default
authorMarc Gonzalez <mgonzalez@freebox.fr>
Wed, 15 May 2024 14:27:44 +0000 (16:27 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 27 May 2024 16:40:08 +0000 (11:40 -0500)
15 qcom platform DTSI files define an adreno_smmu node.
msm8998 is the only one with adreno_smmu disabled by default.

There's no reason why this SMMU should be disabled by default,
it doesn't need any further configuration.

Bring msm8998 in line with the 14 other platforms.

This fixes GPU init failing with ENODEV:
msm_dpu c901000.display-controller: failed to load adreno gpu
msm_dpu c901000.display-controller: failed to bind 5000000.gpu (ops a3xx_ops): -19

Fixes: 87cd46d68aeac8 ("Configure Adreno GPU and related IOMMU")
Signed-off-by: Marc Gonzalez <mgonzalez@freebox.fr>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/be51d1a4-e8fc-48d1-9afb-a42b1d6ca478@freebox.fr
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index d795b2bbe13308610a080a783def4d9955cc8d63..254c12d7373c9a754528be870c4fcfda0ab8e4c4 100644 (file)
                         * SoC VDDMX RPM Power Domain in the Adreno driver.
                         */
                        power-domains = <&gpucc GPU_GX_GDSC>;
-                       status = "disabled";
                };
 
                gpucc: clock-controller@5065000 {