Commit 08b1b831 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: sdm845: Hook up GPU cooling device

In order to allow for throttling the GPU, hook up the cooling device
to the respective thermal zones.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240102-topic-gpu_cooling-v1-4-fda30c57e353@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent f48cea4a
...@@ -4768,6 +4768,7 @@ gpu: gpu@5000000 { ...@@ -4768,6 +4768,7 @@ gpu: gpu@5000000 {
operating-points-v2 = <&gpu_opp_table>; operating-points-v2 = <&gpu_opp_table>;
qcom,gmu = <&gmu>; qcom,gmu = <&gmu>;
#cooling-cells = <2>;
interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>; interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>;
interconnect-names = "gfx-mem"; interconnect-names = "gfx-mem";
...@@ -5610,8 +5611,15 @@ gpu-top-thermal { ...@@ -5610,8 +5611,15 @@ gpu-top-thermal {
thermal-sensors = <&tsens0 11>; thermal-sensors = <&tsens0 11>;
cooling-maps {
map0 {
trip = <&gpu_top_alert0>;
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
trips { trips {
gpu1_alert0: trip-point0 { gpu_top_alert0: trip-point0 {
temperature = <90000>; temperature = <90000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "hot"; type = "hot";
...@@ -5625,8 +5633,15 @@ gpu-bottom-thermal { ...@@ -5625,8 +5633,15 @@ gpu-bottom-thermal {
thermal-sensors = <&tsens0 12>; thermal-sensors = <&tsens0 12>;
cooling-maps {
map0 {
trip = <&gpu_bottom_alert0>;
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
trips { trips {
gpu2_alert0: trip-point0 { gpu_bottom_alert0: trip-point0 {
temperature = <90000>; temperature = <90000>;
hysteresis = <2000>; hysteresis = <2000>;
type = "hot"; type = "hot";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment