summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill McVicker <willmcvicker@google.com>2021-03-18 13:09:56 -0700
committerWill McVicker <willmcvicker@google.com>2021-03-23 17:52:28 +0000
commit39a26d7d0fedbac8e772388a9762f357ab3bad98 (patch)
tree00c01d65fa5cf0f60189c1ce68fac86ec02ea702
parent04777100f3367f6409621ec4d2716213a8c285c6 (diff)
downloaddevicetree-39a26d7d0fedbac8e772388a9762f357ab3bad98.tar.gz
GKI: lito: Add kgsl-3d0 DT links to force GMU and kgsl-smmu to probe firstandroid-11.0.0_r0.116android-11.0.0_r0.110android-11.0.0_r0.106android-msm-barbet-4.19-android11-d2
If the GMU or kgsl-smmu device probes after the kgsl-3d0 device, then the GPU will get into a bad state when trying to suspend the GMU. This state is not recoverable without rebooting the device. Adding these DT links, forces gmu and kgsl_smmu to probe before msm_gpu. Bug: 181270253 Test: verify boot and probe order on redfin and bramble Signed-off-by: Will McVicker <willmcvicker@google.com> Change-Id: I67dcab89738a9d001f6d4bc9fc0b39db0e50699b
-rw-r--r--qcom/lito-gpu.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/qcom/lito-gpu.dtsi b/qcom/lito-gpu.dtsi
index bee8b839..49411495 100644
--- a/qcom/lito-gpu.dtsi
+++ b/qcom/lito-gpu.dtsi
@@ -141,6 +141,10 @@
vddcx-supply = <&gpu_cx_gdsc>;
vdd-supply = <&gpu_gx_gdsc>;
+ /* Force these to probe first */
+ gmu-supply = <&gmu>;
+ smmu-supply = <&kgsl_smmu>;
+
nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>, <&gpu_lm_efuse>;
nvmem-cell-names = "speed_bin", "gaming_bin", "isense_slope";