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: I24960bf615900d9f174259cdc863050fcf4fcb36
Signed-off-by: Sayanna Chandula <sayanna@google.com>
This commit is contained in:
Sayanna Chandula 2023-04-06 15:31:34 -07:00
parent c33f8c5ed5
commit 87feda99aa
2 changed files with 144 additions and 0 deletions

View file

@ -1739,6 +1739,78 @@
"Duration": 0,
"Value": "0"
},
{
"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

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