arm64: dts: qcom: sm8150: Don't start Adreno in headless mode
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 31 Mar 2023 01:14:51 +0000 (03:14 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 7 Apr 2023 23:33:26 +0000 (16:33 -0700)
Now that there's display support, there is no reason to assume the default
mode for Adreno should be headless. Keep it like that for boards that
previously enabled it, so as not to create regressions though.

Tested-by: Marijn Suijten <marijn.suijten@somainline.org> # On Sony Xperia 5
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230331-topic-konahana_speedbin-v3-3-2dede22dd7f7@linaro.org
arch/arm64/boot/dts/qcom/sm8150-hdk.dts
arch/arm64/boot/dts/qcom/sm8150-mtp.dts
arch/arm64/boot/dts/qcom/sm8150.dtsi

index 8f014a2..c0200e7 100644 (file)
 };
 
 &gpu {
+       /*
+        * NOTE: "amd,imageon" makes Adreno start in headless mode, remove it
+        * after display support is added on this board.
+        */
+       compatible = "qcom,adreno-640.1", "qcom,adreno", "amd,imageon";
        status = "okay";
 };
 
index eff995a..34ec849 100644 (file)
 };
 
 &gpu {
+       /*
+        * NOTE: "amd,imageon" makes Adreno start in headless mode, remove it
+        * after display support is added on this board.
+        */
+       compatible = "qcom,adreno-640.1", "qcom,adreno", "amd,imageon";
        status = "okay";
 };
 
index 69587aa..39e43a4 100644 (file)
                };
 
                gpu: gpu@2c00000 {
-                       /*
-                        * note: the amd,imageon compatible makes it possible
-                        * to use the drm/msm driver without the display node,
-                        * make sure to remove it when display node is added
-                        */
-                       compatible = "qcom,adreno-640.1",
-                                    "qcom,adreno",
-                                    "amd,imageon";
-
+                       compatible = "qcom,adreno-640.1", "qcom,adreno";
                        reg = <0 0x02c00000 0 0x40000>;
                        reg-names = "kgsl_3d0_reg_memory";