From 8c09f99b21bcefbfe4782005335659f2cbb1326d Mon Sep 17 00:00:00 2001 From: Emma Zhou Date: Fri, 21 Aug 2020 12:32:06 +0800 Subject: [PATCH 1/5] qvr powerhint for Lahaina CRs-Fixed: 2708823 Change-Id: I3ff361394007415dbfa42b6fffa6d824a4cada36 Signed-off-by: Emma Zhou --- config/lahaina/powerhint.xml | 158 ++++++++++++++++++++++++++++++++--- 1 file changed, 147 insertions(+), 11 deletions(-) diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml index b7e8295..3494f6f 100644 --- a/config/lahaina/powerhint.xml +++ b/config/lahaina/powerhint.xml @@ -50,23 +50,159 @@ Id="0x00001301" Enable="true" Target="lahaina" Resources=""/> + - - - - - - - - + + + + + + + + + Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840, + 0x42804000, 0x5, 0x42808000, 0x0, 0x41000000, 0x3, 0x41000200, 0x1"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a3038ec9312b1b2034f14c89466e59b0a21a5209 Mon Sep 17 00:00:00 2001 From: KANCHERL SAI YASHWANTH REDDY Date: Fri, 4 Sep 2020 17:19:17 +0530 Subject: [PATCH 2/5] power : adding power hal for holi Added powerhint.xml for holi and changed make file Change-Id: Ibbc5908caec37719d766616326579ae3576eada0 --- config/holi/powerhint.xml | 278 ++++++++++++++++++++++++++++++++++++++ power-vendor-product.mk | 2 + 2 files changed, 280 insertions(+) create mode 100644 config/holi/powerhint.xml diff --git a/config/holi/powerhint.xml b/config/holi/powerhint.xml new file mode 100644 index 0000000..774e6da --- /dev/null +++ b/config/holi/powerhint.xml @@ -0,0 +1,278 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/power-vendor-product.mk b/power-vendor-product.mk index b957116..a06869c 100644 --- a/power-vendor-product.mk +++ b/power-vendor-product.mk @@ -13,4 +13,6 @@ else ifeq ($(TARGET_BOARD_PLATFORM),atoll) PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/atoll/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml else ifeq ($(TARGET_BOARD_PLATFORM),lahaina) PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/lahaina/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml +else ifeq ($(TARGET_BOARD_PLATFORM),holi) +PRODUCT_COPY_FILES += vendor/qcom/opensource/power/config/holi/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml endif From 95e10ea07d617cab89cd9515a95c6bc91ae19f06 Mon Sep 17 00:00:00 2001 From: Rajashekar Adi Date: Wed, 9 Sep 2020 16:14:29 +0530 Subject: [PATCH 3/5] Power: Update powerhint for cedros Add powerhint for camera cases for cedros Change-Id: Ie184ac66e059d2633032781b2774a25453a0b322 --- config/lahaina/powerhint.xml | 278 +++++++++++++++++++++++++++++++++++ 1 file changed, 278 insertions(+) diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml index 3494f6f..26d27d9 100644 --- a/config/lahaina/powerhint.xml +++ b/config/lahaina/powerhint.xml @@ -232,5 +232,283 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ea7deb3bb97999566dbe2fc4744f6ca2aa1c2e98 Mon Sep 17 00:00:00 2001 From: Ananth Raghavan Subramanian Date: Fri, 7 Aug 2020 11:47:53 -0700 Subject: [PATCH 4/5] lahaina: Correct powerhint for camera Modified the powerhint for the general camera use-cases and added 60FPS, 8k30, HFR hints. Change-Id: Ide5be13c84a06d0ebd76d3dc13cdac0360ad8e93 --- config/lahaina/powerhint.xml | 64 +++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml index 26d27d9..180793b 100644 --- a/config/lahaina/powerhint.xml +++ b/config/lahaina/powerhint.xml @@ -204,21 +204,69 @@ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x0, 0x42808000, 0x0, 0x41000000, 0x3, 0x41000200, 0x1"/> - - - - + + + + + + + + + + + + + + + + + + + + + + + + + Resources="0x41820000, 0x21, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x21, 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/> - - + + + + + + + + + + + Resources="0x41820000, 0x10, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x10, 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/> + + + + + + + + + + + + + + From c28b904053d70e477beb6bbd58cc8bd9e3c4cd34 Mon Sep 17 00:00:00 2001 From: Ananth Raghavan Subramanian Date: Tue, 15 Sep 2020 08:29:35 -0700 Subject: [PATCH 5/5] lahaina: Fix comments in powerhint.xml Fixing syntax in powerhint.xml comments. --- config/lahaina/powerhint.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml index 180793b..59a0469 100644 --- a/config/lahaina/powerhint.xml +++ b/config/lahaina/powerhint.xml @@ -204,8 +204,8 @@ Resources="0x40800000, 0x386, 0x40804000, 0x82C, 0x40800100, 0x253, 0x40804100, 0x506, 0x40800200, 0x399, 0x40804200, 0x840, 0x42804000, 0x0, 0x42808000, 0x0, 0x41000000, 0x3, 0x41000200, 0x1"/> - + + @@ -214,13 +214,13 @@ - + - @@ -231,7 +231,7 @@ - + @@ -247,7 +247,7 @@ - + @@ -263,7 +263,7 @@ - +