thermal: update thermal config

Based on EVT1.0 and SpeedTest results to update thermal formula v0.7-1117,
Also add:
- CPU/GPU power budget = CPU/GPU default power budget - MODEM power * 0.3
- Start throttle charging at 25C.

Bug: 257243663
Test: ThermalHAL throttling worked properly
Change-Id: I7c887fd27b776a0be36cddd7f84dcc5b4a736e57
This commit is contained in:
David Chao 2022-11-14 16:27:43 +08:00 committed by TreeHugger Robot
parent 0db068b63c
commit e21617d617
2 changed files with 59 additions and 63 deletions

View file

@ -62,53 +62,47 @@
"Multiplier":0.001
},
{
"Name":"VIRTUAL-NEU-QUT-DISP-GNSS-BATT",
"Name":"VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-1",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":["neutral_therm", "quiet_therm", "disp_therm", "gnss_tcxo_therm", "battery"],
"Coefficient":[0.28, 0.42, 0.1, 0.1, 0.1],
"Combination":["neutral_therm", "quiet_therm", "skin_therm1", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2", "gnss_tcxo_therm"],
"Coefficient":[0.05, 0.05, 0.7, 0.05, 0.05, 0.05, 0.05],
"Offset":-1500,
"Multiplier":0.001
},
{
"Name":"VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT",
"Name":"VIRTUAL-QUT-SKIN2-USB-USB2-2",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":["neutral_therm", "disp_therm", "skin_therm1", "gnss_tcxo_therm", "battery"],
"Coefficient":[0.27, 0.23, 0.1, 0.27, 0.13],
"Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2"],
"Coefficient":[0.15, 0.15, 0.15, 0.55],
"Offset":-1000,
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN2-USB2-DISP-BATT",
"Name":"VIRTUAL-QUT-SKIN2-USB-GNSS-3",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm", "battery"],
"Coefficient":[0.28, 0.21, 0.3, 0.21],
"Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm", "gnss_tcxo_therm"],
"Coefficient":[0.166, 0.45, 0.217, 0.167],
"Offset":-1950,
"Multiplier":0.001
},
{
"Name":"VIRTUAL-QUT-SKIN2-USB2-DISP",
"Name":"VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-4",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":["quiet_therm", "skin_therm2", "usb_pwr_therm2", "disp_therm"],
"Coefficient":[0.35, 0.25, 0.2, 0.2],
"Multiplier":0.001
},
{
"Name":"VIRTUAL-SKIN2-USB2-DISP",
"Type":"UNKNOWN",
"Hidden":true,
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"Combination":["skin_therm2", "usb_pwr_therm2", "disp_therm"],
"Coefficient":[0.42, 0.29, 0.29],
"Combination":["neutral_therm", "quiet_therm", "skin_therm1", "skin_therm2", "usb_pwr_therm", "usb_pwr_therm2", "gnss_tcxo_therm"],
"Coefficient":[-0.05, -0.05, 1.3, -0.05, -0.05, -0.05, -0.05],
"Offset":-1950,
"Multiplier":0.001
},
{
@ -118,9 +112,9 @@
"VirtualSensor":true,
"TriggerSensor":"skin_therm1",
"Formula":"MAXIMUM",
"Combination":["VIRTUAL-NEU-QUT-DISP-GNSS-BATT", "VIRTUAL-NEU-DISP-SKIN1-GNSS-BATT", "VIRTUAL-SKIN2-USB2-DISP-BATT", "VIRTUAL-QUT-SKIN2-USB2-DISP", "VIRTUAL-SKIN2-USB2-DISP"],
"Coefficient":[1.0, 1.0, 1.0, 1.0, 1.0],
"HotThreshold":["NAN", 35.0, 39.0, 43.0, 45.0, 47.0, 55.0],
"Combination":["VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-1", "VIRTUAL-QUT-SKIN2-USB-USB2-2", "VIRTUAL-QUT-SKIN2-USB-GNSS-3", "VIRTUAL-NEU-QUT-SKIN1-SKIN2-USB-USB2-GNSS-4"],
"Coefficient":[1.0, 1.0, 1.0, 1.0],
"HotThreshold":["NAN", 25.0, 39.0, 43.0, 45.0, 47.0, 55.0],
"HotHysteresis":[0.0, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9],
"Multiplier":0.001,
"PollingDelay":300000,
@ -148,7 +142,7 @@
"CdevWeightForPID": [1, 1, 1, 1, 1, 1, 1],
"MaxReleaseStep": 1,
"MaxThrottleStep": 1,
"CdevCeiling": [0, 9, 10, 11, 12, 12, 12],
"CdevCeiling": [0, 11, 11, 11, 12, 12, 12],
"LimitInfo": [0, 0, 0, 0, 0, 12, 12]
}
]