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 {
};
trips {
thermal-engine-config {
temperature = <125000>;
gpu_top_alert0: trip-point0 {
temperature = <85000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
trip-point1 {
temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
type = "hot";
};
gpu_top_alert0: trip-point0 {
temperature = <95000>;
hysteresis = <5000>;
type = "passive";
trip-point2 {
temperature = <110000>;
hysteresis = <1000>;
type = "critical";
};
};
};
......@@ -5070,28 +5064,22 @@ map0 {
};
trips {
thermal-engine-config {
temperature = <125000>;
gpu_bottom_alert0: trip-point0 {
temperature = <85000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
trip-point1 {
temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
type = "hot";
};
gpu_bottom_alert0: trip-point0 {
temperature = <95000>;
hysteresis = <5000>;
type = "passive";
trip-point2 {
temperature = <110000>;
hysteresis = <1000>;
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