aboutsummaryrefslogtreecommitdiff
path: root/configs/powerhint.xml
diff options
context:
space:
mode:
Diffstat (limited to 'configs/powerhint.xml')
-rw-r--r--configs/powerhint.xml125
1 files changed, 125 insertions, 0 deletions
diff --git a/configs/powerhint.xml b/configs/powerhint.xml
new file mode 100644
index 0000000..68eb920
--- /dev/null
+++ b/configs/powerhint.xml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018, The LineageOS Project.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted 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 The Linux Foundation nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 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>
+ <!--preview-->
+ <!-- B CPU - above_hispeed_delay of 40 ms -->
+ <!-- B CPU - go hispeed load 95 -->
+ <!-- B CPU - hispeed freq of 556 MHz -->
+ <!-- B CPU - target load of 90 -->
+ <!-- L CPU - above_hispeed_delay of 40 ms -->
+ <!-- L CPU - go hispeed load 95 -->
+ <!-- L CPU - hispeed freq of 556 MHz- -->
+ <!-- L CPU - target load of 90 -->
+ <!-- CPUBW low power ceil mpbs of 2500 -->
+ <!-- CPUBW low power io percent of 50 -->
+
+ <Config
+ Id="0x00001300" Enable="true" Target="msm8996"
+ Resources="0x41400000, 0x4, 0x41410000, 0x5F, 0x41414000, 0x22C, 0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100, 0x5F
+ , 0x41414100, 0x22C, 0x41420100, 0x5A, 0x41810000, 0x9C4, 0x41814000, 0x32" />
+
+ <!--video encode 30 fps-->
+ <!-- B CPU - above_hispeed_delay of 40 ms -->
+ <!-- B CPU - go hispeed load 95 -->
+ <!-- B CPU - hispeed freq of 806 MHz -->
+ <!-- B CPU - target load of 90 -->
+ <!-- L CPU - above_hispeed_delay of 40 ms -->
+ <!-- L CPU - go hispeed load 95 -->
+ <!-- L CPU - hispeed freq of 556 MHz- -->
+ <!-- L CPU - target load of 90 -->
+ <!-- CPUBW low power ceil mpbs of 2500 -->
+ <!-- CPUBW low power io percent of 50 -->
+ <!-- CPUBW disable hysteresis -->
+ <!-- CPUBW sample_ms of 10ms -->
+ <!-- L CPU - disable ignore_hispeed_notif -->
+ <!-- B CPU - disable ignore_hispeed_notif -->
+ <Config
+ Id="0x00001203" Enable="true" Target="msm8996"
+ Resources="0x41400000, 0x4, 0x41410000, 0x5F ,0x41414000, 0x326, 0x41420000, 0x5A, 0x41400100, 0x4, 0x41410100
+ , 0x5F, 0x41414100, 0x22C, 0x41420100, 0x5A, 0x41810000 ,0x9C4, 0x41814000,
+ 0x32, 0x4180C000 ,0x0, 0x41820000, 0xA, 0x41438100, 0x0, 0x41438000, 0x0" />
+
+ <!--video decode-->
+ <!-- L CPU - above_hispeed_delay of 40 ms -->
+ <!-- L CPU - go hispeed load 95 -->
+ <!-- L CPU - hispeed freq of 768 MHz- -->
+ <!-- L CPU - target load of 90 -->
+ <!-- B CPU - above_hispeed_delay of 40 ms -->
+ <!-- B CPU - go hispeed load 95 -->
+ <!-- B CPU - hispeed freq of 729 MHz -->
+ <!-- B CPU - target load of 90 -->
+ <Config
+ Id="0x00001204" Enable="true" Target="msm8996"
+ Resources="0x41400100, 0x4, 0x41410100, 0x5F ,0x41414100, 0x2D9, 0x41420100, 0x5A, 0x41400000, 0x4, 0x41410000
+ , 0x5F, 0x41414000, 0x2D9, 0x41420000, 0x5A" />
+
+ <!--sustained performance-->
+ <!-- B CPU - Cluster min freq uncapped -->
+ <!-- L CPU - Cluster min freq uncapped -->
+ <!-- B CPU - Cluster max freq ~1.2 GHz -->
+ <!-- L CPU - Cluster max freq ~1.2 Ghz -->
+ <!-- GPU - min freq 180 Mhz -->
+ <!-- GPU - max freq 342 Mhz -->
+ <!-- GPUBW freq uncapped -->
+ <Config
+ Id="0x00001206" Enable="true" Target="msm8996"
+ Resources="0x40800000, 0x0, 0x40800100, 0x0, 0x40804000, 0x4E0, 0x40804100, 0x4E0,
+ 0x4280C000, 0xB4, 0x42810000, 0x156, 0x42814000, 0x0"/>
+ <!--vr mode-->
+ <!-- B CPU - Cluster min freq ~1.4 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.4 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.4 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.4 Ghz -->
+ <!-- GPU - min freq 510 Mhz -->
+ <!-- GPU - max freq 510 Mhz -->
+ <!-- GPUBW freq 775 Mhz-->
+ <Config
+ Id="0x00001207" Enable="true" Target="msm8996"
+ Resources="0x40800000, 0x579, 0x40800100, 0x579, 0x40804000, 0x579, 0x40804100, 0x579,
+ 0x4280C000, 0x203, 0x42810000, 0x203, 0x42814000, 0x1E4F"/>
+
+ <!--vr mode sustained performance-->
+ <!-- B CPU - Cluster min freq ~1.2 Ghz -->
+ <!-- L CPU - Cluster min freq ~1.2 Ghz -->
+ <!-- B CPU - Cluster max freq ~1.2 Ghz -->
+ <!-- L CPU - Cluster max freq ~1.2 Ghz -->
+ <!-- GPU - min freq 342 Mhz -->
+ <!-- GPU - max freq 342 Mhz -->
+ <!-- GPUBW freq 775 Mhz -->
+ <Config
+ Id="0x00001301" Enable="true" Target="msm8996"
+ Resources="0x40800000, 0x4E0, 0x40800100, 0x4E0, 0x40804000, 0x4E0, 0x40804100, 0x4E0, 0x4280C000, 0x156,
+ 0x42810000, 0x156, 0x42814000, 0x1E4F"/>
+ </Powerhint>
+</HintConfigs>