From 880e61225af199b9227f584ee0f2de3ee3d5f40a Mon Sep 17 00:00:00 2001 From: Sayanna Chandula Date: Wed, 9 Feb 2022 00:05:02 +0000 Subject: [PATCH] Revert "thermal: remove TPU/GPU cdev dependency" This reverts commit 0952694db7721ab4a297a9e277f8dac2335a6cec. Added cooling devices for TPU/GPU and hence can bring back the dependency Bug: 218541675 Test: build and boot on device Signed-off-by: Sayanna Chandula Change-Id: Idd664160d5f9c30ad9c44221a7f0129315f1e415 --- thermal_info_config_cloudripper.json | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/thermal_info_config_cloudripper.json b/thermal_info_config_cloudripper.json index 4e4b16a..c75ce64 100644 --- a/thermal_info_config_cloudripper.json +++ b/thermal_info_config_cloudripper.json @@ -187,6 +187,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 10, 11, 11] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] } ] }, @@ -245,6 +253,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] } ] }, @@ -276,6 +292,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 15, 15, 15] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] } ] }, @@ -307,6 +331,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 13, 13, 13] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] } ] },