Merge "thermal: switch thermal policy by game mode" into udc-d1-dev

This commit is contained in:
Kame(TeYuan) Wang 2023-06-28 07:20:46 +00:00 committed by Android (Google) Code Review
commit 5fa8ce0a35
4 changed files with 148 additions and 0 deletions

View file

@ -740,6 +740,24 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "VIRTUAL-SKIN-CPU-MID",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
"game",
""
],
"Type": "Property"
},
{
"Name": "VIRTUAL-SKIN-CPU-HIGH",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
"Values": [
"game",
""
],
"Type": "Property"
},
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -2296,6 +2314,18 @@
"Duration": 0,
"Value": "419000"
},
{
"PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "game"
},
{
"PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-HIGH",
"Duration": 0,
"Value": "game"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",

View file

@ -740,6 +740,24 @@
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "VIRTUAL-SKIN-CPU-MID",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
"Values": [
"game",
""
],
"Type": "Property"
},
{
"Name": "VIRTUAL-SKIN-CPU-HIGH",
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
"Values": [
"game",
""
],
"Type": "Property"
},
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
@ -2200,6 +2218,18 @@
"Duration": 0,
"Value": "419000"
},
{
"PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-MID",
"Duration": 0,
"Value": "game"
},
{
"PowerHint": "GAME",
"Node": "VIRTUAL-SKIN-CPU-HIGH",
"Duration": 0,
"Value": "game"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
"Node": "PMU_POLL",

View file

@ -499,6 +499,28 @@
"MaxThrottleStep": 2,
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
}
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
{
@ -548,6 +570,28 @@
"MaxThrottleStep": 2,
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
}
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
{

View file

@ -476,6 +476,28 @@
"MaxThrottleStep": 2,
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
}
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
{
@ -525,6 +547,28 @@
"MaxThrottleStep": 2,
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
}
],
"Profile": [
{
"Mode": "game",
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-0",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-1",
"MaxReleaseStep": 1,
"Disabled":true
},
{
"CdevRequest": "thermal-cpufreq-2",
"MaxReleaseStep": 1,
"Disabled":true
}
]
}
]
},
{