Unverified Commit f464fcff authored by Alexander Koskovich's avatar Alexander Koskovich
Browse files

common: Update to QSSI (11600) | MANNAR (05200)

Change-Id: I7e69f4bcb7c3dd322a96595cf014d3184d9bb000
parent 2d20e4c0
# Media
vendor/bin/hw/qconfigservice
vendor/bin/hw/vendor.qti.media.c2@1.0-service
vendor/bin/init.qti.media.sh
vendor/etc/init/init.qti.media.rc
vendor/etc/init/qconfig.rc
vendor/etc/init/vendor.qti.media.c2@1.0-service.rc
-vendor/etc/vintf/manifest/c2_manifest_vendor.xml
vendor/etc/seccomp_policy/codec2.vendor.ext-arm.policy
......@@ -11,7 +9,6 @@ vendor/etc/seccomp_policy/codec2.vendor.base-arm.policy
vendor/etc/video_system_specs.json
vendor/lib/libqc2colorconvertfilter.so
vendor/lib/libqc2filter.so
vendor/lib/libqc2vppfilter.so
vendor/lib/libqcodec2_basecodec.so
vendor/lib/libqcodec2_base.so
vendor/lib/libqcodec2_core.so
......@@ -20,11 +17,8 @@ vendor/lib/libqcodec2_mockfilter.so
vendor/lib/libqcodec2_platform.so
vendor/lib/libqcodec2_utils.so
vendor/lib/libqcodec2_v4l2codec.so
vendor/lib/libqconfigclient.so
vendor/lib/vendor.qti.hardware.qconfig@1.0.so
vendor/lib64/libqc2colorconvertfilter.so
vendor/lib64/libqc2filter.so
vendor/lib64/libqc2vppfilter.so
vendor/lib64/libqcodec2_basecodec.so
vendor/lib64/libqcodec2_base.so
vendor/lib64/libqcodec2_core.so
......@@ -33,8 +27,6 @@ vendor/lib64/libqcodec2_mockfilter.so
vendor/lib64/libqcodec2_platform.so
vendor/lib64/libqcodec2_utils.so
vendor/lib64/libqcodec2_v4l2codec.so
vendor/lib64/libqconfigclient.so
vendor/lib64/vendor.qti.hardware.qconfig@1.0.so
# Video
vendor/lib/libfastcrc.so
......
......@@ -307,6 +307,10 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
<carrier_config mcc="228" mnc="01">
<boolean name="carrier_volte_available_bool" value="true" />
<boolean name="carrier_wfc_ims_available_bool" value="true" />
<int name="carrier_default_wfc_ims_mode_int" value="1" />
<boolean name="editable_wfc_mode_bool" value="false" />
<int name="carrier_default_wfc_ims_roaming_mode_int" value="1" />
<boolean name="editable_wfc_roaming_mode_bool" value="false" />
</carrier_config>
<carrier_config mcc="230" mnc="01">
......@@ -2428,6 +2432,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.-->
<boolean name="carrier_volte_tty_supported_bool" value="false" />
</carrier_config>
<carrier_config mcc="313" mnc="340">
<boolean name="carrier_volte_available_bool" value="true" />
<boolean name="carrier_vt_available_bool" value="true" />
<boolean name="carrier_wfc_ims_available_bool" value="true" />
<boolean name="rtt_supported_bool" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="120">
<boolean name="rtt_supported_bool" value="true" />
<boolean name="rtt_upgrade_supported_bool" value="true"/>
......
......@@ -110,7 +110,10 @@ need to be added just before the end of it's major group. -->
<Minor OpcodeValue="0x35" Node="/proc/sys/kernel/sched_min_granularity_ns" />
<Minor OpcodeValue="0x36" Node="/proc/sys/kernel/walt_low_latency_task_threshold" />
<Minor OpcodeValue="0x37" Node="/dev/stune/foreground/schedtune.prefer_idle" />
<Minor OpcodeValue="0x38" Node="SPECIAL_NODE - sched_up_down_mig" Supported="no"/>
<Minor OpcodeValue="0x38" Node="/proc/sys/kernel/%s" Supported="no"/>
<Minor OpcodeValue="0x39" Node="/dev/stune/top-app/schedtune.colocate" />
<Minor OpcodeValue="0x3A" Node="/dev/cpuctl/top-app/cpu.uclamp.latency_sensitive" />
<Minor OpcodeValue="0x3B" Node="/dev/cpuctl/foreground/cpu.uclamp.latency_sensitive" />
<!-- sched major end -->
<!-- core hotplug major start -->
......@@ -264,6 +267,11 @@ need to be added just before the end of it's major group. -->
<Minor OpcodeValue="0xE" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/ratio_ceil" />
<Minor OpcodeValue="0xF" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x10" Node="/sys/class/devfreq/soc:qcom,cpu4-llcc-ddr-lat/mem_latency/stall_floor" />
<Minor OpcodeValue="0x11" Node="/sys/class/devfreq/18321000.qcom,devfreq-l3:qcom,cpu%d-cpu-l3-lat/max_freq" />
<Minor OpcodeValue="0x12" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/min_freq" />
<Minor OpcodeValue="0x13" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-ddr-latfloor/max_freq" />
<Minor OpcodeValue="0x14" Node="/sys/class/devfreq/soc:qcom,cpu0-cpu-llcc-lat/max_freq" />
<Minor OpcodeValue="0x15" Node="/sys/class/devfreq/soc:qcom,cpu0-llcc-ddr-lat/max_freq" />
<!-- memlat major end -->
<!-- npu major start -->
......
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2021 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
*/
-->
<ResourceConfigs>
<PerfResources>
<SysNode Idx="0x0" Node="/sys/module/msm_performance/parameters/num_clusters" />
<SysNode Idx="0x1" Node="/sys/module/msm_performance/parameters/managed_cpus" />
<SysNode Idx="0x2" Node="/sys/module/msm_performance/parameters/cpu_max_freq" />
<SysNode Idx="0x3" Node="/sys/module/msm_performance/events/cpu_hotplug" />
<SysNode Idx="0x4" Node="/sys/module/msm_performance/parameters/max_cpus" />
<SysNode Idx="0x5" Node="/sys/module/msm_performance/parameters/inst" />
<SysNode Idx="0x6" Node="/sys/module/msm_performance/parameters/splh_notif" />
<SysNode Idx="0x7" Node="/sys/module/msm_performance/notify/gfx_evt" />
<SysNode Idx="0x8" Node="/sys/module/msm_performance/parameters/evnt_gplaf_pid" />
</PerfResources>
</ResourceConfigs>
\ No newline at end of file
......@@ -25,7 +25,7 @@ property Name is called. -->
Variant=bengal -> bengal 64 bit target
Resolution="1080p", "2560", "720p", "HD+"
Kernel: kernel version, examples: "4.19", "5.4", etc
Ram: ram size in GB, examples: "1","2","3","4" (4 for target with >= 4GB of RAM as well)
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
_______________________________________________________________________________________________ -->
<PerfConfigsStore>
......
......@@ -39,6 +39,8 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<!--All the cpubw_hmon path are now migrated to new opcodes.Hence unsupporting old ones-->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" />
......@@ -75,6 +77,7 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/fd90100.qcom,cpu6-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/fd90100.qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/fd90100.qcom,cpu6-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/class/devfreq/fd90100.qcom,cpu%d-cpu-l3-lat/max_freq" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" />
<Config MajorValue="0xD" MinorValue="0x7" Supported="no" />
......
<!--
/******************************************************************************
@file PowerFeatureConfig.xml
@brief Power Optimization feature config xml
DESCRIPTION
This is to enable power features for optimization
===========================================================================
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<PowerFeature>
<Feature>
<Name>VideoPowerOptFeature</Name>
<Enable>1</Enable>
</Feature>
</PowerFeature>
<!--
/******************************************************************************
@file VideoOptimizationFeature.xml
@brief Video Optimization feature xml
DESCRIPTION
Each feature has an xml file to define the feature components
===========================================================================
Copyright (c) 2020 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
===========================================================================
******************************************************************************/
-->
<Feature>
<Name>VideoPowerOptFeature</Name>
<Libname>libvideooptfeature.so</Libname>
<Configs>
<MAX_CONTENT_FPS>30</MAX_CONTENT_FPS>
<MAX_PANEL_FPS>60</MAX_PANEL_FPS>
</Configs>
<Profiles>
<Profile>
<!-- Disable Colocation -->
<DEFAULT>0x40C54000, 999999, 0x40C58000, 999990</DEFAULT>
</Profile>
</Profiles>
<IgnoredApps>
<App>com.google.android.gms</App>
<App>com.android.vending</App>
<App>com.google.android.projection.gearhead</App>
</IgnoredApps>
</Feature>
......@@ -14,22 +14,27 @@
******************************************************************************/
-->
<!--
Follows "Data goes into elements, metadata goes into attributes"
Specify ipc threashold and freq threashold for 60,90,120,144::
<Configs>
<FPS60>IPC1,FREQ1,IPC2,FREQ2,IPC3,FREQ3</FPS60>
</Configs>
Follows "Data goes into elements, metadata goes into attributes"
Specify ipc threashold and freq threashold for 60,90,120,144::
<Configs>
<FPS60>IPC1,FREQ1,IPC2,FREQ2,IPC3,FREQ3</FPS60>
</Configs>
-->
<Feature>
<Name>sPLH</Name>
<Configs>
<Configs target="shima">
<FPS>60,90,120,144</FPS>
<FPS60>0,650,150,1200,200,1700,250,2200</FPS60>
<FPS90>0,650,150,1200,200,1700,250,2200</FPS90>
<FPS120>0,1497,200,1700,250,2200</FPS120>
<FPS144>0,1497,200,1700,250,2200</FPS144>
</Configs>
<Configs target="yupik">
<FPS>60,90,120,144</FPS>
<FPS60>0,760,80,1600,120,2000</FPS60>
<FPS90>0,760,80,1600,120,2000</FPS90>
<FPS120>0,760,80,1600,120,2000</FPS120>
<FPS144>0,760,80,1600,120,2000</FPS144>
<DISABLEFPS144>2035</DISABLEFPS144>
<FPS60>0,690,80,1600,120,2000</FPS60>
<FPS90>0,690,80,1600,120,2000</FPS90>
<FPS120>0,690,80,1600,120,2000</FPS120>
<FPS144>0,690,80,1600,120,2000</FPS144>
</Configs>
<Libname>libsplh.so</Libname>
<Triggers>
......@@ -37,12 +42,12 @@
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_SCROLL_BOOST</AsyncId>
<AsyncType>1</AsyncType>
</Trigger>
</Trigger>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_SCROLL_BOOST</AsyncId>
<AsyncType>2</AsyncType>
</Trigger>
</Triggers>
<Trigger>
<Primary>true</Primary>
<AsyncId>VENDOR_HINT_SCROLL_BOOST</AsyncId>
<AsyncType>2</AsyncType>
</Trigger>
</Triggers>
</Feature>
......@@ -351,13 +351,13 @@
Id="0x00001080" Type="1" Enable="true" Target="shima" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="yupik" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<!--Horizontal Scroll boost-->
......@@ -436,13 +436,13 @@
Id="0x00001080" Type="2" Enable="true" Target="shima" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<Config
Id="0x00001080" Type="2" Enable="true" Target="yupik" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<!--Prefling Scroll boost-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
......@@ -557,13 +557,13 @@
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="shima" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="115" Target="yupik" Fps="144"
Resources="0x43010000, 0x26, 0x40800000, 1900, 0x40800100, 1516, 0x40800200, 1862,
0x40C00000, 2, 0x40C74000, 0xF0, 0x40408000, 0x27, 0x41000000, 3,
0x40C78000, 0, 0x40C7C000, 0, 0x43000000, 0x11, 0x43400000, 0x1F40" />
0x40C78000, 0, 0x40C7C000, 0, 0x43010000, 0x11, 0x43400000, 0x1F40" />
<!--MTP boost-->
<!-- SCHEDBOOST resource opcode, value-->
......@@ -656,22 +656,22 @@
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="shima" Fps="120"
Resources="0x40800000, 1209, 0x40800100, 1171, 0x40800200, 1094, 0x40C00000, 2,
0x43000000, 0x11, 0x43400000, 0x1F40" />
0x43010000, 0x11, 0x43400000, 0x1F40" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="shima" Fps="144"
Resources="0x40800000, 1209, 0x40800100, 1171, 0x40800200, 1094, 0x40C00000, 2,
0x43000000, 0x11, 0x43400000, 0x2AF8" />
0x43010000, 0x11, 0x43400000, 0x2AF8" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="yupik" Fps="120"
Resources="0x40800000, 1228, 0x40800100, 1152, 0x40800200, 1056, 0x40C00000, 2,
0x43000000, 0x11, 0x43400000, 0x1F40" />
0x43010000, 0x11, 0x43400000, 0x1F40" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="yupik" Fps="144"
Resources="0x40800000, 1228, 0x40800100, 1152, 0x40800200, 1056, 0x40C00000, 2,
0x43000000, 0x11, 0x43400000, 0x2AF8" />
0x43010000, 0x11, 0x43400000, 0x2AF8" />
<!--PackageInstall boost-->
<!-- SCHEDBOOST resource opcode, value-->
......
......@@ -25,7 +25,7 @@ property Name is called. -->
Variant=bengal -> bengal 64 bit target
Resolution="1080p", "2560", "720p", "HD+"
Kernel: kernel version, examples: "4.19", "5.4", etc
Ram: ram size in GB, examples: "1","2","3","4" (4 for target with >= 4GB of RAM as well)
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
_______________________________________________________________________________________________ -->
<PerfConfigsStore>
......@@ -52,8 +52,8 @@ ________________________________________________________________________________
<Prop Name="vendor.perf.pfar.enable" Value="1" Target="yupik" />
<Prop Name="vendor.perf.fps_switch.enable" Value="1" Target="yupik" />
<Prop Name="ro.vendor.perf.gfl.tap_ignore_enable" Value="true" Target="yupik" />
<Prop Name="ro.vendor.perf.wlc.heavygame" Value="true" Target="yupik" />
<Prop Name="ro.vendor.perf.splh" Value="none" Target="yupik" />
<Prop Name="ro.vendor.perf.wlc.heavygame" Value="false" Target="yupik" />
<Prop Name="ro.vendor.perf.splh" Value="hw" Target="yupik" />
<Prop Name="ro.vendor.perf.gplaf" Value="true" Target="yupik" />
<Prop Name="ro.vendor.perf.enable.prekill" Value="false" Target="lahaina" />
......
......@@ -81,7 +81,7 @@
Target="yupik"
NumClusters="3"
TotalNumCores="8"
SocIds="475,499"
SocIds="475,497,498,499,515"
SynCore="1"
CoreCtlCpu="4"
MinCoreOnline="0"
......
......@@ -41,6 +41,8 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="shima" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" Target="yupik" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x6" MinorValue="0x0" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/min_freq" Target="lahaina" />
<Config MajorValue="0x6" MinorValue="0x1" Node="/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/decay_rate" Target="lahaina" />
......@@ -100,6 +102,13 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/ratio_ceil" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/class/devfreq/18590100.qcom,cpu0-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/class/devfreq/18590100.qcom,cpu4-cpu-l3-lat/mem_latency/stall_floor" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/class/devfreq/18590100.qcom,cpu%d-cpu-l3-lat/max_freq" />
<Config MajorValue="0xD" MinorValue="0x0" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/min_freq" Target="yupik"/>
<Config MajorValue="0xD" MinorValue="0x1" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x2" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/ratio_ceil" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x3" Node="/sys/devices/system/cpu/memlat/c0_memlat/cpu0-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x4" Node="/sys/devices/system/cpu/memlat/c4_memlat/cpu4-cpu-l3-lat/stall_floor" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x11" Node="/sys/devices/system/cpu/memlat/c%d_memlat/cpu%d-cpu-l3-lat/max_freq" Target="yupik" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x6" Supported="no" Target="shima" />
<Config MajorValue="0xD" MinorValue="0x5" Supported="no" Target="yupik" />
......
......@@ -25,7 +25,7 @@ property Name is called. -->
Variant=bengal -> bengal 64 bit target
Resolution="1080p", "2560", "720p", "HD+"
Kernel: kernel version, examples: "4.19", "5.4", etc
Ram: ram size in GB, examples: "1","2","3","4" (4 for target with >= 4GB of RAM as well)
Ram: ram size in GB, examples: "1","2","3","4","6","8","10","12" (12 for target with >= 12GB of RAM as well)
_______________________________________________________________________________________________ -->
<PerfConfigsStore>
......
......@@ -39,6 +39,8 @@ as anyway perflock calls of these resources would fail. -->
<Config MajorValue="0x3" MinorValue="0x14" Supported="no" /> <!-- sched_enable_thread_grouping -->
<Config MajorValue="0x3" MinorValue="0x17" Supported="no" /> <!-- sched_freq_aggr_threshold -->
<Config MajorValue="0x3" MinorValue="0x22" Supported="no" /> <!-- sched_task_unfilter_nr_windows -->
<Config MajorValue="0x3" MinorValue="0x37" Supported="no" Kernel="5.4" /> <!-- Enabled till Kernel 4.19 -->
<Config MajorValue="0x3" MinorValue="0x39" Supported="no" Kernel="5.4" /> <!-- Enabled till Kernel 4.19 -->
<!--All the cpubw_hmon path are now migrated to new opcodes.Hence unsupporting old ones-->
<Config MajorValue="0x6" MinorValue="0x0" Supported="no" />
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -42,6 +42,19 @@
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="qm215"
Resources="0x40C00000, 0x1, 0x40800000, 0x5DC, 0x40400000, 0x1, 0x41000000, 0x4, 0x42804000, 0x1, 0x42C0C000, 0x64" />
<!--app lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- DISABLE_POWER_COLLAPSE resource opcode, value-->
<!-- CLUSTR_0_CPUS_ON resource opcode, value-->
<!-- MAX_ONLINE_CPU_CLUSTER_BIG resource opcode, value -->
<!-- GPU_MIN_PWRLVL resource opcode, value-->
<!-- SWAP_RATIO resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x5DC, 0x40400000, 0x1, 0x41000000, 0x4, 0x41004000, 0x4, 0x42804000, 0x1, 0x42C0C000, 0x64" />
<!--app lauch boost (disabling packing)-->
<!-- SCHED_PREFER_IDLE resource opcode, value-->
......@@ -72,6 +85,11 @@
Resources="0x40C00000, 0x1, 0x40C58000, 0x2D, 0x40C54000, 0x41,
0x40408000, 0x63, 0x40C20000, 0x28, 0x40C1C000, 0x3C" />
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40C58000, 0x2D, 0x40C54000, 0x41,
0x40408000, 0x63, 0x40C20000, 0x28, 0x40C1C000, 0x3C" />
<!-- config_enableLaunchBoostv4-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_LITTLE resource opcode, value-->
......@@ -105,6 +123,31 @@
0x43404000, 0x2710, 0x43408000, 0x2710,
0x4040C000, 0x1F4, 0x40410000, 0x3E8" />
<!-- config_enableLaunchBoostv4-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_LITTLE resource opcode, value-->
<!-- MAX_ONLINE_CPU_CLUSTER_BIG resource opcode, value -->
<!-- SCHEDUTIL_HISPEED_LOAD_CLUSTER_BIG resource opcode, value-->
<!-- SCHEDUTIL_HISPEED_LOAD_CLUSTER_LITTLE resource opcode, value-->
<!-- SCHEDUTIL_HISPEED_FREQ_CLUSTER_BIG resource opcode, value-->
<!-- SCHEDUTIL_HISPEED_FREQ_CLUSTER_LITTLE resource opcode, value-->
<!-- SCHED DOWNMIGRATE resource opcode, value-->
<!-- SCHED UPMIGRATE resource opcode, value-->
<!-- L2_MEMLAT_RATIO_CEIL_0 resource opcode, value-->
<!-- L2_MEMLAT_RATIO_CEIL_1 resource opcode, value-->
<!-- LPM_LEVELS_REF_STDDEV resource opcode, value-->
<!-- LPM_LEVELS_TMR_ADD resource opcode, value-->
<!-- Type="4", Adaptive Launch boost -->
<Config
Id="0x00001081" Type="4" Enable="true" Timeout="2000" Target="sdm429w_law"
Resources="0x41000100, 0x4, 0x41000000, 0x4, 0x41004000, 0x4,
0x41440000, 0x28, 0x41440100, 0x28,
0x4143C000, 0xFFF, 0x4143C100, 0xFFF,
0x40C20000, 0x28, 0x40C1C000, 0x32,
0x43404000, 0x2710, 0x43408000, 0x2710,
0x4040C000, 0x1F4, 0x40410000, 0x3E8" />
<!-- config_enablePerfBoostForAnimation-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
......@@ -127,6 +170,10 @@
Id="0x00001083" Enable="true" Timeout="600" Target="sdm429"
Resources="0x40C00000, 0x1, 0x40800000, 0x44C, 0x42804000, 0x1" />
<Config
Id="0x00001083" Enable="true" Timeout="600" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x44C, 0x42804000, 0x1" />
<Config
Id="0x00001083" Enable="true" Timeout="600" Target="qm215"
Resources="0x40C00000, 0x1, 0x40800000, 0x44C, 0x42804000, 0x1" />
......@@ -170,6 +217,16 @@
Id="0x00001080" Type="1" Enable="true" Target="qm215"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG, value -->
<!-- MAX_ONLINE_CPU_CLUSTER_BIG, value -->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x514, 0x41000000, 0x4, 0x41004000, 0x4" />
<!--Horizontal Scroll boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
......@@ -209,6 +266,16 @@
Id="0x00001080" Type="2" Enable="true" Target="qm215"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG, value -->
<!-- MAX_ONLINE_CPU_CLUSTER_BIG, value -->
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x514, 0x41000000, 0x4, 0x41004000, 0x4" />
<!--Pre-Fling boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
......@@ -224,6 +291,10 @@
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm429"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<!--Drag boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
......@@ -241,6 +312,10 @@
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="sdm429"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x514" />
<!--Rotation latency boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
......@@ -271,6 +346,10 @@
Id="0x00001089" Enable="true" Timeout="1500" Target="sdm429"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40800000, 0xFFF" />
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40800000, 0xFFF" />
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="qm215"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40800000, 0xFFF" />
......@@ -295,6 +374,10 @@
Id="0x00001090" Enable="true" Timeout="1000" Target="sdm429"
Resources="0x40800000, 1000, 0x4280C000, 596" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="sdm429w_law"
Resources="0x40800000, 1000, 0x4280C000, 596" />
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="qm215"
Resources="0x40800000, 1000, 0x4280C000, 596" />
......@@ -317,6 +400,10 @@
Id="0x00001041" Enable="true" Timeout="0" Target="sdm429"
Resources="0x40000000, 1" />
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="sdm429w_law"
Resources="0x40000000, 1" />
<Config
Id="0x00001041" Enable="true" Timeout="0" Target="qm215"
Resources="0x40000000, 1" />
......@@ -339,9 +426,28 @@
Id="0x00001040" Enable="true" Timeout="0" Target="sdm429"
Resources="0x40000000, 0x0" />
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="sdm429w_law"
Resources="0x40000000, 0x0" />
<Config
Id="0x00001040" Enable="true" Timeout="0" Target="qm215"
Resources="0x40000000, 0x0" />
<!--display power on-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- DISABLE_POWER_COLLAPSE resource opcode, value-->
<!-- CLUSTR_0_CPUS_ON resource opcode, value-->
<!-- MAX_ONLINE_CPU_CLUSTER_BIG resource opcode, value -->
<!-- GPU_MIN_PWRLVL resource opcode, value-->
<!-- SWAP_RATIO resource opcode, value-->
<!-- Type="-1", Display power on boost of 0.5s -->
<Config
Id="0x00001041" Type="-1" Enable="true" Timeout="500" Target="sdm429w_law"
Resources="0x40C00000, 0x1, 0x40800000, 0x5DC, 0x40400000, 0x1,
0x41000000, 0x4, 0x41004000, 0x4, 0x42804000, 0x1, 0x42C0C000, 0x64" />
</PerfBoost>
</BoostConfigs>
......@@ -51,8 +51,18 @@ property Name is called. -->
<!--add the default valuea for sdm429w_law-->
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" Variant="sdm429w_law" />
<Prop Name="ro.lmk.use_new_strategy_dup" Value="true" Variant="sdm429w_law" />
<Prop Name="ro.vendor.qti.sys.fw.bg_apps_limit" Value="8" Variant="sdm429w_law"/>
<Prop Name="vendor.appcompact.enable_app_compact" Value="true" Variant="sdm429w_law" />
<Prop Name="vendor.appcompact.some_compact_type" Value="1" Variant="sdm429w_law"/>
<Prop Name="vendor.appcompact.full_compact_type" Value="3" Variant="sdm429w_law"/>
<Prop Name="ro.lmk.enable_userspace_lmk" Value="true" Kernel="4.19" />