Set big core to group_cfs_skip_mask for sys group

Set big core to group_cfs_skip_mask for sys group when screen is off,
so that sys group tasks will run less in big core.

Bug: 328210236
Test: build pass
Change-Id: I9ccb3035a480e88960951222c45d0ca8352082d9
This commit is contained in:
Rick Yiu 2024-05-24 13:45:23 +00:00
parent 84bde1ec6e
commit 83bdd31a60
3 changed files with 48 additions and 0 deletions

View file

@ -457,6 +457,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -1275,6 +1285,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS",

View file

@ -443,6 +443,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -1274,6 +1284,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",

View file

@ -457,6 +457,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@ -1281,6 +1291,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPU_BIG_TSKIN_BYPASS",