Thermal Boost for severe thermal state

Bug: 299487324
Test: framedrop rates improve in
https://docs.google.com/spreadsheets/d/1XKNwe82bjAqUfEcRTCgMStI6DfSZdjsupi1rcyLynZk/edit#gid=1123570530, https://docs.google.com/spreadsheets/d/1IHiPRzkSdtn140oaksbO8vRAGfpzUXhKBcdqrMDOFvo/edit?resourcekey=0-qyzlX1XyVmWNSv3SVc04uQ#gid=1703956858
Change-Id: I7ed38eaf28178fbf26404f195a276d72752b5671
This commit is contained in:
Ali K. Zadeh 2024-03-13 16:39:27 +00:00
parent 7d713a08c1
commit 1bd6e91fec
4 changed files with 112 additions and 8 deletions

View file

@ -292,6 +292,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "765",
"250",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -359,9 +360,10 @@
"0-3", "0-3",
"4-7", "4-7",
"4-6", "4-6",
"0-6", "0-7",
"0-7" "0-6"
], ],
"DefaultIndex": 3,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -1410,6 +1412,30 @@
"Duration": 3000, "Duration": 3000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDCpuset",
"Duration": 0,
"Value": "0-7"
},
{ {
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "PMU_POLL", "Node": "PMU_POLL",

View file

@ -292,6 +292,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "765",
"250",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -359,9 +360,10 @@
"0-3", "0-3",
"4-7", "4-7",
"4-6", "4-6",
"0-6", "0-7",
"0-7" "0-6"
], ],
"DefaultIndex": 3,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -1410,6 +1412,30 @@
"Duration": 3000, "Duration": 3000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDCpuset",
"Duration": 0,
"Value": "0-7"
},
{ {
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "PMU_POLL", "Node": "PMU_POLL",

View file

@ -292,6 +292,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "765",
"250",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -359,9 +360,10 @@
"0-3", "0-3",
"4-7", "4-7",
"4-6", "4-6",
"0-6", "0-7",
"0-7" "0-6"
], ],
"DefaultIndex": 3,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -1399,6 +1401,30 @@
"Duration": 3000, "Duration": 3000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDCpuset",
"Duration": 0,
"Value": "0-7"
},
{ {
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "PMU_POLL", "Node": "PMU_POLL",

View file

@ -292,6 +292,7 @@
"Path": "/proc/vendor_sched/groups/cam/uclamp_min", "Path": "/proc/vendor_sched/groups/cam/uclamp_min",
"Values": [ "Values": [
"765", "765",
"250",
"0" "0"
], ],
"ResetOnInit": true "ResetOnInit": true
@ -359,9 +360,10 @@
"0-3", "0-3",
"4-7", "4-7",
"4-6", "4-6",
"0-6", "0-7",
"0-7" "0-6"
], ],
"DefaultIndex": 3,
"ResetOnInit": true "ResetOnInit": true
}, },
{ {
@ -1410,6 +1412,30 @@
"Duration": 3000, "Duration": 3000,
"Value": "0" "Value": "0"
}, },
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CAMUClampBoost",
"Duration": 0,
"Value": "250"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CPUSkipMask",
"Duration": 0,
"Value": "0x0"
},
{
"PowerHint": "CAMERA_THERMAL_SEVERE_BOOST",
"Node": "CDCpuset",
"Duration": 0,
"Value": "0-7"
},
{ {
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "PMU_POLL", "Node": "PMU_POLL",