projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ee830
)
arm64: dts: qcom: msm8939: Hook up GPU cooling device
author
Konrad Dybcio
<konrad.dybcio@linaro.org>
Tue, 2 Jan 2024 13:34:06 +0000
(14:34 +0100)
committer
Bjorn Andersson
<andersson@kernel.org>
Sat, 27 Jan 2024 23:06:37 +0000
(17:06 -0600)
In order to allow for throttling the GPU, hook up the cooling device
to the respective thermal zones.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link:
https://lore.kernel.org/r/20240102-topic-gpu_cooling-v1-2-fda30c57e353@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8939.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/qcom/msm8939.dtsi
b/arch/arm64/boot/dts/qcom/msm8939.dtsi
index 82d85ff61045d31c13b6b5874acd315399a8886e..48c8601ff7b74d183790d67bf4e8a8505ba89638 100644
(file)
--- a/
arch/arm64/boot/dts/qcom/msm8939.dtsi
+++ b/
arch/arm64/boot/dts/qcom/msm8939.dtsi
@@
-1427,6
+1427,8
@@
power-domains = <&gcc OXILI_GDSC>;
operating-points-v2 = <&opp_table>;
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
+ #cooling-cells = <2>;
+
status = "disabled";
opp_table: opp-table {
@@
-2456,6
+2458,13
@@
thermal-sensors = <&tsens 3>;
+ cooling-maps {
+ map0 {
+ trip = <&gpu_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
gpu_alert0: trip-point0 {
temperature = <75000>;