Change set preferred idle mask to top-app
Set default value to 0xff to exclude big core for all priorities, but restore high and mid to 0x1ff when app launch. Bug: 248621289 Test: value set correctly Change-Id: I4f3b800b6fda1baabe7e924b8191ebab29c08fd6
This commit is contained in:
parent
6ef39396a2
commit
1d71e4f027
1 changed files with 39 additions and 0 deletions
|
@ -423,6 +423,33 @@
|
|||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferredIdleMaskHigh",
|
||||
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_high",
|
||||
"Values": [
|
||||
"0x1ff",
|
||||
"0xff"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferredIdleMaskMid",
|
||||
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_mid",
|
||||
"Values": [
|
||||
"0x1ff",
|
||||
"0xff"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TAPreferredIdleMaskLow",
|
||||
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_low",
|
||||
"Values": [
|
||||
"0x1ff",
|
||||
"0xff"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "FGPreferIdle",
|
||||
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
|
||||
|
@ -1028,6 +1055,18 @@
|
|||
"Duration": 2000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TAPreferredIdleMaskHigh",
|
||||
"Duration": 5000,
|
||||
"Value": "0x1ff"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TAPreferredIdleMaskMid",
|
||||
"Duration": 5000,
|
||||
"Value": "0x1ff"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "FGPreferIdle",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue