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