thermal: add CPU policy for camera mode
Disable VIRTUAL-SKIN-CPU-HIGH for camera mode Bug: 290225694 Test: run camcorder Change-Id: I175f95df41cd72e1075dc19be488642ad5e3f073
This commit is contained in:
parent
d47880f74e
commit
d28196ccc3
4 changed files with 95 additions and 9 deletions
|
@ -754,18 +754,23 @@
|
|||
"Name": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
|
||||
"Values": [
|
||||
"game",
|
||||
""
|
||||
"",
|
||||
"game"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
|
||||
"Values": [
|
||||
"",
|
||||
"game",
|
||||
""
|
||||
"camera"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
|
@ -1519,6 +1524,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -1663,6 +1674,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -1789,6 +1806,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
|
|
@ -754,18 +754,23 @@
|
|||
"Name": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
|
||||
"Values": [
|
||||
"game",
|
||||
""
|
||||
"",
|
||||
"game"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-HIGH.profile",
|
||||
"Values": [
|
||||
"",
|
||||
"game",
|
||||
""
|
||||
"camera"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
|
@ -1417,6 +1422,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -1561,6 +1572,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
@ -1687,6 +1704,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
|
|
|
@ -531,17 +531,37 @@
|
|||
{
|
||||
"CdevRequest": "thermal-cpufreq-0",
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"Disabled":true
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-1",
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"Disabled":true
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"Disabled":true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Mode": "camera",
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -512,6 +512,26 @@
|
|||
"Disabled":true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Mode": "camera",
|
||||
"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