Commit 4be0dd44 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: sm8450: Throttle the GPU when overheating

Add an 85C passive trip point to ensure the thermal framework takes
sufficient action to prevent reaching junction temperature and a
110C critical point to help avoid hw damage.

Remove the copypasta-from-downstream userspace governor entries while
at it.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-10-ababc269a438@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 10a55552
...@@ -5031,28 +5031,22 @@ map0 { ...@@ -5031,28 +5031,22 @@ map0 {
}; };
trips { trips {
thermal-engine-config { gpu_top_alert0: trip-point0 {
temperature = <125000>; temperature = <85000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "passive";
}; };
thermal-hal-config { trip-point1 {
temperature = <125000>; temperature = <90000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "hot";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
}; };
gpu_top_alert0: trip-point0 { trip-point2 {
temperature = <95000>; temperature = <110000>;
hysteresis = <5000>; hysteresis = <1000>;
type = "passive"; type = "critical";
}; };
}; };
}; };
...@@ -5070,28 +5064,22 @@ map0 { ...@@ -5070,28 +5064,22 @@ map0 {
}; };
trips { trips {
thermal-engine-config { gpu_bottom_alert0: trip-point0 {
temperature = <125000>; temperature = <85000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "passive";
}; };
thermal-hal-config { trip-point1 {
temperature = <125000>; temperature = <90000>;
hysteresis = <1000>; hysteresis = <1000>;
type = "passive"; type = "hot";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
}; };
gpu_bottom_alert0: trip-point0 { trip-point2 {
temperature = <95000>; temperature = <110000>;
hysteresis = <5000>; hysteresis = <1000>;
type = "passive"; type = "critical";
}; };
}; };
}; };
......
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