summaryrefstree
path: root/vendor/etc/perf/perfboostsconfig.xml
blob: 44ecafbc89161666106b67aba75f12088c62b3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="utf-8"?>

<!--
/* Copyright (c) 2017 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-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->
        <!-- POWER COLLAPSE resource opcode, value-->
        <!-- KSM_RUN_STATUS resource opcode, valuei (old: disable ksm) -->
        <!-- DISABLE_PPR resource opcode, value -->

        <!-- Type="1", main launch boost of 2sec -->
        <Config
            Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="msm8909"
            Resources="0x40800000, 0x446, 0x40400000, 0x1, 0x42000000, 0x0, 0x42C18000, 0" />

    <!--app lauch boost (disabling packing)-->
        <!-- SCHED_PREFER_IDLE resource opcode, value-->
        <!-- SCHED_SMALL_TASK resource opcode, value-->
        <!-- SCHED_MOSTLY_IDLE_NR_RUN resource opcode, value-->
        <!-- SCHED_MOSTLY_IDLE_LOAD resource opcode, value-->
        <!-- CLUSTR_0_CPUS_ON resource opcode, value (old: min cpus ON = 0x704) -->

        <!-- Type="2", launch boost for disable packing and set 4 min_cpu in core_ctl of 5sec  -->
        <Config
            Id="0x00001081" Type="2" Enable="true" Timeout="5000" Target="msm8909"
            Resources="0x40C04000, 0x1, 0x40C0C000, 0x1, 0x40C14000, 0x1, 0x40C10000, 0x1, 0x41000000, 0x4" />

    <!-- config_enablePerfBoostForAnimation-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->

        <!-- Type="1", Animation boost of 0.6sec -->
        <Config
            Id="0x00001083" Enable="true" Timeout="600" Target="msm8909"
            Resources="0x40800000, 0x446" />

    <!--Vertical Scroll boost for HD-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->
        <!-- SCHED_PREFER_IDLE resource opcode, value-->
        <!-- GPU MIN-FREQUENCY resource opcode,value-->

        <!-- Type="1", Vertical Scroll boost -->
        <Config
            Id="0x00001080" Type="1" Enable="true" Target="msm8909" Resolution="720p"
            Resources="0x40800000, 0x446, 0x40C04000, 0x1, 0X4280C000, 456" />

    <!--Horizontal Scroll boost for HD-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->
        <!-- SCHED_PREFER_IDLE resource opcode, value-->
        <!-- GPU MIN-FREQUENCY resource opcode,value-->

        <!-- Type="2", Horizontal Scroll boost -->
        <Config
            Id="0x00001080" Type="2" Enable="true" Target="msm8909" Resolution="720p"
            Resources="0x40800000, 0x446, 0x40C04000, 0x1, 0X4280C000, 456" />

    <!--Vertical Scroll boost-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->
        <!-- SCHED_PREFER_IDLE resource opcode, value-->

        <!-- Type="1", Vertical Scroll boost -->
        <Config
            Id="0x00001080" Type="1" Enable="true" Target="msm8909"
            Resources="0x40800000, 0x446, 0x40C04000, 0x1" />

    <!--Horizontal Scroll boost-->
        <!-- CPUBOOST_MIN_FREQ resource opcode, value-->
        <!-- SCHED_PREFER_IDLE resource opcode, value-->

        <!-- Type="2", Horizontal Scroll boost -->
        <Config
            Id="0x00001080" Type="2" Enable="true" Target="msm8909"
            Resources="0x40800000, 0x446, 0x40C04000, 0x1" />
    </PerfBoost>
</BoostConfigs>