mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 04:53:09 -04:00
arm64: dts: qcom: msm8916: 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: 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-1-fda30c57e353@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
7d62dbd1b3
commit
04ee83047e
@@ -1785,6 +1785,8 @@ gpu: gpu@1c00000 {
|
||||
power-domains = <&gcc OXILI_GDSC>;
|
||||
operating-points-v2 = <&gpu_opp_table>;
|
||||
iommus = <&gpu_iommu 1>, <&gpu_iommu 2>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
gpu_opp_table: opp-table {
|
||||
@@ -2688,6 +2690,13 @@ gpu-thermal {
|
||||
|
||||
thermal-sensors = <&tsens 2>;
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&gpu_alert0>;
|
||||
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
|
||||
trips {
|
||||
gpu_alert0: trip-point0 {
|
||||
temperature = <75000>;
|
||||
|
||||
Reference in New Issue
Block a user