sanders: add perfboostconfig.xml
This commit is contained in:
61
configs/perfboostsconfig.xml
Normal file
61
configs/perfboostsconfig.xml
Normal file
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
* All Rights Reserved.
|
||||
* Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
-->
|
||||
|
||||
|
||||
<!--Ids are used in identifying the boosts, increment ids linearly,
|
||||
do not modify Ids, or add in between-->
|
||||
<!--follow the number format rules while specifying number, can be given
|
||||
in any format-->
|
||||
|
||||
<BoostConfigs>
|
||||
<PerfBoost>
|
||||
|
||||
<!--app lauch boost-->
|
||||
<!-- SCHEDBOOST resource opcode, value-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
<!-- SCHED_SPILL_NR_RUN resource opcode, value-->
|
||||
<!-- SCHED_RESTRICT_CLUSTER_SPILL resource opcode, value-->
|
||||
|
||||
<!-- Type="1", main launch boost of 2sec -->
|
||||
<Config
|
||||
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="msm8953"
|
||||
Resources="0x40C00000, 0x1, 0x40800100, 0x690, 0x40C2C000, 0x1, 0x40C34000, 0x0" />
|
||||
|
||||
<!--app lauch boost (disabling packing)-->
|
||||
<!-- DISABLE_POWER_COLLAPSE resource opcode, value-->
|
||||
|
||||
<!-- Type="2", launch boost for disable packing 1.5sec -->
|
||||
<Config
|
||||
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="msm8953"
|
||||
Resources="0x40400000, 0x1" />
|
||||
|
||||
<!-- config_enablePerfBoostForAnimation-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
|
||||
|
||||
<!-- Type="1", Animation boost of 0.6sec -->
|
||||
<Config
|
||||
Id="0x00001083" Type="1" Enable="true" Timeout="600" Target="msm8953"
|
||||
Resources="0x40800100, 0x578" />
|
||||
|
||||
<!--Vertical Scroll boost-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
|
||||
<!-- Type="1", Vertical Scroll boost -->
|
||||
<Config
|
||||
Id="0x00001080" Type="1" Enable="true" Target="msm8953"
|
||||
Resources="0x40800100, 0x578" />
|
||||
|
||||
<!--Horizontal Scroll boost-->
|
||||
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
|
||||
|
||||
<!-- Type="2", Horizontal Scroll boost -->
|
||||
<Config
|
||||
Id="0x00001080" Type="2" Enable="true" Target="msm8953"
|
||||
Resources="0x40800100, 0x578" />
|
||||
</PerfBoost>
|
||||
</BoostConfigs>
|
||||
99
configs/powerhint.xml
Normal file
99
configs/powerhint.xml
Normal file
@@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<!--
|
||||
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<Powerhint>
|
||||
<Hint type="0x0E00"> <!--preview-->
|
||||
<Resource opcode="0x41400000" value="0x4" /> <!-- B CPU - above_hispeed_delay of 40 ms -->
|
||||
<Resource opcode="0x41410000" value="0x5F" /> <!-- B CPU - go hispeed load 95 -->
|
||||
<Resource opcode="0x41414000" value="0x22C"/> <!-- B CPU - hispeed freq of 556 MHz -->
|
||||
<Resource opcode="0x41420000" value="0x5A" /> <!-- B CPU - target load of 90 -->
|
||||
<Resource opcode="0x41400100" value="0x4" /> <!-- L CPU - above_hispeed_delay of 40 ms -->
|
||||
<Resource opcode="0x41410100" value="0x5F" /> <!-- L CPU - go hispeed load 95 -->
|
||||
<Resource opcode="0x41414100" value="0x22C"/> <!-- L CPU - hispeed freq of 556 MHz- -->
|
||||
<Resource opcode="0x41420100" value="0x5A" /> <!-- L CPU - target load of 90 -->
|
||||
<Resource opcode="0x41810000" value="0x9C4"/> <!-- CPUBW low power ceil mpbs of 2500 -->
|
||||
<Resource opcode="0x41814000" value="0x32" /> <!-- CPUBW low power io percent of 50 -->
|
||||
</Hint>
|
||||
<Hint type="0x0A00"> <!--video encode 30 fps-->
|
||||
<Resource opcode="0x41400000" value="0x4" /> <!-- B CPU - above_hispeed_delay of 40 ms -->
|
||||
<Resource opcode="0x41410000" value="0x5F" /> <!-- B CPU - go hispeed load 95 -->
|
||||
<Resource opcode="0x41414000" value="0x326"/> <!-- B CPU - hispeed freq of 806 MHz -->
|
||||
<Resource opcode="0x41420000" value="0x5A" /> <!-- B CPU - target load of 90 -->
|
||||
<Resource opcode="0x41400100" value="0x4" /> <!-- L CPU - above_hispeed_delay of 40 ms -->
|
||||
<Resource opcode="0x41410100" value="0x5F" /> <!-- L CPU - go hispeed load 95 -->
|
||||
<Resource opcode="0x41414100" value="0x22C"/> <!-- L CPU - hispeed freq of 556 MHz- -->
|
||||
<Resource opcode="0x41420100" value="0x5A" /> <!-- L CPU - target load of 90 -->
|
||||
<Resource opcode="0x41810000" value="0x9C4"/> <!-- CPUBW low power ceil mpbs of 2500 -->
|
||||
<Resource opcode="0x41814000" value="0x32" /> <!-- CPUBW low power io percent of 50 -->
|
||||
<Resource opcode="0x4180C000" value="0x0" /> <!-- CPUBW disable hysteresis -->
|
||||
<Resource opcode="0x41820000" value="0xA" /> <!-- CPUBW sample_ms of 10ms -->
|
||||
<Resource opcode="0x41438100" value="0x0" /> <!-- L CPU - disable ignore_hispeed_notif -->
|
||||
<Resource opcode="0x41438000" value="0x0" /> <!-- B CPU - disable ignore_hispeed_notif -->
|
||||
</Hint>
|
||||
<Hint type="0x0B00"> <!--video decode-->
|
||||
<Resource opcode="0x41400100" value="0x4" /> <!-- L CPU - Above Hispeed Delay of 40ms -->
|
||||
<Resource opcode="0x41410100" value="0x5F" /> <!-- L CPU - Go Hispeed Delay of 95 -->
|
||||
<Resource opcode="0x41414100" value="0x2D9"/> <!-- L CPU - Hispeed Freq of 768 MHz -->
|
||||
<Resource opcode="0x41420100" value="0x5A" /> <!-- L CPU - Target Loads of 90 -->
|
||||
<Resource opcode="0x41400000" value="0x4" /> <!-- B CPU - Above Hispeed Delay of 40ms -->
|
||||
<Resource opcode="0x41410000" value="0x5F" /> <!-- B CPU - Go Hispeed Load of 95 -->
|
||||
<Resource opcode="0x41414000" value="0x2D9"/> <!-- B CPU - Hispeed Freq of 729 MHz -->
|
||||
<Resource opcode="0x41420000" value="0x5A" /> <!-- B CPU - Target Load of 90 -->
|
||||
</Hint>
|
||||
<Hint type="0x0F00"> <!--sustained performance-->
|
||||
<Resource opcode="0x40800000" value="0x0"/> <!-- B CPU - Cluster min freq uncapped -->
|
||||
<Resource opcode="0x40800100" value="0x0"/> <!-- L CPU - Cluster min freq uncapped -->
|
||||
<Resource opcode="0x40804000" value="0x4E0"/> <!-- B CPU - Cluster max freq ~1.2 GHz -->
|
||||
<Resource opcode="0x40804100" value="0x4E0"/> <!-- L CPU - Cluster max freq ~1.2 Ghz -->
|
||||
<Resource opcode="0x4280C000" value="0xB4"/> <!-- GPU - min freq 180 Mhz -->
|
||||
<Resource opcode="0x42810000" value="0x156"/> <!-- GPU - max freq 342 Mhz -->
|
||||
<Resource opcode="0x42814000" value="0x0"/> <!-- GPUBW freq uncapped -->
|
||||
</Hint>
|
||||
<Hint type="0x1000"> <!--vr mode-->
|
||||
<Resource opcode="0x40800000" value="0x579"/> <!-- B CPU - Cluster min freq ~1.4 Ghz -->
|
||||
<Resource opcode="0x40800100" value="0x579"/> <!-- L CPU - Cluster min freq ~1.4 Ghz -->
|
||||
<Resource opcode="0x40804000" value="0x579"/> <!-- B CPU - Cluster max freq ~1.4 Ghz -->
|
||||
<Resource opcode="0x40804100" value="0x579"/> <!-- L CPU - Cluster max freq ~1.4 Ghz -->
|
||||
<Resource opcode="0x4280C000" value="0x203"/> <!-- GPU - min freq 510 Mhz -->
|
||||
<Resource opcode="0x42810000" value="0x203"/> <!-- GPU - max freq 510 Mhz -->
|
||||
<Resource opcode="0x42814000" value="0x1E4F"/> <!-- GPUBW freq 775 Mhz-->
|
||||
</Hint>
|
||||
<Hint type="0x1001"> <!--vr mode sustained performance-->
|
||||
<Resource opcode="0x40800000" value="0x4E0"/> <!-- B CPU - Cluster min freq ~1.2 Ghz -->
|
||||
<Resource opcode="0x40800100" value="0x4E0"/> <!-- L CPU - Cluster min freq ~1.2 Ghz -->
|
||||
<Resource opcode="0x40804000" value="0x4E0"/> <!-- B CPU - Cluster max freq ~1.2 Ghz -->
|
||||
<Resource opcode="0x40804100" value="0x4E0"/> <!-- L CPU - Cluster max freq ~1.2 Ghz -->
|
||||
<Resource opcode="0x4280C000" value="0x156"/> <!-- GPU - min freq 342 Mhz -->
|
||||
<Resource opcode="0x42810000" value="0x156"/> <!-- GPU - max freq 342 Mhz -->
|
||||
<Resource opcode="0x42814000" value="0x1E4F"/> <!-- GPUBW freq 775 Mhz -->
|
||||
</Hint>
|
||||
</Powerhint>
|
||||
Reference in New Issue
Block a user