From e28e0b60402fcb223440ae8554544b3493934d86 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Tue, 31 Oct 2023 14:38:30 -0700 Subject: [PATCH] thermal: add cdev_ceiling for all throttling profiles Align the same cdev_ceiling for all the profiles to avoid the unexpected throttling request when switching the profile. Bug: 308646952 Test: emul_temp VSKIN, and monitor thermal throttling log with open/close camera Change-Id: I8efdfda958a46470874e95d68ff0a891b71137b5 --- thermal_info_config_akita.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/thermal_info_config_akita.json b/thermal_info_config_akita.json index 888521b..e324818 100644 --- a/thermal_info_config_akita.json +++ b/thermal_info_config_akita.json @@ -339,16 +339,19 @@ { "CdevRequest": "thermal-cpufreq-0", "MaxReleaseStep": 1, + "CdevCeiling": [0, 6, 6, 6, 6, 6, 6], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-1", "MaxReleaseStep": 1, + "CdevCeiling": [0, 9, 9, 9, 9, 9, 9], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-2", "MaxReleaseStep": 1, + "CdevCeiling": [0, 12, 12, 12, 12, 12, 12], "Disabled":true } ] @@ -410,16 +413,19 @@ { "CdevRequest": "thermal-cpufreq-0", "MaxReleaseStep": 1, + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-1", "MaxReleaseStep": 1, + "CdevCeiling": [0, 11, 11, 11, 11, 11, 11], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-2", "MaxReleaseStep": 1, + "CdevCeiling": [0, 13, 13, 13, 13, 13, 13], "Disabled":true } ] @@ -430,16 +436,19 @@ { "CdevRequest": "thermal-cpufreq-0", "MaxReleaseStep": 1, + "CdevCeiling": [0, 8, 8, 8, 8, 8, 8], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-1", "MaxReleaseStep": 1, + "CdevCeiling": [0, 11, 11, 11, 11, 11, 11], "Disabled":true }, { "CdevRequest": "thermal-cpufreq-2", "MaxReleaseStep": 1, + "CdevCeiling": [0, 13, 13, 13, 13, 13, 13], "Disabled":true } ]