From 9db455e69d9b674eb563249bac5ede64cf355642 Mon Sep 17 00:00:00 2001 From: samou Date: Tue, 30 Mar 2021 15:58:10 +0000 Subject: [PATCH] powerstats: Fill in P21 GPU power profile number Bug: 184042446 Change-Id: Ifbc00ed0a9de98f65e7f0c4b1981e45f0b1887ba --- powerstats/Gs101CommonDataProviders.cpp | 34 ++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/powerstats/Gs101CommonDataProviders.cpp b/powerstats/Gs101CommonDataProviders.cpp index 4d47b2c3..345450d2 100644 --- a/powerstats/Gs101CommonDataProviders.cpp +++ b/powerstats/Gs101CommonDataProviders.cpp @@ -350,25 +350,25 @@ void addGPU(std::shared_ptr 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,