thermal: lower tj control temp during battery save

Use LOW_POWER power hint to detect and lower the control temp
for junction control loops

Bug: 266011718
Test: Build and boot on device. Check thermal control temperatures
during battery save

Change-Id: I8883255bdc9bf4c12231ba47a3a70966cfa927cc
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2023-02-27 17:04:03 -08:00
parent 8b8cf4cab4
commit b4db474061
2 changed files with 144 additions and 0 deletions

View file

@ -1726,6 +1726,78 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "REFRESH_120FPS",
"Node": "TAUClampBoost",

View file

@ -1593,6 +1593,78 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurControlTempSet",
"Duration": 0,
"Value": "80000"
},
{
"PowerHint": "LOW_POWER",
"Node": "BigSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "MidSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "LittleSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "G3dSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "TpuSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "LOW_POWER",
"Node": "AurSwitchOnTempSet",
"Duration": 0,
"Value": "60000"
},
{
"PowerHint": "REFRESH_90FPS",
"Node": "TAUClampBoost",