diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/component-overrides.xml | 19 | ||||
-rw-r--r-- | configs/powerhint.xml | 624 | ||||
-rw-r--r-- | configs/public.libraries.txt | 9 | ||||
-rw-r--r-- | configs/snapdragon_color_libs_config.xml | 33 | ||||
-rw-r--r-- | configs/telephony_system-ext_privapp-permissions-qti.xml | 49 |
5 files changed, 734 insertions, 0 deletions
diff --git a/configs/component-overrides.xml b/configs/component-overrides.xml new file mode 100644 index 0000000..4d058d3 --- /dev/null +++ b/configs/component-overrides.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2019 The Android Open Source Project + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<config> + <component-override package="com.android.bluetooth" > + <component class=".avrcpcontroller.AvrcpControllerService" enabled="true" /> + <component class=".hid.HidDeviceService" enabled="true" /> + <component class=".sap.SapService" enabled="true" /> + </component-override> +</config> diff --git a/configs/powerhint.xml b/configs/powerhint.xml new file mode 100644 index 0000000..914e8cf --- /dev/null +++ b/configs/powerhint.xml @@ -0,0 +1,624 @@ +<?xml version="1.0" encoding="utf-8" ?> + +<!-- +/* Copyright (c) 2016-2018, 2020 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. + */ +--> +<HintConfigs> + <Powerhint> + + <!-- 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 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 --> + <Config + Id="0x00001330" Enable="true" Timeout="0" Target="holi" + Resources="0x40C68100, -12, 0x40C68110, -12, 0x40C68120, -12, + 0x40C68130, -12, 0x40C68000, -12, 0x40C68010, -12, 0x40C68020, -12, 0x40C68030, -12, + 0x4143C100, 1190, 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="holi" + 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, 1190, 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="holi" + 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, 1190, 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 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 --> + <Config + Id="0x00001333" Enable="true" Timeout="0" Target="holi" + Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA, + 0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA, + 0x4143C100, 1190, 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 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 --> + <Config + Id="0x00001334" Enable="true" Timeout="0" Target="holi" + Resources="0x40C68100, 0xFFFFFFFA, 0x40C68110, 0xFFFFFFFA, 0x40C68120, 0xFFFFFFFA, + 0x40C68130, 0xFFFFFFFA, 0x40C68000, 0xFFFFFFFA, 0x40C68010, 0xFFFFFFFA, 0x40C68020, 0xFFFFFFFA, 0x40C68030, 0xFFFFFFFA, + 0x4143C100, 1190, 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 ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130A" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu1 gpu2 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130B" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu1 gpu3 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130C" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu2 gpu1 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130D" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu2 gpu2 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130E" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu2 gpu3 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x0000130F" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu3 gpu1 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x00001310" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu3 gpu2 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x00001311" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 0x42804000, 0x6, 0x42808000, 0x0"/> + + <!-- qvr level cpu3 gpu3 --> + <!-- B CPU - Cluster min freq ~.768 Ghz --> + <!-- B CPU - Cluster max freq ~2.035 Ghz --> + <!-- L CPU - Cluster min freq ~.576 Ghz --> + <!-- L CPU - Cluster max freq ~1.478 Ghz --> + <!-- GPU - min pwrlevel 6 (freq 180 Mhz) --> + <!-- GPU - max pwrlevel 0 (freq 825 Mhz) --> + <!-- Idefinite Duration --> + <Config + Id="0x00001312" Enable="true" Target="holi" Timeout="0" + Resources="0x40800000, 0x300, 0x40804000, 0x7F3, 0x40800100, 0x240, 0x40804100, 0x5C6, + 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="holi" + 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="holi" + 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="holi" + 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 1190Mhz --> + <!--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="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, + 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/configs/public.libraries.txt b/configs/public.libraries.txt new file mode 100644 index 0000000..a599ed2 --- /dev/null +++ b/configs/public.libraries.txt @@ -0,0 +1,9 @@ +libqti-perfd-client.so +libadsprpc.so +libcdsprpc.so +libsdsprpc.so +libfastcvopt.so +liblistensoundmodel2.so +libOpenCL.so + +libmialgoengine.so 64 diff --git a/configs/snapdragon_color_libs_config.xml b/configs/snapdragon_color_libs_config.xml new file mode 100644 index 0000000..e257b1f --- /dev/null +++ b/configs/snapdragon_color_libs_config.xml @@ -0,0 +1,33 @@ +<?xml version='1.0' encoding='utf-8'?> +<!-- +Copyright (c) 2020, 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. +--> +<StcLibraries> + <Library> + <Name>libsnapdragoncolor-qdcm.so</Name> + <ProcessingOrder>1</ProcessingOrder> + </Library> +</StcLibraries> diff --git a/configs/telephony_system-ext_privapp-permissions-qti.xml b/configs/telephony_system-ext_privapp-permissions-qti.xml new file mode 100644 index 0000000..d844441 --- /dev/null +++ b/configs/telephony_system-ext_privapp-permissions-qti.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (c) 2020 Qualcomm Technologies, Inc. + ~ All Rights Reserved. + ~ Confidential and Proprietary - Qualcomm Technologies, Inc. +--> + +<!-- + ~ Copyright (c) 2017, The Linux Foundation. All rights reserved. + + ~ Not a Contribution. +--> + +<!-- + ~ Copyright (C) 2016 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<!-- +This XML file declares which signature|privileged permissions should be +granted to privileged applications on QTI devices. +It allows additional grants on top of privapp-permissions-platform.xml +--> + +<permissions> + <privapp-permissions package="org.codeaurora.ims"> + <permission name="android.permission.MODIFY_PHONE_STATE"/> + <permission name="android.permission.READ_PRECISE_PHONE_STATE"/> + <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> + <permission name="android.permission.INTERACT_ACROSS_USERS"/> + <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/> + <permission name="android.permission.WRITE_SECURE_SETTINGS" /> + </privapp-permissions> + + <privapp-permissions package="com.qualcomm.qcrilmsgtunnel"> + <permission name="android.permission.INTERACT_ACROSS_USERS"/> + </privapp-permissions> +</permissions> |