powerhint: Add nodes required to enable auto migration margins/dvfs headroom
Port from ag/26990115 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: 353256081 Test: Local Genshin test Flag: NONE powerhint change does not support flags Change-Id: I1425653c56a11b43219771961a5dc24b47b40421
This commit is contained in:
parent
4bc2decfb0
commit
9f7a17064a
1 changed files with 162 additions and 0 deletions
|
@ -260,6 +260,60 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"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",
|
"Name": "CPUUClampMaxFilterEnable",
|
||||||
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
|
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
|
||||||
|
@ -1900,6 +1954,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "cam2"
|
"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",
|
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
@ -2056,6 +2122,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "cam2"
|
"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",
|
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
@ -2236,6 +2314,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "1100 1024 1100"
|
"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",
|
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
@ -2332,6 +2422,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "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",
|
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
@ -2548,6 +2650,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "0-6"
|
"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",
|
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||||
"Node": "CPUDVFSHeadroom",
|
"Node": "CPUDVFSHeadroom",
|
||||||
|
@ -2837,6 +2951,18 @@
|
||||||
"Type": "EndHint",
|
"Type": "EndHint",
|
||||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
"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",
|
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
@ -2945,6 +3071,30 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "1"
|
"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": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||||
"Node": "PMU_POLL",
|
"Node": "PMU_POLL",
|
||||||
|
@ -3131,6 +3281,18 @@
|
||||||
"Duration": 2000,
|
"Duration": 2000,
|
||||||
"Value": "44"
|
"Value": "44"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_PROJECT11",
|
||||||
|
"Node": "AutoMigrationMarginsEnable",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_PROJECT11",
|
||||||
|
"Node": "AutoDvfsHeadroomEnable",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_PROJECT11",
|
"PowerHint": "CAMERA_PROJECT11",
|
||||||
"Node": "CPULittleClusterDownRateLimitUs",
|
"Node": "CPULittleClusterDownRateLimitUs",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue