Merge "therma: disable LIGHT tier throttling when gaming" into 24D1-dev

This commit is contained in:
Treehugger Robot 2024-03-22 22:25:53 +00:00 committed by Android (Google) Code Review
commit e0d2eae89d
6 changed files with 126 additions and 0 deletions

View file

@ -770,6 +770,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",
@ -2601,6 +2612,12 @@
"Duration": 0, "Duration": 0,
"Value": "419000" "Value": "419000"
}, },
{
"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",

View file

@ -770,6 +770,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",
@ -2601,6 +2612,12 @@
"Duration": 0, "Duration": 0,
"Value": "419000" "Value": "419000"
}, },
{
"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",

View file

@ -770,6 +770,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",
@ -2601,6 +2612,12 @@
"Duration": 0, "Duration": 0,
"Value": "419000" "Value": "419000"
}, },
{
"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",

View file

@ -353,6 +353,31 @@
"BindedPowerRail": "S3M_VDD_CPUCL2", "BindedPowerRail": "S3M_VDD_CPUCL2",
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12] "CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
} }
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"BindedPowerRail": "S4M_VDD_CPUCL0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"BindedPowerRail": "S2M_VDD_CPUCL1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"BindedPowerRail": "S3M_VDD_CPUCL2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
] ]
}, },
{ {

View file

@ -362,6 +362,31 @@
"BindedPowerRail": "S3M_VDD_CPUCL2", "BindedPowerRail": "S3M_VDD_CPUCL2",
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12] "CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
} }
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"BindedPowerRail": "S4M_VDD_CPUCL0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"BindedPowerRail": "S2M_VDD_CPUCL1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"BindedPowerRail": "S3M_VDD_CPUCL2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
] ]
}, },
{ {

View file

@ -345,6 +345,31 @@
"BindedPowerRail": "S3M_VDD_CPUCL2", "BindedPowerRail": "S3M_VDD_CPUCL2",
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12] "CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
} }
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"BindedPowerRail": "S4M_VDD_CPUCL0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"BindedPowerRail": "S2M_VDD_CPUCL1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"BindedPowerRail": "S3M_VDD_CPUCL2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
] ]
}, },
{ {