Home | History | Annotate | Download | only in wahoo
      1 <?xml version="1.0" encoding="utf-8" ?>
      2 
      3 <!--
      4 /* Copyright (c) 2016, The Linux Foundation. All rights reserved.
      5  *
      6  * Redistribution and use in source and binary forms, with or without
      7  * modification, are permitted provided that the following conditions are
      8  * met:
      9  *     * Redistributions of source code must retain the above copyright
     10  *       notice, this list of conditions and the following disclaimer.
     11  *     * Redistributions in binary form must reproduce the above
     12  *       copyright notice, this list of conditions and the following
     13  *       disclaimer in the documentation and/or other materials provided
     14  *       with the distribution.
     15  *     * Neither the name of The Linux Foundation nor the names of its
     16  *       contributors may be used to endorse or promote products derived
     17  *       from this software without specific prior written permission.
     18  *
     19  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
     20  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     21  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
     22  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
     23  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
     26  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     27  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
     28  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
     29  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     30  */
     31 -->
     32 
     33 <Powerhint>
     34     <Hint type="0x0A00"> <!--video encode 30 fps-->
     35         <Resource opcode="0x40804000" value="0x7A6"/>   <!-- B CPU - Cluster max freq ~1.958 Ghz -->
     36     </Hint>
     37     <Hint type="0x0F00"> <!--sustained performance-->
     38         <Resource opcode="0x40800000" value="0x0"/>     <!-- B CPU - Cluster min freq uncapped -->
     39         <Resource opcode="0x40800100" value="0x0"/>     <!-- L CPU - Cluster min freq uncapped -->
     40         <Resource opcode="0x40804000" value="0x4E0"/>   <!-- B CPU - Cluster max freq ~1.2 GHz -->
     41         <Resource opcode="0x40804100" value="0x4E0"/>   <!-- L CPU - Cluster max freq ~1.2 Ghz -->
     42         <Resource opcode="0x4280C000" value="0xB4"/>    <!-- GPU - min freq 180 Mhz -->
     43         <Resource opcode="0x42810000" value="0x156"/>   <!-- GPU - max freq 342 Mhz -->
     44         <Resource opcode="0x42814000" value="0x0"/>     <!-- GPUBW freq uncapped -->
     45     </Hint>
     46     <Hint type="0x1000"> <!--vr mode-->
     47         <Resource opcode="0x40800000" value="0x626"/>   <!-- B CPU - Cluster min freq ~1.4 Ghz -->
     48         <Resource opcode="0x40800100" value="0x613"/>   <!-- L CPU - Cluster min freq ~1.4 Ghz -->
     49         <Resource opcode="0x40804000" value="0x626"/>   <!-- B CPU - Cluster max freq ~1.4 Ghz -->
     50         <Resource opcode="0x40804100" value="0x613"/>   <!-- L CPU - Cluster max freq ~1.4 Ghz -->
     51         <Resource opcode="0x4280C000" value="0x203"/>   <!-- GPU - min freq 515 Mhz -->
     52         <Resource opcode="0x42810000" value="0x203"/>   <!-- GPU - max freq 515 Mhz -->
     53         <Resource opcode="0x42814000" value="0x2E57"/>  <!-- GPUBW freq 1555 Mhz-->
     54     </Hint>
     55     <Hint type="0x1001"> <!--vr mode sustained performance-->
     56         <Resource opcode="0x40800000" value="0x540"/>   <!-- B CPU - Cluster min freq ~1.5 Ghz -->
     57         <Resource opcode="0x40800100" value="0x5c6"/>   <!-- L CPU - Cluster min freq ~1.3 Ghz -->
     58         <Resource opcode="0x40804000" value="0x540"/>   <!-- B CPU - Cluster max freq ~1.5 Ghz -->
     59         <Resource opcode="0x40804100" value="0x5c6"/>   <!-- L CPU - Cluster max freq ~1.3 Ghz -->
     60         <Resource opcode="0x4280C000" value="0x19E"/>   <!-- GPU - min freq 414 Mhz -->
     61         <Resource opcode="0x42810000" value="0x19E"/>   <!-- GPU - max freq 414 Mhz -->
     62         <Resource opcode="0x42814000" value="0x1E4F"/>  <!-- GPUBW freq 1017 Mhz -->
     63     </Hint>
     64     <Hint type="0x1A00"> <!--interaction-->
     65         <Resource opcode="0x40800000" value="0x44C"/>     <!-- B CPU - Cluster min freq ~1.1 Ghz -->
     66         <Resource opcode="0x40800100" value="0x44C"/>     <!-- L CPU - Cluster min freq ~1.1 Ghz -->
     67         <Resource opcode="0x42C18000" value="0x32"/>      <!-- Top App schedtune boost to 50 -->
     68         <Resource opcode="0x4180C000" value="0x0"/>       <!-- CPUBW disable hysteresis -->
     69         <Resource opcode="0x41800000" value="0x33"/>      <!-- CPUBW min freq 681 MHz -->
     70     </Hint>
     71     <Hint type="0x1B00"> <!--boost-->
     72         <Resource opcode="0x40804000" value="0xFFF"/>     <!-- B CPU - Cluster max freq ~ max -->
     73         <Resource opcode="0x40804100" value="0xFFF"/>     <!-- L CPU - Cluster max freq ~ max -->
     74         <Resource opcode="0x40800000" value="0xFFF"/>     <!-- B CPU - Cluster min freq ~ max -->
     75         <Resource opcode="0x40800100" value="0xFFF"/>     <!-- L CPU - Cluster min freq ~ max -->
     76         <Resource opcode="0x4180C000" value="0x0"/>       <!-- CPUBW disable hysteresis -->
     77         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     78         <Resource opcode="0x41800000" value="0x8C"/>      <!-- CPUBW min freq 1804 MHz -->
     79     </Hint>
     80 </Powerhint>
     81