mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
powerstats: update GPU DVFS to fix GPU EnergyConsumer issue
Failed to create GPU EnergyConsumer due to invalid coefficient size. The size of GPU coefficient list should be equal to the size of available GPU DVFS list in uid_time_in_state. Bug: 243455584 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I7938e3e89d8e1e9a43c49cff60249a723f76b969 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
@@ -318,7 +318,6 @@ void addGPU(std::shared_ptr<PowerStats> p) {
|
||||
|
||||
// TODO (b/197721618): Measuring the GPU power numbers
|
||||
stateCoeffs = {
|
||||
{"151000", 642},
|
||||
{"202000", 890},
|
||||
{"251000", 1102},
|
||||
{"302000", 1308},
|
||||
@@ -614,10 +613,6 @@ void addCommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
addPowerDomains(p);
|
||||
addDevfreq(p);
|
||||
addTPU(p);
|
||||
|
||||
// TODO (b/181070764) (b/182941084):
|
||||
// Remove this when Wifi/BT energy consumption models are available or revert before ship
|
||||
addPlaceholderEnergyConsumers(p);
|
||||
}
|
||||
|
||||
void addGs201CommonDataProviders(std::shared_ptr<PowerStats> p) {
|
||||
|
||||
Reference in New Issue
Block a user