Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp""
This reverts commit e2da019e13
.
Since the temperature getting struck at 10 degC b/192030129 has been fixed,
reenable dynamic Tj thresholds.
Bug: 202736847
Test: build and boot on device
Change-Id: I53c62595407ea156ee3aceef0d3723db46096b8f
This commit is contained in:
parent
3cf3ce9386
commit
eaaf1911d1
1 changed files with 128 additions and 0 deletions
128
powerhint.json
128
powerhint.json
|
@ -296,6 +296,86 @@
|
||||||
"adaptive"
|
"adaptive"
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "BigControlTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp",
|
||||||
|
"Values": [
|
||||||
|
"90000",
|
||||||
|
"80000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "MidControlTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp",
|
||||||
|
"Values": [
|
||||||
|
"90000",
|
||||||
|
"80000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "LittleControlTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp",
|
||||||
|
"Values": [
|
||||||
|
"90000",
|
||||||
|
"80000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "G3dControlTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp",
|
||||||
|
"Values": [
|
||||||
|
"90000",
|
||||||
|
"80000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "BigSwitchOnTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp",
|
||||||
|
"Values": [
|
||||||
|
"70000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "MidSwitchOnTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp",
|
||||||
|
"Values": [
|
||||||
|
"70000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "LittleSwitchOnTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp",
|
||||||
|
"Values": [
|
||||||
|
"70000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "G3dSwitchOnTempSet",
|
||||||
|
"Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp",
|
||||||
|
"Values": [
|
||||||
|
"70000",
|
||||||
|
"60000"
|
||||||
|
],
|
||||||
|
"DefaultIndex": 0,
|
||||||
|
"ResetOnInit": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -1122,6 +1202,54 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "400000"
|
"Value": "400000"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "BigControlTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "80000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "MidControlTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "80000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "LittleControlTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "80000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "G3dControlTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "80000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "BigSwitchOnTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "60000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "MidSwitchOnTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "60000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "LittleSwitchOnTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "60000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE",
|
||||||
|
"Node": "G3dSwitchOnTempSet",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "60000"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue