powerstats: Fill in P21 GPU power profile number

Bug: 184042446
Change-Id: Ifbc00ed0a9de98f65e7f0c4b1981e45f0b1887ba
This commit is contained in:
samou 2021-03-30 15:58:10 +00:00 committed by TreeHugger Robot
parent e36b41e17f
commit 9db455e69d

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,