From a1c43dba6ccdc327b99cca5adacfd4dfd2970ae5 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Mon, 16 Jan 2023 17:50:56 +0800 Subject: [PATCH] thermal: align the gxp throttling policy with P22 Bug: 265609046 Test: verified by emul_temp Change-Id: I8688208c7b9b2830841c8b81dadf5c0cd682b813 --- thermal_info_config_felix.json | 9 +++++++++ thermal_info_config_proactive_skin_felix.json | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/thermal_info_config_felix.json b/thermal_info_config_felix.json index 7eb4613..7f68c75 100644 --- a/thermal_info_config_felix.json +++ b/thermal_info_config_felix.json @@ -265,6 +265,10 @@ { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 99, 99] } ] }, @@ -897,6 +901,11 @@ "Name":"tpu_cooling", "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" + }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" } ], "PowerRails":[ diff --git a/thermal_info_config_proactive_skin_felix.json b/thermal_info_config_proactive_skin_felix.json index 41a9321..387cdfb 100644 --- a/thermal_info_config_proactive_skin_felix.json +++ b/thermal_info_config_proactive_skin_felix.json @@ -265,6 +265,10 @@ { "CdevRequest": "tpu_cooling", "LimitInfo": [0, 2, 3, 4, 5, 5, 5] + }, + { + "CdevRequest": "gxp-cooling", + "LimitInfo": [0, 0, 0, 0, 0, 99, 99] } ] }, @@ -897,6 +901,11 @@ "Name":"tpu_cooling", "Type":"NPU", "WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote" + }, + { + "Name":"gxp-cooling", + "Type":"NPU", + "WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote" } ], "PowerRails":[