Add support for AMM experiment.

See go/pixel-perf-amm-experiment for more info.

Bug: 365855872
Test: build/flash; set .Perf__amm_experiment=true, observe auto_migration_margins_enable value changing 1->0; set .Perf__amm_experiment="", observe the value changing 0->1
Flag: NONE controlled by Mendel instead
Change-Id: Iacd310c83821cce8f50cdb82ab39f714c50f0e42
Signed-off-by: Dmitry Skiba <dskiba@google.com>
This commit is contained in:
Dmitry Skiba 2024-12-06 22:17:12 +00:00
parent 5fc1fc949f
commit 0977e86695
3 changed files with 48 additions and 6 deletions

View file

@ -3472,13 +3472,15 @@
"PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
@ -3779,6 +3781,18 @@
"Node": "MIFTargetLoad",
"Duration": 0,
"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",

View file

@ -3472,13 +3472,15 @@
"PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
@ -3779,6 +3781,18 @@
"Node": "MIFTargetLoad",
"Duration": 0,
"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",

View file

@ -3472,13 +3472,15 @@
"PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.amm_enabled"
},
{
"PowerHint": "GAME",
@ -3779,6 +3781,18 @@
"Node": "MIFTargetLoad",
"Duration": 0,
"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",