powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Everything should be disabled by default. Make sure camera and game explicitly disable them by default too. Ensure the feature is disable when screen is idle. Bug: 315748906 Test: build Flag: NONE powerhint change does not support flags (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb4df08c9ea617625d25cf12bc60c41c173d996b) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b804969d8faa70065f9ed4a5ba841a607cbedb3b) Merged-In: Ibd08cec303010e87057463f5aff737a5105e04b6 Change-Id: Ibd08cec303010e87057463f5aff737a5105e04b6
This commit is contained in:
parent
03eae68a00
commit
8febd2f553
1 changed files with 162 additions and 0 deletions
|
@ -205,6 +205,60 @@
|
|||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AutoMigrationMarginsEnable",
|
||||
"Path": "/proc/vendor_sched/auto_migration_margins_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AutoDvfsHeadroomEnable",
|
||||
"Path": "/proc/vendor_sched/auto_dvfs_headroom_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TARampupMultiplier",
|
||||
"Path": "/proc/vendor_sched/groups/ta/rampup_multiplier",
|
||||
"Values": [
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AdpfRampupMultiplier",
|
||||
"Path": "/proc/vendor_sched/adpf_rampup_multiplier",
|
||||
"Values": [
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 2,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUUClampMaxFilterEnable",
|
||||
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
|
||||
|
@ -1817,6 +1871,18 @@
|
|||
"Duration": 0,
|
||||
"Value": "cam2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -1973,6 +2039,18 @@
|
|||
"Duration": 0,
|
||||
"Value": "cam2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -2153,6 +2231,18 @@
|
|||
"Duration": 0,
|
||||
"Value": "1100 1024 1100"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -2249,6 +2339,18 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -2465,6 +2567,18 @@
|
|||
"Duration": 0,
|
||||
"Value": "0-6"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "CPUDVFSHeadroom",
|
||||
|
@ -2754,6 +2868,18 @@
|
|||
"Type": "EndHint",
|
||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
@ -2982,6 +3108,30 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "FACE_UNLOCK_BOOST",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
|
@ -3078,6 +3228,18 @@
|
|||
"Duration": 2000,
|
||||
"Value": "44"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue