From 5930d9c9846119b20033f9565cf191e21dd84c40 Mon Sep 17 00:00:00 2001 From: Darren Hsu Date: Fri, 3 Nov 2023 16:27:23 +0800 Subject: [PATCH] powerstats: update display state residency configs Bug: 291861341 Bug: 291861257 Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest Change-Id: Iaa822077d667c3df1139a08bcf2b7695cad4c483 Signed-off-by: Darren Hsu --- powerstats/caiman/service.cpp | 21 ++++++++++++++++----- powerstats/komodo/service.cpp | 21 ++++++++++++++++----- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/powerstats/caiman/service.cpp b/powerstats/caiman/service.cpp index 2cbcca3f..c891a781 100644 --- a/powerstats/caiman/service.cpp +++ b/powerstats/caiman/service.cpp @@ -35,11 +35,22 @@ void addDisplay(std::shared_ptr p) { // Add display residency stats std::vector states = { "Off", - "LP: 1440x3120@30", - "On: 1440x3120@60", - "On: 1440x3120@90", - "HBM: 1440x3120@60", - "HBM: 1440x3120@90"}; + "LP: 960x2142@1", + "LP: 960x2142@30", + "On: 960x2142@1", + "On: 960x2142@30", + "On: 960x2142@60", + "On: 960x2142@120", + "HBM: 960x2142@60", + "HBM: 960x2142@120", + "LP: 1280x2856@1", + "LP: 1280x2856@30", + "On: 1280x2856@1", + "On: 1280x2856@30", + "On: 1280x2856@60", + "On: 1280x2856@120", + "HBM: 1280x2856@60", + "HBM: 1280x2856@120"}; p->addStateResidencyDataProvider(std::make_unique( "Display", diff --git a/powerstats/komodo/service.cpp b/powerstats/komodo/service.cpp index 2cbcca3f..76bfa41e 100644 --- a/powerstats/komodo/service.cpp +++ b/powerstats/komodo/service.cpp @@ -35,11 +35,22 @@ void addDisplay(std::shared_ptr p) { // Add display residency stats std::vector states = { "Off", - "LP: 1440x3120@30", - "On: 1440x3120@60", - "On: 1440x3120@90", - "HBM: 1440x3120@60", - "HBM: 1440x3120@90"}; + "LP: 1008x2244@1", + "LP: 1008x2244@30", + "On: 1008x2244@1", + "On: 1008x2244@30", + "On: 1008x2244@60", + "On: 1008x2244@120", + "HBM: 1008x2244@60", + "HBM: 1008x2244@120", + "LP: 1344x2992@1", + "LP: 1344x2992@30", + "On: 1344x2992@1", + "On: 1344x2992@30", + "On: 1344x2992@60", + "On: 1344x2992@120", + "HBM: 1344x2992@60", + "HBM: 1344x2992@120"}; p->addStateResidencyDataProvider(std::make_unique( "Display",