Merge "Optimize the thermal policy for camera mode" into udc-qpr-dev am: 78a1fd6e3a
am: edaee7bbf5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24748902 Change-Id: Id74e3b371b3fdf27fe846a20f81335e6b91d01d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
a247d9d38e
4 changed files with 100 additions and 10 deletions
|
@ -719,7 +719,8 @@
|
|||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
|
||||
"Values": [
|
||||
"",
|
||||
"game"
|
||||
"game",
|
||||
"camera"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
|
@ -1560,6 +1561,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
@ -1710,6 +1717,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
@ -1836,6 +1849,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
|
|
@ -709,7 +709,8 @@
|
|||
"Path": "vendor.thermal.VIRTUAL-SKIN-CPU-MID.profile",
|
||||
"Values": [
|
||||
"",
|
||||
"game"
|
||||
"game",
|
||||
"camera"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
|
@ -1448,6 +1449,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
@ -1598,6 +1605,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "4-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
@ -1724,6 +1737,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-8"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-MID",
|
||||
"Duration": 0,
|
||||
"Value": "camera"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "VIRTUAL-SKIN-CPU-HIGH",
|
||||
|
|
|
@ -473,6 +473,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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -518,7 +538,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
|
||||
|
@ -550,18 +570,24 @@
|
|||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-0",
|
||||
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 1,
|
||||
"CdevCeiling": [0, 6, 6, 6, 6, 6, 6]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-1",
|
||||
"CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -441,6 +441,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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -486,7 +506,7 @@
|
|||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"CdevWeightForPID": [0.252, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"MaxReleaseStep": 1,
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 13, 13, 13, 13, 13, 13]
|
||||
|
@ -518,18 +538,24 @@
|
|||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-0",
|
||||
"CdevWeightForPID": [0.156, 0.156, 0.156, 0.156, 0.156, 0.156, 0.156],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 1,
|
||||
"CdevCeiling": [0, 6, 6, 6, 6, 6, 6]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-1",
|
||||
"CdevWeightForPID": [0.428, 0.428, 0.428, 0.428, 0.428, 0.428, 0.428],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 9, 9, 9, 9, 9, 9]
|
||||
},
|
||||
{
|
||||
"CdevRequest": "thermal-cpufreq-2",
|
||||
"CdevWeightForPID": [0.225, 0.225, 0.225, 0.225, 0.225, 0.225, 0.225],
|
||||
"MaxReleaseStep": 1,
|
||||
"Disabled":true
|
||||
"MaxThrottleStep": 2,
|
||||
"CdevCeiling": [0, 12, 12, 12, 12, 12, 12]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue