summaryrefstree
path: root/vendor/etc/perf/targetconfig.xml
blob: 0bfcf192d0eded7797ba49f9be54bf43afbb9391 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="utf-8"?>

<!--
 * Copyright (c) 2017-2021 Qualcomm Technologies, Inc.
 * All Rights Reserved.
 * Confidential and Proprietary - Qualcomm Technologies, Inc.
-->

<TargetConfig>

    <!-- All the target related information goes in TargetInfo tag.
    Following are the supported fields for  TargetInfo tag.
        Mandatory Fields
        * NumClusters, number of clusters
        * TotalNumCores, total number of cores
        * SocIds, a comma seperated list of supported socids for this target.
        Other Fields
        * Target, target name.
        * SynCore, default value is "1" implies sync core and change to "0" for async core.
        * CoreCtlCpu, core_ctl is enabled on which physical core, defalut value is "-1".
        * MinCoreOnline, minimum number of cores needed to be online, default value is "0"
        * GovInstanceType, default value "0" which implies "CLUSTER_BASED_GOV_INSTANCE",
          can be changed to "1" for "SINGLE_GOV_INSTANCE".
        * CpufreqGov, default value is "0" which implies "INTERACTIVE", can be changed it
          to "1" for "SCHEDUTIL".
    -->

    <!-- For each cluster,write a seperate ClustersInfo tag.
        Following are the supported fields for ClustersInfo tag.
        Mandatory Fields
        * Id, cluster number starts with index 0.
        * NumCores, total number of cores for that cluster.
        Other Fields
        * Type, whther a "little" or "big" cluster.
        (Type is mandatory, If there is more than one cluster.)
        * MaxFrequency, in KHz. Any limitations for max frequency for that cluster.
        * CappedMaxFreq, in MHZ. Any limittaion on Max freq if value passed is OxFFFF
    -->

    <!-- For targets sharing the same platfrom, we can have seperate config tag for each
         of those targets with different number in the Config tag and basing on the socId
         of the target device, we decide which configs to consider. -->

    <Config1>

         <TargetInfo
             Target="taro"
             NumClusters="3"
             TotalNumCores="8"
             SocIds="457,482,552"
             SynCore="1"
             CoreCtlCpu="4"
             MinCoreOnline="0"
             CpufreqGov="1" />

         <ClustersInfo Id="0" NumCores="4" Type="little" />
         <ClustersInfo Id="1" NumCores="3" Type="big" />
         <ClustersInfo Id="2" NumCores="1" Type="prime" />

    </Config1>

    <Config2>

         <TargetInfo
             Target="diwali"
             NumClusters="3"
             TotalNumCores="8"
             SocIds="506,547,564"
             SynCore="1"
             CoreCtlCpu="4"
             MinCoreOnline="0"
             CpufreqGov="1"
             MinFpsForTuning="48" />

         <ClustersInfo Id="0" NumCores="4" Type="little" />
         <ClustersInfo Id="1" NumCores="3" Type="big" />
         <ClustersInfo Id="2" NumCores="1" Type="prime" />

    </Config2>

    <Config3>

         <TargetInfo
             Target="cape"
             NumClusters="3"
             TotalNumCores="8"
             SocIds="530,531,540"
             SynCore="1"
             CoreCtlCpu="4"
             MinCoreOnline="0"
             CpufreqGov="1" />

         <ClustersInfo Id="0" NumCores="4" Type="little" CappedMaxFreq="1804800"/>
         <ClustersInfo Id="1" NumCores="3" Type="big" />
         <ClustersInfo Id="2" NumCores="1" Type="prime" />

    </Config3>


    <Config4>

         <TargetInfo
             Target="ukee"
             NumClusters="3"
             TotalNumCores="8"
             SocIds="591"
             SynCore="1"
             CoreCtlCpu="4"
             MinCoreOnline="0"
             CpufreqGov="1" />

         <ClustersInfo Id="0" NumCores="4" Type="little" />
         <ClustersInfo Id="1" NumCores="3" Type="big" />
         <ClustersInfo Id="2" NumCores="1" Type="prime" />

    </Config4>

</TargetConfig>