Merge "Add support for AMM experiment." into main

This commit is contained in:
Treehugger Robot 2024-12-07 07:44:25 +00:00 committed by Android (Google) Code Review
commit 131d5c33a9
3 changed files with 48 additions and 6 deletions

View file

@ -3492,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3799,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",

View file

@ -3492,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3799,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",

View file

@ -3492,13 +3492,15 @@
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable", "Node": "AutoMigrationMarginsEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable", "Node": "AutoDvfsHeadroomEnable",
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
}, },
{ {
"PowerHint": "GAME", "PowerHint": "GAME",
@ -3799,6 +3801,18 @@
"Node": "MIFTargetLoad", "Node": "MIFTargetLoad",
"Duration": 0, "Duration": 0,
"Value": "20 80" "Value": "20 80"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "DISABLE_AMM",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
} }
], ],
"GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali",