From e9f6f92eb633ebd9d03a5124cc52161c9787f291 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Wed, 14 Sep 2022 15:21:11 +0800 Subject: [PATCH] thermal: update control temp in powerhint 1) Change the default trip_point_1_temp and trip_point_2_temp in accordance to new config provided by hardware (b/235166018#comment5). 2) Removing AUR nodes Bug: 246546076 Test: Used local build to verify the trip_point_1_temp & trip_point_2_temp when VIRTUAL_SKIN severity is changed on updating quiet_therm temp. Change-Id: I240ba1b77706b6ce8991285dfa0ea6deae25f15b --- powerhint.json | 100 +++++-------------------------------------------- 1 file changed, 10 insertions(+), 90 deletions(-) diff --git a/powerhint.json b/powerhint.json index 5870516..8e51948 100644 --- a/powerhint.json +++ b/powerhint.json @@ -329,7 +329,7 @@ "Name": "BigControlTempSet", "Path": "/dev/thermal/tz-by-name/BIG/trip_point_2_temp", "Values": [ - "100000", + "90000", "80000" ], "DefaultIndex": 0, @@ -339,7 +339,7 @@ "Name": "MidControlTempSet", "Path": "/dev/thermal/tz-by-name/MID/trip_point_2_temp", "Values": [ - "100000", + "90000", "80000" ], "DefaultIndex": 0, @@ -349,7 +349,7 @@ "Name": "LittleControlTempSet", "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_2_temp", "Values": [ - "100000", + "90000", "80000" ], "DefaultIndex": 0, @@ -359,7 +359,7 @@ "Name": "G3dControlTempSet", "Path": "/dev/thermal/tz-by-name/G3D/trip_point_2_temp", "Values": [ - "100000", + "90000", "80000" ], "DefaultIndex": 0, @@ -369,17 +369,7 @@ "Name": "TpuControlTempSet", "Path": "/dev/thermal/tz-by-name/TPU/trip_point_2_temp", "Values": [ - "100000", - "80000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, - { - "Name": "AurControlTempSet", - "Path": "/dev/thermal/tz-by-name/AUR/trip_point_2_temp", - "Values": [ - "100000", + "90000", "80000" ], "DefaultIndex": 0, @@ -389,7 +379,7 @@ "Name": "BigSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/BIG/trip_point_1_temp", "Values": [ - "80000", + "70000", "60000" ], "DefaultIndex": 0, @@ -399,7 +389,7 @@ "Name": "MidSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/MID/trip_point_1_temp", "Values": [ - "80000", + "70000", "60000" ], "DefaultIndex": 0, @@ -409,7 +399,7 @@ "Name": "LittleSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/LITTLE/trip_point_1_temp", "Values": [ - "80000", + "70000", "60000" ], "DefaultIndex": 0, @@ -419,7 +409,7 @@ "Name": "G3dSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/G3D/trip_point_1_temp", "Values": [ - "80000", + "70000", "60000" ], "DefaultIndex": 0, @@ -429,17 +419,7 @@ "Name": "TpuSwitchOnTempSet", "Path": "/dev/thermal/tz-by-name/TPU/trip_point_1_temp", "Values": [ - "80000", - "60000" - ], - "DefaultIndex": 0, - "ResetOnInit": false - }, - { - "Name": "AurSwitchOnTempSet", - "Path": "/dev/thermal/tz-by-name/AUR/trip_point_1_temp", - "Values": [ - "80000", + "70000", "60000" ], "DefaultIndex": 0, @@ -1472,12 +1452,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "AurControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "BigSwitchOnTempSet", @@ -1508,12 +1482,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", - "Node": "AurSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_LIGHT", "Node": "Dex2oatThreads", @@ -1562,12 +1530,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", - "Node": "AurControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "Node": "BigSwitchOnTempSet", @@ -1598,12 +1560,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", - "Node": "AurSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_MODERATE", "Node": "Dex2oatThreads", @@ -1652,12 +1608,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", - "Node": "AurControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "Node": "BigSwitchOnTempSet", @@ -1688,12 +1638,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", - "Node": "AurSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_SEVERE", "Node": "Dex2oatThreads", @@ -1742,12 +1686,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", - "Node": "AurControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "Node": "BigSwitchOnTempSet", @@ -1778,12 +1716,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", - "Node": "AurSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_CRITICAL", "Node": "Dex2oatThreads", @@ -1850,12 +1782,6 @@ "Duration": 0, "Value": "80000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", - "Node": "AurControlTempSet", - "Duration": 0, - "Value": "80000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "BigSwitchOnTempSet", @@ -1886,12 +1812,6 @@ "Duration": 0, "Value": "60000" }, - { - "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", - "Node": "AurSwitchOnTempSet", - "Duration": 0, - "Value": "60000" - }, { "PowerHint": "THERMAL_VIRTUAL-SKIN_EMERGENCY", "Node": "Dex2oatThreads",