Game Mode Sched lib affinity

Bug: 170648047

Test: sched / hints applied correctly

Change-Id: I50b21880a671cb4b40110bc7ac3d75de6e2dc946
Signed-off-by: David Kimmel <davidkimmel@google.com>
This commit is contained in:
David Kimmel 2023-09-25 18:22:24 +00:00
parent 9ee10fbd54
commit 0c21866e59
3 changed files with 81 additions and 0 deletions

View file

@ -766,6 +766,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -922,6 +931,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -982,6 +997,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -2428,6 +2449,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",

View file

@ -788,6 +788,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -944,6 +953,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -1004,6 +1019,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -2187,6 +2208,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",

View file

@ -766,6 +766,15 @@
"20 40"
],
"ResetOnInit": true
},
{
"Name": "SchedLibMaskIn",
"Path": "/proc/vendor_sched/sched_lib_mask_in",
"Values": [
"0x100",
"0x0"
],
"ResetOnInit": true
}
],
"Actions": [
@ -922,6 +931,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUBigClusterMaxFreq",
@ -982,6 +997,12 @@
"Duration": 2000,
"Value": "1"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "SchedLibMaskIn",
"Duration": 5000,
"Value": "0x100"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -2332,6 +2353,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "SchedLibMaskIn",
"Duration": 0,
"Value": "0x100"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",