Use auto prefer fit for launch
Enable auto prefer fit for high prio tasks when app launch, and tune uclmap min settings for different task prio. Bug: 353885521 Flag: NONE powerhint change does not support flags Test: build pass Change-Id: I8aa7187b7178626ed8bf0e04fd7a9a46d1247bd3
This commit is contained in:
parent
6eff65b75f
commit
13d9ccb178
1 changed files with 90 additions and 12 deletions
|
@ -332,6 +332,51 @@
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAUclampMinOnNiceEnable",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_enable",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAUclampMinOnNiceHighValue",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
|
||||||
|
"Values": [
|
||||||
|
"765",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAUclampMinOnNiceMidValue",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
|
||||||
|
"Values": [
|
||||||
|
"570",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAUclampMinOnNiceHighPrio",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
|
||||||
|
"Values": [
|
||||||
|
"110",
|
||||||
|
"120"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAUclampMinOnNiceMidPrio",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
|
||||||
|
"Values": [
|
||||||
|
"139",
|
||||||
|
"130"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "FGUClampBoost",
|
"Name": "FGUClampBoost",
|
||||||
"Path": "/proc/vendor_sched/groups/fg/uclamp_min",
|
"Path": "/proc/vendor_sched/groups/fg/uclamp_min",
|
||||||
|
@ -440,6 +485,15 @@
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "TAAutoPreferFit",
|
||||||
|
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "TAPreferredIdleMaskHigh",
|
"Name": "TAPreferredIdleMaskHigh",
|
||||||
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
|
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
|
||||||
|
@ -938,12 +992,6 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "615"
|
"Value": "615"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"PowerHint": "LAUNCH",
|
|
||||||
"Node": "TAUClampBoost",
|
|
||||||
"Duration": 5000,
|
|
||||||
"Value": "765"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
"Node": "FGUClampBoost",
|
"Node": "FGUClampBoost",
|
||||||
|
@ -1014,6 +1062,42 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "1"
|
"Value": "1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAAutoPreferFit",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAUclampMinOnNiceEnable",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAUclampMinOnNiceHighValue",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "765"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAUclampMinOnNiceHighPrio",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "110"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAUclampMinOnNiceMidValue",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "570"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "TAUclampMinOnNiceMidPrio",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "139"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
"Node": "FGPreferIdle",
|
"Node": "FGPreferIdle",
|
||||||
|
@ -1104,12 +1188,6 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "0x1ff"
|
"Value": "0x1ff"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"PowerHint": "LAUNCH",
|
|
||||||
"Node": "TAPreferredIdleMaskMid",
|
|
||||||
"Duration": 5000,
|
|
||||||
"Value": "0x1ff"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH_EXTEND",
|
"PowerHint": "LAUNCH_EXTEND",
|
||||||
"Node": "FGPreferIdle",
|
"Node": "FGPreferIdle",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue