Merge "thermal: switch thermal policy by game mode" into udc-d1-dev am: 5fa8ce0a35
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/23814289 Change-Id: I5db80c66ad864f685938c8f4b3823bfda316d018 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
1971972080
4 changed files with 148 additions and 0 deletions
|
@ -740,6 +740,24 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"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",
|
"Name": "MIFTargetLoad",
|
||||||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||||
|
@ -2296,6 +2314,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "419000"
|
"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",
|
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||||
"Node": "PMU_POLL",
|
"Node": "PMU_POLL",
|
||||||
|
|
|
@ -740,6 +740,24 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"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",
|
"Name": "MIFTargetLoad",
|
||||||
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
|
||||||
|
@ -2200,6 +2218,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "419000"
|
"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",
|
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||||
"Node": "PMU_POLL",
|
"Node": "PMU_POLL",
|
||||||
|
|
|
@ -499,6 +499,28 @@
|
||||||
"MaxThrottleStep": 2,
|
"MaxThrottleStep": 2,
|
||||||
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
|
"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,
|
"MaxThrottleStep": 2,
|
||||||
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -476,6 +476,28 @@
|
||||||
"MaxThrottleStep": 2,
|
"MaxThrottleStep": 2,
|
||||||
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
|
"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,
|
"MaxThrottleStep": 2,
|
||||||
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
|
"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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue