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 09:40:08 +00:00 committed by Chung-Kai (Michael) Mei
parent 657b3e00e3
commit a928bbe50d

View file

@ -111,6 +111,24 @@
], ],
"ResetOnInit": true "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", "Name": "CPUUtilThreshold",
"Path": "/sys/kernel/vendor_sched/util_threshold", "Path": "/sys/kernel/vendor_sched/util_threshold",
@ -135,10 +153,18 @@
"Path": "/sys/kernel/vendor_sched/ta_uclamp_min", "Path": "/sys/kernel/vendor_sched/ta_uclamp_min",
"Values": [ "Values": [
"553", "553",
"108", "185",
"1", "1",
"107", "63"
"42" ],
"ResetOnInit": true
},
{
"Name": "FGUClampBoost",
"Path": "/proc/vendor_sched/fg_uclamp_min",
"Values": [
"159",
"0"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -146,9 +172,9 @@
"Name": "SFUClampBoost", "Name": "SFUClampBoost",
"Path": "/sys/kernel/vendor_sched/sf_uclamp_min", "Path": "/sys/kernel/vendor_sched/sf_uclamp_min",
"Values": [ "Values": [
"125", "159",
"65", "85",
"30" "39"
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
@ -156,7 +182,7 @@
"Name": "MLUclampBoost", "Name": "MLUclampBoost",
"Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min", "Path": "/sys/kernel/vendor_sched/nnapi_uclamp_min",
"Values": [ "Values": [
"154", "180",
"512" "512"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
@ -374,13 +400,25 @@
"PowerHint": "INTERACTION", "PowerHint": "INTERACTION",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "85"
},
{
"PowerHint": "LAUNCH",
"Node": "UClampThreshold",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "ReducePreferIdle",
"Duration": 5000,
"Value": "0"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "SFUClampBoost", "Node": "SFUClampBoost",
"Duration": 5000, "Duration": 5000,
"Value": "65" "Value": "85"
}, },
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
@ -406,6 +444,12 @@
"Duration": 5000, "Duration": 5000,
"Value": "553" "Value": "553"
}, },
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
"Duration": 5000,
"Value": "159"
},
{ {
"PowerHint": "LAUNCH", "PowerHint": "LAUNCH",
"Node": "MemFreq", "Node": "MemFreq",
@ -1076,13 +1120,13 @@
"PowerHint": "REFRESH_90FPS", "PowerHint": "REFRESH_90FPS",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 0, "Duration": 0,
"Value": "107" "Value": "63"
}, },
{ {
"PowerHint": "REFRESH_60FPS", "PowerHint": "REFRESH_60FPS",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 0, "Duration": 0,
"Value": "42" "Value": "63"
}, },
{ {
"PowerHint": "ADPF_DISABLE_TA_BOOST", "PowerHint": "ADPF_DISABLE_TA_BOOST",
@ -1124,13 +1168,13 @@
"PowerHint": "BOOST_90HZ", "PowerHint": "BOOST_90HZ",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 200, "Duration": 200,
"Value": "108" "Value": "185"
}, },
{ {
"PowerHint": "BOOST_60HZ", "PowerHint": "BOOST_60HZ",
"Node": "TAUClampBoost", "Node": "TAUClampBoost",
"Duration": 200, "Duration": 200,
"Value": "108" "Value": "185"
}, },
{ {
"PowerHint": "REFRESH_90FPS", "PowerHint": "REFRESH_90FPS",