diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2023-10-31 19:59:26 +0100 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2024-01-09 14:46:34 +0530 |
commit | a55efb33afffd3d3277bdba037899e6bb6f13fd6 (patch) | |
tree | 148717002015967ac0007137fb04c594464d9a51 | |
parent | a27a16a0a4b482255017c8a4ee700b88ca464303 (diff) |
WIP: sdm845: gpu: thermal: Fix wild reboot during Antutu testrbX-6.7
It appears the gpu-bottom/top temperature sensors are
showing high temperature, above 115°C, while running the
Antutu v10_3d_lite benchmark apk.
On Rafael phone, the gpu thermal zone is configured to be
mitigated at 85°C with devfreq. The following change is
supposed to configure the same mitigation on the DB845c.
Change-Id: Ib5d60f38da6a36f41bf3cf3a408db5adee5ac132
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[AmitP: Tested with WIP thermal HAL
https://r.android.com/q/topic:%22linaro-thermal-hal%22]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sdm845.dtsi | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index bf5e6eb9d313..531fdfe5a0ce 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4759,6 +4759,8 @@ interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>; interconnect-names = "gfx-mem"; + #cooling-cells = <2>; + status = "disabled"; gpu_opp_table: opp-table { @@ -5598,12 +5600,26 @@ thermal-sensors = <&tsens0 11>; trips { - gpu1_alert0: trip-point0 { + gpu1_alert0: trip-point0 { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu1_alert1: trip-point1 { temperature = <90000>; hysteresis = <2000>; type = "hot"; }; }; + + cooling-maps { + map0 { + trip = <&gpu1_alert0>; + cooling-device = + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpu-bottom-thermal { @@ -5613,12 +5629,26 @@ thermal-sensors = <&tsens0 12>; trips { - gpu2_alert0: trip-point0 { + gpu2_alert0: trip-point0 { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + + gpu2_alert1: trip-point1 { temperature = <90000>; hysteresis = <2000>; type = "hot"; }; }; + + cooling-maps { + map0 { + trip = <&gpu2_alert0>; + cooling-device = + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; aoss1-thermal { |