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: I77124ff55150075bb6d129c7c56ebed1a939ad59
Signed-off-by: Dmitry Skiba <dskiba@google.com>
This commit is contained in:
Dmitry Skiba 2024-12-09 19:43:18 +00:00
parent bdcfa7a74e
commit 4ff7962854

View file

@ -3482,13 +3482,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",
@ -3807,6 +3809,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",