powerhint.json: Update uclamp_min hint to account for margin
Upstream has fixed relationship between uclamp_min and margin which means uclamp_min value between 80-100% of capacity of the CPU is a valid value and will not cause upmigration. To keep the current hints in powerhint.json the same, we must update uclamp_min to be capacity_orig_of(medium_cpu) + 1. This change is dependent on uclamp vs fits margin in GKI, vendor modules. And an improvement in sched_pixel to ignore the 25% boost if the only reason to request the frequency is uclamp_min. To cater for the later - we multiply each uclamp_min value with 1.25 - except ones that look intentionally set around capacity boundaries. Bug: 261695590 Test: UiBench Signed-off-by: Qais Yousef <qyousef@google.com> Change-Id: I959d4236990668aa82773ff05102b9ed28c0c1f9
This commit is contained in:
parent
d2e2ae4d1e
commit
94fd9a6bfb
1 changed files with 12 additions and 12 deletions
|
@ -115,11 +115,11 @@
|
||||||
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
"Path": "/proc/vendor_sched/ta_uclamp_min",
|
||||||
"Values": [
|
"Values": [
|
||||||
"0",
|
"0",
|
||||||
"553",
|
"691",
|
||||||
"246",
|
"307",
|
||||||
"185",
|
"231",
|
||||||
"123",
|
"153",
|
||||||
"62"
|
"77"
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
@ -285,19 +285,19 @@
|
||||||
"PowerHint": "INTERACTION_120",
|
"PowerHint": "INTERACTION_120",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 6000,
|
"Duration": 6000,
|
||||||
"Value": "246"
|
"Value": "307"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "INTERACTION_90",
|
"PowerHint": "INTERACTION_90",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 6000,
|
"Duration": 6000,
|
||||||
"Value": "185"
|
"Value": "231"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "INTERACTION_60",
|
"PowerHint": "INTERACTION_60",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 6000,
|
"Duration": 6000,
|
||||||
"Value": "123"
|
"Value": "153"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "REFRESH_120FPS",
|
"PowerHint": "REFRESH_120FPS",
|
||||||
|
@ -365,7 +365,7 @@
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "553"
|
"Value": "691"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
|
@ -905,19 +905,19 @@
|
||||||
"PowerHint": "REFRESH_120FPS",
|
"PowerHint": "REFRESH_120FPS",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "185"
|
"Value": "231"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "REFRESH_90FPS",
|
"PowerHint": "REFRESH_90FPS",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "123"
|
"Value": "153"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "REFRESH_60FPS",
|
"PowerHint": "REFRESH_60FPS",
|
||||||
"Node": "TAUClampBoost",
|
"Node": "TAUClampBoost",
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "62"
|
"Value": "77"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "DISABLE_TA_BOOST",
|
"PowerHint": "DISABLE_TA_BOOST",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue