vendor_oneplus_sm8250-common/proprietary/vendor/etc/perf/perfboostsconfig.xml

364 lines
18 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2017-2019 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_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBW_MAX_FREQ resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- POWER COLLAPSE resource opcode, value-->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- LLCC DDR LAT CPU0 MIN FREQ resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- GPU DISABLE resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="kona"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 0xFFF, 0x41818000, 0xFF,
0x41800000, 0xFF, 0x40400000, 0x1, 0x42C10000, 0x1, 0x43430100, 0x28C5,
0x43400000, 0xFFFF, 0x43400000, 0xFFFF" />
<!--app lauch boost (disabling packing)-->
<!-- Type="2", launch boost for disable packing 1.5sec -->
<Config
Id="0x00001081" Type="2" Enable="false" Timeout="1500" Target="kona"
Resources="" />
<!-- config_enableLaunchBoostv2-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED DOWNMIGRATE resource opcode, value -->
<!-- SCHED UPMIGRATE resource opcode, value -->
<!-- SCHED DOWNMIGRATE PRIME resource opcode, value -->
<!-- SCHED UPMIGRATE PRIME resource opcode, value -->
<!-- Type="3", FA launch boost of 15sec -->
<Config
Id="0x00001081" Type="3" Enable="true" Timeout="15000" Target="kona"
Resources="0x40C00000, 0x3, 0x40C58000, 0x2D, 0x40C54000, 0x41,
0x40C74000, 0xF0, 0x40408000, 0x63, 0x40C20000, 0x28,
0x40C1C000, 0x3C, 0x40C20200, 0x28, 0x40C1C200, 0x3C" />
<!-- config_gameBoost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- SCHED GROUP DOWNMIGRATE resource opcode, value-->
<!-- SCHED GROUP UPMIGRATE resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- SCHED DOWNMIGRATE resource opcode, value -->
<!-- SCHED UPMIGRATE resource opcode, value -->
<!-- SCHED DOWNMIGRATE PRIME resource opcode, value -->
<!-- SCHED UPMIGRATE PRIME resource opcode, value -->
<!-- STORAGE CLK SCALING resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBW_MIN_FREQ resource opcode, value-->
<!-- LLCCBW resource opcode, value-->
<!-- L3 resource opcode, value-->
<!-- Type="4", FA launch boost of 15sec -->
<Config
Id="0x00001081" Type="6" Enable="true" Timeout="2000" Target="kona"
Resources="0x40C00000, 0x1, 0x40C58000, 0x2D, 0x40C54000, 0x41,
0x40C74000, 0xF0, 0x40408000, 0x63, 0x40C20000, 0x28,
0x40C1C000, 0x3C, 0x40C20200, 0x28, 0x40C1C200, 0x3C,
0x42C10000, 0x1, 0x40800200, 0x76C, 0x40800000, 0x76C,
0x40800100, 0x4B0, 0x41800000, 0x50, 0x43000000, 0x3A,
0x43400000, 0x3480" />
<!--app launch boost (attach application) -->
<!-- SCHED_TASK_BOOST resource opcode, value-->
<Config
Id="0x00001081" Type="103" Enable="true" Timeout="2000" Target="kona"
Resources="0x40C80000, 0x0" />
<!--Animation boost -->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<Config
Id="0x00001083" Enable="true" Timeout="400" Target="kona"
Resources="0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000, 0xFFF, 0x40800100, 0xFFF, 0x40800200, 0xFFF" />
<!--Vertical Scroll boost-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- L3_MEMLAT_MIN_FREQ resource opcode, value -->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- Below additional resources for 120+fps-->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- Type="1", Vertical Scroll boost -->
<!--
#ifndef VENDOR_EDIT
wei.wang@ASTI, 2019/10/10, [ITN-749] Update boost config for scroll
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="60"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="90"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="120"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="144"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
#else
-->
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="60"
Resources="0x43000000, 0x19, 0x40800000, 1209, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="90"
Resources="0x43000000, 0x19, 0x40800000, 1209, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="120"
Resources="0x43000000, 0x19, 0x40800000, 1209, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<Config
Id="0x00001080" Type="1" Enable="true" Target="kona" Fps="144"
Resources="0x43000000, 0x19, 0x40800000, 1209, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<!--
#endif /* VENDOR_EDIT */
-->
<!--Prefling Scroll boost-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- L3_MEMLAT_MIN_FREQ resource opcode, value -->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- Below additional resources for 120+fps-->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- TIMEOUT 80ms -->
<!-- Type="4", Prefling boost -->
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="kona" Fps="60"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="kona" Fps="90"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="kona" Fps="120"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<Config
Id="0x00001080" Type="4" Enable="true" Timeout="80" Target="kona" Fps="144"
Resources="0x43000000, 0x19, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<!--MTP boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="", MTP boost -->
<Config
Id="0x00001086" Enable="true" Target="kona"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40800000, 1800,
0x40800100, 1400" />
<!--Drag boost-->
<!-- LLCBW_MIN_FREQ resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG CORE resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- CPUBOOST_MIN_FREQ PRIME CORE resource opcode, value -->
<!-- SCHEDBOOST resource opcode, value-->
<!-- L3_MEMLAT_MIN_FREQ resource opcode, value -->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM Bias resource opcode, value-->
<!-- MIN_ONLINE_CPU_CLUSTER_BIG opcode, value-->
<!-- Below additional resources for 120+fps-->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- Type="1", Drag boost -->
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="kona" Fps="60"
Resources="0x43000000, 0x11, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="kona" Fps="90"
Resources="0x43000000, 0x11, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="kona" Fps="120"
Resources="0x43000000, 0x11, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<Config
Id="0x00001087" Type="1" Enable="true" Timeout="0" Target="kona" Fps="144"
Resources="0x43000000, 0x11, 0x40800000, 1000, 0x40800100, 1000, 0x40800200, 1000,
0x40C00000, 0x2, 0x43400000, 0x1F40, 0x40C74000, 0xFF, 0x40408000, 0x63,
0x41000000, 3, 0x40CA8000, 0" />
<!--PackageInstall boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- SCHED_SYNC_HINT_ENABLE resource opcode, value -->
<!-- Type="", Package Install boost -->
<Config
Id="0x00001088" Enable="true" Target="kona"
Resources="0x40C00000, 0x2, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000,0xFFF, 0x40800100,0xFFF, 0x40800200, 0xFFF, 0x40CA0000, 0" />
<!--Rotation latency boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MAX_FREQ PRIME Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- Type="", Rotation latency boost -->
<Config
Id="0x00001089" Enable="true" Timeout="1500" Target="kona"
Resources="0x40C00000, 0x1, 0x40804000, 0xFFF, 0x40804100, 0xFFF, 0x40804200, 0xFFF,
0x40800000,0xFFF, 0x40800100,0xFFF, 0x40800200,0xFFF" />
<!--Rotation animation boost-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- GPU MIN_FREQUENCY resource opcode,value-->
<!-- Type="", Rotation animation boost -->
<Config
Id="0x00001090" Enable="true" Timeout="1000" Target="kona"
Resources="0x40800100, 1000, 0x42804000, 0" />
<!--Performance mode-->
<!-- SCHEDTUNE_BOOST -->
<!-- SCHED_WINDOW_TICKS_UPDATE -->
<!-- TASK_UNFILTER_NR_WINDOWS -->
<!-- CPUBOOST_MIN_FREQ BIG Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ PRIME Core resource opcode, value-->
<!-- SCHED_BUSY_HYSTERSIS_CPU_MASK resource opcode, value-->
<!-- LPM_BIAS_HYST resource opcode, value-->
<!-- Type="", Performance mode -->
<Config
Id="0x00001091" Enable="true" Target="kona"
Resources="0x40C70000, 20, 0x40CA4000, 2, 0x40C88000, 25, 0x40800000, 1574, 0x40800100, 691, 0x40800200, 1632,
0x40C74000, 0xFF, 0x40408000, 0x63" />
<!--Display on Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001041" Enable="false" Timeout="0" Target="kona"
Resources="0x40000000, 1" />
<!--Display off Resource -->
<!-- Display on resource opcode, value -->
<Config
Id="0x00001040" Enable="false" Timeout="0" Target="kona"
Resources="0x40000000, 0x0" />
<!--FPS Update from Framework-->
<!-- SCHED_WINDOW_TICKS_UPDATE resource opcode, value -->
<!-- Below additional resources for 120fps, 144fps-->
<!-- SCHED_PREFER_SPREAD resource opcode, value -->
<!-- Type indicates FPS -->
<!-- 30fps -->
<Config
Id="0x00001094" Type="30" Enable="true" Target="kona"
Resources="0x40CA4000, 8" />
<!-- 45fps -->
<Config
Id="0x00001094" Type="45" Enable="true" Target="kona"
Resources="0x40CA4000, 5" />
<!-- 60fps -->
<Config
Id="0x00001094" Type="60" Enable="true" Target="kona"
Resources="0x40CA4000, 4" />
<!-- 90fps -->
<Config
Id="0x00001094" Type="90" Enable="true" Target="kona"
Resources="0x40CA4000, 3" />
<!-- 120fps -->
<Config
Id="0x00001094" Type="120" Enable="true" Target="kona"
Resources="0x40CA4000, 2, 0x40CA8000, 0" />
<!-- 144fps -->
<Config
Id="0x00001094" Type="144" Enable="true" Target="kona"
Resources="0x40CA4000, 2, 0x40CA8000, 0" />
<!-- 180fps -->
<Config
Id="0x00001094" Type="180" Enable="true" Target="kona"
Resources="0x40CA4000, 2" />
<!-- 240fps -->
<Config
Id="0x00001094" Type="240" Enable="true" Target="kona"
Resources="0x40CA4000, 2" />
</PerfBoost>
</BoostConfigs>