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="0x42810000" value="0x156"/>   <!-- GPU - max freq 342 Mhz -->
     43         <Resource opcode="0x42814000" value="0x0"/>     <!-- GPUBW freq uncapped -->
     44     </Hint>
     45     <Hint type="0x1000"> <!--vr mode-->
     46         <Resource opcode="0x40800000" value="0x626"/>   <!-- B CPU - Cluster min freq ~1.4 Ghz -->
     47         <Resource opcode="0x40800100" value="0x613"/>   <!-- L CPU - Cluster min freq ~1.4 Ghz -->
     48         <Resource opcode="0x40804000" value="0x626"/>   <!-- B CPU - Cluster max freq ~1.4 Ghz -->
     49         <Resource opcode="0x40804100" value="0x613"/>   <!-- L CPU - Cluster max freq ~1.4 Ghz -->
     50         <Resource opcode="0x4280C000" value="0x203"/>   <!-- GPU - min freq 515 Mhz -->
     51         <Resource opcode="0x42810000" value="0x203"/>   <!-- GPU - max freq 515 Mhz -->
     52         <Resource opcode="0x42814000" value="0x2E57"/>  <!-- GPUBW freq 1555 Mhz-->
     53     </Hint>
     54     <Hint type="0x1001"> <!--vr mode sustained performance-->
     55         <Resource opcode="0x40800000" value="0x540"/>   <!-- B CPU - Cluster min freq ~1.5 Ghz -->
     56         <Resource opcode="0x40800100" value="0x5c6"/>   <!-- L CPU - Cluster min freq ~1.3 Ghz -->
     57         <Resource opcode="0x40804000" value="0x540"/>   <!-- B CPU - Cluster max freq ~1.5 Ghz -->
     58         <Resource opcode="0x40804100" value="0x5c6"/>   <!-- L CPU - Cluster max freq ~1.3 Ghz -->
     59         <Resource opcode="0x4280C000" value="0x19E"/>   <!-- GPU - min freq 414 Mhz -->
     60         <Resource opcode="0x42810000" value="0x19E"/>   <!-- GPU - max freq 414 Mhz -->
     61         <Resource opcode="0x42814000" value="0x1E4F"/>  <!-- GPUBW freq 1017 Mhz -->
     62     </Hint>
     63     <Hint type="0x1A00"> <!--interaction-->
     64         <Resource opcode="0x40800000" value="0x44C"/>     <!-- B CPU - Cluster min freq ~1.1 Ghz -->
     65         <Resource opcode="0x40800100" value="0x44C"/>     <!-- L CPU - Cluster min freq ~1.1 Ghz -->
     66         <Resource opcode="0x42C18000" value="0x32"/>      <!-- Top App schedtune boost to 50 -->
     67         <Resource opcode="0x4180C000" value="0x0"/>       <!-- CPUBW disable hysteresis -->
     68         <Resource opcode="0x41800000" value="0x33"/>      <!-- CPUBW min freq 681 MHz -->
     69     </Hint>
     70     <Hint type="0x1B00"> <!--boost-->
     71         <Resource opcode="0x40800000" value="0xFFF"/>     <!-- B CPU - Cluster min freq ~ max -->
     72         <Resource opcode="0x40800100" value="0xFFF"/>     <!-- L CPU - Cluster min freq ~ max -->
     73         <Resource opcode="0x4180C000" value="0x0"/>       <!-- CPUBW disable hysteresis -->
     74         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     75         <Resource opcode="0x41800000" value="0x8C"/>      <!-- CPUBW min freq 1804 MHz -->
     76     </Hint>
     77     <Hint type="0x0B0A"> <!--CAMERA LAUNCH-->
     78         <Resource opcode="0x40800000" value="0xFFF"/>     <!-- B CPU - Cluster min freq ~ max -->
     79         <Resource opcode="0x40800100" value="0xFFF"/>     <!-- L CPU - Cluster min freq ~ max -->
     80         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     81     </Hint>
     82     <Hint type="0x0C0A"> <!--CAMERA STREAMING-->
     83         <Resource opcode="0x40800000" value="0xFFF"/>     <!-- B CPU - Cluster min freq ~ max -->
     84         <Resource opcode="0x40800100" value="0xFFF"/>     <!-- L CPU - Cluster min freq ~ max -->
     85         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     86     </Hint>
     87     <Hint type="0x0D0A"> <!--CAMERA SHOT-->
     88         <Resource opcode="0x40800000" value="0xFFF"/>     <!-- B CPU - Cluster min freq ~ max -->
     89         <Resource opcode="0x40800100" value="0xFFF"/>     <!-- L CPU - Cluster min freq ~ max -->
     90         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     91         <Resource opcode="0x4180C000" value="0x0"/>       <!-- CPUBW disable hysteresis -->
     92         <Resource opcode="0x41800000" value="0x8C"/>      <!-- CPUBW min freq 1804 MHz -->
     93     </Hint>
     94     <Hint type="0x0E0A"> <!--AUDIO STREAMING-->
     95         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
     96         <Resource opcode="0x40800000" value="0x579"/>     <!-- B CPU - Cluster min freq ~1.4 Ghz -->
     97     </Hint>
     98     <Hint type="0x0F0A"> <!--AUDIO_LOW_LATENCY-->
     99         <Resource opcode="0x40400000" value="0x1"/>       <!-- POWER_COLLAPSE -->
    100     </Hint>
    101 
    102 </Powerhint>
    103