thermal: remove PMU_POLL control for game mode and disable LIGHT tier throttling when gaming

Port from ag/26822605, ag/26653806

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so remove the CPU thermal policy at lower
temperature to avoid the interfence on CPU scheduler.

Port from ag/26822605

We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so keep PMU_POLL being disabled to avoid the interference on CPU scheduler.

Bug: 342968374
Change-Id: Icafaa731abe0541fbd40c6e4501c13ee09803175
Flag: No flag needed for config file
Test: boot to home
This commit is contained in:
Paulsu Su 2024-07-29 02:19:03 +00:00
parent 4ff2224786
commit aa58050f50

View file

@ -889,6 +889,17 @@
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "VIRTUAL-SKIN-CPU-LIGHT-ODPM",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-LIGHT-ODPM.profile",
"Values": [
"",
"game"
],
"DefaultIndex": 0,
"ResetOnInit": true,
"Type": "Property"
},
{ {
"Name": "VIRTUAL-SKIN-CPU-MID", "Name": "VIRTUAL-SKIN-CPU-MID",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile", "Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
@ -3050,6 +3061,18 @@
"Duration": 0, "Duration": 0,
"Value": "419000" "Value": "419000"
}, },
{
"PowerHint": "GAME",
"Node": "PMU_POLL",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-LIGHT-ODPM",
"Duration": 0,
"Value": "game"
},
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-MID", "Node": "VIRTUAL-SKIN-CPU-MID",