powerstats: update display refresh rate am: 8d2af6b045

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/24365535

Change-Id: Id35cb282bdb8961cab5cf0fa7b43e4c8eee92283
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Darren Hsu 2023-08-09 10:32:31 +00:00 committed by Automerger Merge Worker
commit 1c0cee050a

View file

@ -37,9 +37,9 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
"Off",
"LP: 1080x2400@30",
"On: 1080x2400@60",
"On: 1080x2400@90",
"On: 1080x2400@120",
"HBM: 1080x2400@60",
"HBM: 1080x2400@90"};
"HBM: 1080x2400@120"};
p->addStateResidencyDataProvider(std::make_unique<DisplayStateResidencyDataProvider>(
"Display",
@ -51,9 +51,9 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
p, EnergyConsumerType::DISPLAY, "Display", {"VSYS_PWR_DISPLAY"}, "Display",
{{"LP: 1080x2400@30", 1},
{"On: 1080x2400@60", 2},
{"On: 1080x2400@90", 3},
{"On: 1080x2400@120", 3},
{"HBM: 1080x2400@60", 4},
{"HBM: 1080x2400@90", 5}}));
{"HBM: 1080x2400@120", 5}}));
}
int main() {