Merge tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power into lineage-21.0
"LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0"
* tag 'LA.UM.9.14.r1-22900.01-LAHAINA.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/power:
power: Modify powerhint for Camera cases
Holi: Powerhint changes to meet camera FPS
Blair: Powerhint changes to meet camera FPS
Power : Adding blair target hints in powerhint.xml
Power : Add power tuning for sHDR encode use case
Power : Adding powerhint.xml for blair target
Power : Add power tuning for sHDR encode use case
power: update powerhint for yupik
power: Update powerhint for yupik
Power: Modify powerhint for cedros
power: add check for shared pointer
Revert "power: Add supported modes"
power: Add supported modes
Revert "power : Modified make file to include Lahaina"
power : Modified make file to include Lahaina Addition of powerhint.xml for the product Lahaina
Change-Id: I2fabc727559f68765986e5480a6f075ed67d81bd
diff --git a/config/holi/powerhint.xml b/config/holi/powerhint.xml
index f659eb4..914e8cf 100644
--- a/config/holi/powerhint.xml
+++ b/config/holi/powerhint.xml
@@ -63,18 +63,21 @@
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
- <!--L CPU Hispeed freq of 1190Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 50 -->
<!--CPUBW HWMON - Set io_percent 100 -->
<!--CPUBW HWMON - Set up_scale 0 -->
<!--L CPU core ctl min cpus 6 -->
+ <!--L CPU core Fmin 1.1 GHz -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="holi"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
- 0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6"/>
+ 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
+ 0x40800100, 1190, 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
<!-- camera 60 FPS -->
@@ -86,16 +89,19 @@
<!--L CPU CORE 5 SCHED LOAD BOOST -->
<!--L CPU CORE 6 SCHED LOAD BOOST -->
<!--L CPU CORE 7 SCHED LOAD BOOST -->
- <!--L CPU Hispeed freq of 1190Mhz -->
<!--L CLUSTER_LITTLE - Set hispeed load 95 -->
<!--L CLUSTER_BIG - Set hispeed load 95 -->
<!--CPUBW HWMON - Set sample_ms 20 -->
<!--L CPU core ctl min cpus 6 -->
+ <!--L CPU core Fmin 1.1 GHz -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="holi"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
- 0x4143C100, 1190, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
+ 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6,
+ 0x40800100, 1190, 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
<!-- camera HFR -->
@@ -311,14 +317,308 @@
<!--CPUBW HWMON - Set io_percent 100 -->
<!--CPUBW HWMON - Set up_scale 0 -->
<!--L CPU core ctl min cpus 6 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
<Config
Id="0x00001336" Enable="true" Timeout="0" Target="holi"
Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
- 0x40800100, 1190, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6"/>
+ 0x40800100, 1190, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
+ 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
+
+ <!-- camera preview -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 1113Mhz -->
+ <!--L CLUSTER_LITTLE - Set hispeed load 95 -->
+ <!--L CLUSTER_BIG - Set hispeed load 95 -->
+ <!--CPUBW HWMON - Set sample_ms 50 -->
+ <!--CPUBW HWMON - Set io_percent 100 -->
+ <!--CPUBW HWMON - Set up_scale 0 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <Config
+ Id="0x00001330" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, -12, 0x40C68110, -12, 0x40C68120, -12,
+ 0x40C68130, -12, 0x40C68000, -12, 0x40C68010, -12, 0x40C68020, -12, 0x40C68030, -12,
+ 0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6"/>
+
+ <!-- camera 30fps-->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CLUSTER_LITTLE - Set hispeed load 95 -->
+ <!--L CLUSTER_BIG - Set hispeed load 95 -->
+ <!--CPUBW HWMON - Set sample_ms 50 -->
+ <!--CPUBW HWMON - Set io_percent 100 -->
+ <!--CPUBW HWMON - Set up_scale 0 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <!--L CPU core Fmin 1.1 GHz -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
+ <Config
+ Id="0x00001331" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
+ 0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
+ 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
+ 0x40800100, 1113, 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
+
+
+ <!-- camera 60 FPS -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CLUSTER_LITTLE - Set hispeed load 95 -->
+ <!--L CLUSTER_BIG - Set hispeed load 95 -->
+ <!--CPUBW HWMON - Set sample_ms 20 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <!--L CPU core Fmin 1.1 GHz -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
+ <Config
+ Id="0x00001332" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
+ 0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
+ 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6,
+ 0x40800100, 1113, 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
+
+
+ <!-- camera HFR -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 1113Mhz -->
+ <!--L CLUSTER_LITTLE - Set hispeed load 95 -->
+ <!--L CLUSTER_BIG - Set hispeed load 95 -->
+ <!--CPUBW HWMON - Set sample_ms 20 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <Config
+ Id="0x00001333" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
+ 0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
+
+
+ <!-- HFR 480fps -->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CPU Hispeed freq of 1113Mhz -->
+ <!--L CLUSTER_LITTLE - Set hispeed load 95 -->
+ <!--L CLUSTER_BIG - Set hispeed load 95 -->
+ <!--CPUBW HWMON - Set sample_ms 20 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <Config
+ Id="0x00001334" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA,
+ 0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA,
+ 0x4143C100, 1113, 0x41440100, 0x5F, 0x41440000, 0x5F, 0x43034000, 0x14, 0x41000100, 6"/>
+
+
+ <!-- same settings for all the qvr power levels intentionally -->
+ <!-- qvr level cpu1 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130A" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu1 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130B" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu1 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130C" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu2 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130D" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu2 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130E" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu2 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x0000130F" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu3 gpu1 -->
+ <!-- B CPU - Cluster min freq ~.691 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001310" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu3 gpu2 -->
+ <!-- B CPU - Cluster min freq ~.768 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001311" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- qvr level cpu3 gpu3 -->
+ <!-- B CPU - Cluster min freq ~.768 Ghz -->
+ <!-- B CPU - Cluster max freq ~2.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~.576 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.516 Ghz -->
+ <!-- GPU - min pwrlevel 6 (freq 180 Mhz) -->
+ <!-- GPU - max pwrlevel 0 (freq 825 Mhz) -->
+ <!-- Idefinite Duration -->
+ <Config
+ Id="0x00001312" Enable="true" Target="blair" Timeout="0"
+ Resources="0x40800000, 0x2B3, 0x40804000, 0x8A0, 0x40800100, 0x240, 0x40804100, 0x5EC,
+ 0x42804000, 0x6, 0x42808000, 0x0"/>
+
+ <!-- sustained performance -->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster max freq ~1.22 GHz -->
+ <!-- L CPU - Cluster max freq ~1.22 Ghz -->
+ <!-- GPU - min freq 275Mhz -->
+ <!-- GPU - max freq 400Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
+ 0X4280C000, 0x113, 0X42810000, 0x190, 0x42814000, 0x0"/>
+
+ <!-- vr mode -->
+ <!-- B CPU - Cluster min freq ~1.22 Ghz -->
+ <!-- L CPU - Cluster min freq ~0.940 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.90 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.70 Ghz -->
+ <!-- GPU - min freq 275Mhz -->
+ <!-- GPU - max freq 625Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001207" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40800000, 0x4CC, 0x40800100, 0x3AC, 0x40804000, 0x76C, 0x40804100, 0x6C0,
+ 0X4280C000, 0x113, 0X4280C000, 0x271, 0x42814000, 0x0"/>
+
+ <!-- vr mode sustained performance -->
+ <!-- B CPU - Cluster min freq ~1.22 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.22 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.22 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.22 Ghz -->
+ <!-- GPU - min freq 400Mhz -->
+ <!-- GPU - max freq 400Mhz -->
+ <!-- GPUBW uncapped -->
+ <Config
+ Id="0x00001301" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40800000, 0x4CC, 0x40800100, 0x4CC, 0x40804000, 0x4CC, 0x40804100, 0x4CC,
+ 0X4280C000, 0x190, 0X42810000, 0x190, 0x42814000, 0x0"/>
+
+ <!-- multi camera 30fps-->
+ <!--L CPU CORE 0 SCHED LOAD BOOST -->
+ <!--L CPU CORE 1 SCHED LOAD BOOST -->
+ <!--L CPU CORE 2 SCHED LOAD BOOST -->
+ <!--L CPU CORE 3 SCHED LOAD BOOST -->
+ <!--L CPU CORE 4 SCHED LOAD BOOST -->
+ <!--L CPU CORE 5 SCHED LOAD BOOST -->
+ <!--L CPU CORE 6 SCHED LOAD BOOST -->
+ <!--L CPU CORE 7 SCHED LOAD BOOST -->
+ <!--L CPU cluster min freq of 1113Mhz -->
+ <!--CPUBW HWMON - Set sample_ms 50 -->
+ <!--CPUBW HWMON - Set io_percent 100 -->
+ <!--CPUBW HWMON - Set up_scale 0 -->
+ <!--L CPU core ctl min cpus 6 -->
+ <!--Set uclamp latency sensitivity to 1 -->
+ <!--Enable sched prefer spread 1 -->
+ <Config
+ Id="0x00001336" Enable="true" Timeout="0" Target="blair"
+ Resources="0x40C68100, -10, 0x40C68110, -10, 0x40C68120, -10,
+ 0x40C68130, -10, 0x40C68000, -10, 0x40C68010, -10, 0x40C68020, -10, 0x40C68030, -10,
+ 0x40800100, 1113, 0x43034000, 0x32, 0x43020000, 0x64, 0x43014000, 0x0, 0x41000100, 6,
+ 0x40CEC000, 0x1, 0x40CA8000, 0x1"/>
</Powerhint>
</HintConfigs>
-
-
-
diff --git a/config/lahaina/powerhint.xml b/config/lahaina/powerhint.xml
old mode 100644
new mode 100755
index 9b8a87c..687ddd7
--- a/config/lahaina/powerhint.xml
+++ b/config/lahaina/powerhint.xml
@@ -28,6 +28,42 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+ /*
+ * Changes from Qualcomm Innovation Center are provided under the following license:
+ *
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted (subject to the limitations in the
+ * disclaimer below) provided that the following conditions are met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following
+ * disclaimer in the documentation and/or other materials provided
+ * with the distribution.
+ *
+ * * Neither the name of Qualcomm Innovation Center, Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
+ * GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
+ * HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
+ * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+ * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
-->
<HintConfigs>
<Powerhint>
@@ -222,7 +258,7 @@
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001330" Enable="true" Timeout="0" Target="lahaina"
- Resources="0x41820000, 0x21, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x21, 0x43004000, 0x64, 0x43008000, 0, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera 30fps-->
@@ -239,7 +275,7 @@
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001331" Enable="true" Timeout="0" Target="lahaina"
- Resources="0x41820000, 0x21, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x21, 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera 60fps-->
<!--CPU-LLC BWMON - Set sample_ms 16 -->
@@ -255,7 +291,7 @@
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001332" Enable="true" Timeout="0" Target="lahaina"
- Resources="0x41820000, 0x10, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x10, 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
+ Resources="0x4183C000, 0x10, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
<!--camera 8k30-->
<!--CPU-LLC BWMON - Set sample_ms 33 -->
@@ -271,7 +307,7 @@
<!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
<Config
Id="0x00001335" Enable="true" Timeout="0" Target="lahaina"
- Resources="0x41820000, 0x21, 0x41808000, 0x64, 0x4180C000, 0, 0x4300C000, 0x21, 0x43004000, 0x64, 0x43008000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x4B9, 0x41444100, 0, 0x41440100, 0x63, 0x43420000, 0xC8"/>
<!--video encode HFR 480 fps-->
<!--MPCTLV3_ALL_CPUS_PWR_CLPS_DIS, 0x1-->
@@ -284,7 +320,23 @@
<!--CPU-LLC BWMON - Set hyst_length hyst_trigger hist memory 0 -->
<Config
Id="0x00001334" Enable="true" Timeout="0" Target="lahaina"
- Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14, 0x40C1C000, 0x1E, 0x41820000, 0x0A, 0x41808000, 0x50, 0x4180C000, 0"/>
+ Resources="0x40400000, 0x1, 0x40800100, 0x40C, 0x40800000, 0x4CC, 0x40C20000, 0x14, 0x40C1C000, 0x1E, 0x4183C000, 0x0A, 0x41834000, 0x50, 0x41838000, 0"/>
+
+ <!--camera 30FPS SHDR-->
+ <!--CPU-LLC BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC BWMON - Set io_percent 100 -->
+ <!--CPU-LLC BWMON - Set hyst_length hist memory 0 -->
+ <!--CPU-LLC-DDR BWMON - Set sample_ms 33 -->
+ <!--CPU-LLC-DDR BWMON - Set io_percent 100 -->
+ <!--CPU-LLC-DDR BWMON - Set hyst_length hist memory 0 -->
+ <!--L CPU min freq 998400 -->
+ <!--L CPU - Disable schedutil PL -->
+ <!--L CPU - Set hispeed load 99 -->
+ <!--CPU0-LLC MEM LAT - Set ratio_ceil 200 -->
+ <!--CPU0-LLC-DDR MEM LAT - Set ratio_ceil 200 - no resource id yet-->
+ <Config
+ Id="0x00001337" Enable="true" Timeout="0" Target="lahaina"
+ Resources="0x4183C000, 0x21, 0x41834000, 0x64, 0x41838000, 0, 0x43034000, 0x21, 0x43020000, 0x64, 0x43024000, 0, 0x40800100, 0x3E6, 0x41444100, 0, 0x41440100, 0x63,0x43420000, 0xC8"/>
<!--camera 30FPS SHDR-->
<!--CPU-LLC BWMON - Set sample_ms 33 -->