Commit 1642ab96 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm8150: Don't start Adreno in headless mode



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: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230331-topic-konahana_speedbin-v3-3-2dede22dd7f7@linaro.org
parent f1d33c90
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -359,6 +359,11 @@
};

&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";
};

+5 −0
Original line number Diff line number Diff line
@@ -354,6 +354,11 @@
};

&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";
};

+1 −9
Original line number Diff line number Diff line
@@ -2153,15 +2153,7 @@
		};

		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";