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: suspend/resume test
Change-Id: I4868ba0303e981250105b1ff69a6db6458df844a
This commit is contained in:
Rick Yiu 2024-05-09 11:57:41 +00:00
parent 8517862a90
commit d8c84c47ff
4 changed files with 64 additions and 0 deletions

View file

@ -223,6 +223,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1277,6 +1287,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",

View file

@ -223,6 +223,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1277,6 +1287,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",

View file

@ -277,6 +277,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1266,6 +1276,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",

View file

@ -223,6 +223,16 @@
],
"ResetOnInit": true
},
{
"Name": "SysGroupCfsSkipMask",
"Path": "/proc/vendor_sched/groups/sys/group_cfs_skip_mask",
"Values": [
"0x0",
"0x80"
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "BGUClampMaxBoost",
"Path": "/proc/vendor_sched/groups/bg/uclamp_max",
@ -1277,6 +1287,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",