From f8e414dbd811926ca3655da25b3f8ff4c721cf84 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Mon, 6 May 2024 16:21:26 +0800 Subject: [PATCH] thermal: Support undersampling for vskin-models Enable undersampling for VSkin-Model adn VSkin-Speaker-Model, this will enable to avoid unnecesary read temp fails when enough samples not collected. Bug: 338920071 Test: Push config and verify for thermal error logs Change-Id: Ic8af11170c0273286068c12493615c4b838ecacc --- thermal/thermal_info_config_comet.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/thermal/thermal_info_config_comet.json b/thermal/thermal_info_config_comet.json index 3d2fac6..956c4c6 100644 --- a/thermal/thermal_info_config_comet.json +++ b/thermal/thermal_info_config_comet.json @@ -233,7 +233,8 @@ "Formula": "USE_ML_MODEL", "Combination":["soc_therm", "rffe_therm", "charger_therm", "usb_conn_therm", "modem_therm", "inner_display_therm", "display_therm", "gnss_tcxo_therm", "maxfg_base", "maxfg_secondary", "inner_brightness"], "Multiplier":0.001, - "PreviousSampleCount": 3 + "PreviousSampleCount": 3, + "SupportUnderSampling": true }, { "Name": "VIRTUAL-SKIN-MODEL-LEGACY-DIFF", @@ -876,7 +877,8 @@ "Formula": "USE_ML_MODEL", "Combination": ["soc_therm", "rffe_therm", "charger_therm", "usb_conn_therm", "modem_therm", "inner_display_therm", "display_therm", "gnss_tcxo_therm", "maxfg_base", "maxfg_secondary", "inner_brightness"], "Multiplier": 0.001, - "PreviousSampleCount": 3 + "PreviousSampleCount": 3, + "SupportUnderSampling": true }, { "Name": "VIRTUAL-SKIN-SPEAKER-MODEL-LEGACY-DIFF",