powerstats: Fill in P21 GPU power profile number am: 9db455e69d

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14031652

Change-Id: Icfa0aaada99de87ebcfe57ac654849b61ce94205
This commit is contained in:
samou 2021-04-09 10:58:23 +00:00 committed by Automerger Merge Worker
commit e694ba3c3c

View file

@ -350,25 +350,25 @@ void addGPU(std::shared_ptr<PowerStats> p) {
// B0/B1 chips have different GPU DVFS operating points than A0/A1 SoC
if (socRev >= 2) {
stateCoeffs = {
{"151000", 10},
{"202000", 20},
{"251000", 30},
{"302000", 40},
{"351000", 50},
{"400000", 60},
{"471000", 70},
{"510000", 80},
{"572000", 90},
{"701000", 100},
{"762000", 110},
{"848000", 120}};
{"151000", 642},
{"202000", 890},
{"251000", 1102},
{"302000", 1308},
{"351000", 1522},
{"400000", 1772},
{"471000", 2105},
{"510000", 2292},
{"572000", 2528},
{"701000", 3127},
{"762000", 3452},
{"848000", 4044}};
} else {
stateCoeffs = {
{"151000", 10},
{"302000", 20},
{"455000", 30},
{"572000", 40},
{"670000", 50}};
{"151000", 843},
{"302000", 1529},
{"455000", 2298},
{"572000", 2866},
{"670000", 3191}};
}
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterAndAttrConsumer(p,