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
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,