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 16:58:34 +0000
commita9a832a3d014de00787585bf3a4465cd4cf67aa9 (patch)
tree9d3b38d4a84bbc3a937f56643f91512e07015801
parent629681b1d914525110b29decd3c8da4c18e768ba (diff)
downloaddevicetree-android-msm-redbull-4.19-s-beta-1.tar.gz
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: 181679125 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 d1a99898..6fadcbe8 100644
--- a/qcom/lito-gpu.dtsi
+++ b/qcom/lito-gpu.dtsi
@@ -140,6 +140,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";