powerhal: sync latest powerhint

we need disable uclamp_threshold and reduce_prefer_idle, boost FG group when apps launch and remove FPS based hints for TA boost.

Bug: 233423618
Test: build pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I3fe9318d46426c1e5ef7defe85126501313d419f
This commit is contained in:
chungkai 2022-05-23 06:19:40 +00:00 committed by Chung-Kai (Michael) Mei
parent 96e63735dc
commit 03ce73f12f

View file

@ -111,6 +111,24 @@
],
"ResetOnInit": true
},
{
"Name": "UClampThreshold",
"Path": "/proc/vendor_sched/uclamp_threshold",
"Values": [
"0",
"8"
],
"ResetOnInit": true
},
{
"Name": "ReducePreferIdle",
"Path": "/proc/vendor_sched/reduce_prefer_idle",
"Values": [
"0",
"1"
],
"ResetOnInit": true
},
{
"Name": "CPUUtilThreshold",
"Path": "/proc/vendor_sched/util_threshold",
@ -137,8 +155,16 @@
"553",
"185",
"1",
"107",
"42"
"63"
],
"ResetOnInit": true
},
{
"Name": "FGUClampBoost",
"Path": "/proc/vendor_sched/fg_uclamp_min",
"Values": [
"159",
"0"
],
"ResetOnInit": true
},
@ -146,9 +172,9 @@
"Name": "SFUClampBoost",
"Path": "/proc/vendor_sched/sf_uclamp_min",
"Values": [
"125",
"65",
"30"
"159",
"85",
"39"
],
"ResetOnInit": true
},
@ -156,7 +182,7 @@
"Name": "MLUclampBoost",
"Path": "/proc/vendor_sched/nnapi_uclamp_min",
"Values": [
"154",
"180",
"512"
],
"DefaultIndex": 0,
@ -383,13 +409,25 @@
"PowerHint": "INTERACTION",
"Node": "SFUClampBoost",
"Duration": 5000,
"Value": "65"
"Value": "85"
},
{
"PowerHint": "LAUNCH",
"Node": "UClampThreshold",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "ReducePreferIdle",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "SFUClampBoost",
"Duration": 5000,
"Value": "65"
"Value": "85"
},
{
"PowerHint": "LAUNCH",
@ -415,6 +453,12 @@
"Duration": 5000,
"Value": "553"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
"Duration": 5000,
"Value": "159"
},
{
"PowerHint": "LAUNCH",
"Node": "MemFreq",
@ -1085,7 +1129,7 @@
"PowerHint": "REFRESH_90FPS",
"Node": "TAUClampBoost",
"Duration": 0,
"Value": "107"
"Value": "63"
},
{
"PowerHint": "REFRESH_60FPS",