powerhint: Set big core to group_cfs_skip_mask for sys group

sync from ag/27280353

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: 342968374
Test: boot to home

Change-Id: I4456641e8e99c83573887c4a3b56ba484b490773
This commit is contained in:
Paulsu Su 2024-06-04 01:39:22 +00:00
parent 4951bdeabd
commit c9a2bf6db9

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",
@ -1276,6 +1286,12 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "SysGroupCfsSkipMask",
"Duration": 0,
"Value": "0x80"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "CPUSkipMask",