mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-29 04:07:47 +00:00
powerstats: update GPU EnergyConsumer channels
GPU EnergyConsumer should include both S8S_VDD_G3D_L2 and S2S_VDD_G3D channels. Bug: 243455584 Test: verified both channels are included Change-Id: Ia63c89ff5ba24d026a4f0b1e368141521e47b611 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
committed by
TreeHugger Robot
parent
63e9c666f2
commit
4c5bbfc702
@@ -381,7 +381,7 @@ void addGPU(std::shared_ptr<PowerStats> p) {
|
||||
{"848000", 4044}};
|
||||
|
||||
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterAndAttrConsumer(p,
|
||||
EnergyConsumerType::OTHER, "GPU", {"S8S_VDD_G3D_L2"},
|
||||
EnergyConsumerType::OTHER, "GPU", {"S8S_VDD_G3D_L2", "S2S_VDD_G3D"},
|
||||
{{UID_TIME_IN_STATE, "/sys/devices/platform/28000000.mali/uid_time_in_state"}},
|
||||
stateCoeffs));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user