mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00
arm64: dts: qcom: msm8916/39: Disable GPU by default
MSM8916/39 do not need signed GPU firmware so it is generally okay to have it enabled by default. However, currently the GPU does not work without also enabling MDSS and it's questionable if someone would really need it without a display in practice. For consistency let's follow newer SoCs and disable the GPU by default. Enable it for all existing devices that already have &mdss enabled. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20230911-msm8916-rmem-v1-2-b7089ec3e3a1@gerhold.net Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
2958924842
commit
0ce5bb825d
@ -230,6 +230,10 @@ &camss {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&lpass {
|
&lpass {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -131,6 +131,10 @@ &blsp_uart2 {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&lpass {
|
&lpass {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -239,6 +239,10 @@ &blsp_uart2 {
|
|||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&mdss {
|
&mdss {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -1750,7 +1750,7 @@ cci_i2c0: i2c-bus@0 {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu@1c00000 {
|
gpu: gpu@1c00000 {
|
||||||
compatible = "qcom,adreno-306.0", "qcom,adreno";
|
compatible = "qcom,adreno-306.0", "qcom,adreno";
|
||||||
reg = <0x01c00000 0x20000>;
|
reg = <0x01c00000 0x20000>;
|
||||||
reg-names = "kgsl_3d0_reg_memory";
|
reg-names = "kgsl_3d0_reg_memory";
|
||||||
@ -1773,6 +1773,7 @@ gpu@1c00000 {
|
|||||||
power-domains = <&gcc OXILI_GDSC>;
|
power-domains = <&gcc OXILI_GDSC>;
|
||||||
operating-points-v2 = <&gpu_opp_table>;
|
operating-points-v2 = <&gpu_opp_table>;
|
||||||
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
|
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
gpu_opp_table: opp-table {
|
gpu_opp_table: opp-table {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
|
@ -39,6 +39,10 @@ usb_id: usb-id {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&gpu {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&mdss {
|
&mdss {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@ -1395,7 +1395,7 @@ mdss_dsi1_phy: phy@1aa0300 {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpu@1c00000 {
|
gpu: gpu@1c00000 {
|
||||||
compatible = "qcom,adreno-405.0", "qcom,adreno";
|
compatible = "qcom,adreno-405.0", "qcom,adreno";
|
||||||
reg = <0x01c00000 0x10000>;
|
reg = <0x01c00000 0x10000>;
|
||||||
reg-names = "kgsl_3d0_reg_memory";
|
reg-names = "kgsl_3d0_reg_memory";
|
||||||
@ -1418,6 +1418,7 @@ gpu@1c00000 {
|
|||||||
power-domains = <&gcc OXILI_GDSC>;
|
power-domains = <&gcc OXILI_GDSC>;
|
||||||
operating-points-v2 = <&opp_table>;
|
operating-points-v2 = <&opp_table>;
|
||||||
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
|
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
opp_table: opp-table {
|
opp_table: opp-table {
|
||||||
compatible = "operating-points-v2";
|
compatible = "operating-points-v2";
|
||||||
|
Loading…
Reference in New Issue
Block a user