xref: /linux/drivers/gpu/drm/msm/registers/adreno/a8xx_perfcntrs.json (revision 637315cb400eed1dbe721954fea437a61a2d65b2)
1{
2    "chip": "A8XX",
3    "groups": [
4        {
5            "name": "CP",
6            "num": 14,
7            "reserved": [ 0 ],
8            "select": "CP_PERFCTR_CP_SEL",
9            "counter": "RBBM_PERFCTR_CP",
10            "countable_type": "a8xx_cp_perfcounter_select"
11        },
12        {
13            "name": "RBBM",
14            "num": 4,
15            "select": "RBBM_PERFCTR_RBBM_SEL",
16            "slice_select": [ "RBBM_SLICE_PERFCTR_RBBM_SEL" ],
17            "counter": "RBBM_PERFCTR_RBBM",
18            "countable_type": "a8xx_rbbm_perfcounter_select"
19        },
20        {
21            "name": "PC",
22            "pipe": "BR",
23            "num": 8,
24            "select": "PC_PERFCTR_PC_SEL",
25            "slice_select": [ "PC_SLICE_PERFCTR_PC_SEL" ],
26            "counter": "RBBM_PERFCTR_PC",
27            "countable_type": "a8xx_pc_perfcounter_select"
28        },
29        {
30            "name": "VFD",
31            "pipe": "BR",
32            "num": 8,
33            "select": "VFD_PERFCTR_VFD_SEL",
34            "counter": "RBBM_PERFCTR_VFD",
35            "countable_type": "a8xx_vfd_perfcounter_select"
36        },
37        {
38            "name": "HLSQ",
39            "pipe": "BR",
40            "num": 6,
41            "select": "SP_PERFCTR_HLSQ_SEL",
42            "slice_select": [ "SP_PERFCTR_HLSQ_SEL_2" ],
43            "counter": "RBBM_PERFCTR_HLSQ",
44            "countable_type": "a8xx_hlsq_perfcounter_select"
45        },
46        {
47            "name": "VPC",
48            "pipe": "BR",
49            "num": 6,
50            "select": "VPC_PERFCTR_VPC_SEL",
51            "slice_select": [ "VPC_PERFCTR_VPC_SEL_1", "VPC_PERFCTR_VPC_SEL_2" ],
52            "counter": "RBBM_PERFCTR_VPC",
53            "countable_type": "a8xx_vpc_perfcounter_select"
54        },
55        {
56            "name": "TSE",
57            "pipe": "BR",
58            "num": 4,
59            "select": "GRAS_PERFCTR_TSE_SEL",
60            "slice_select": [ "GRAS_PERFCTR_TSEFE_SEL" ],
61            "counter": "RBBM_PERFCTR_TSE",
62            "countable_type": "a8xx_tse_perfcounter_select"
63        },
64        {
65            "name": "RAS",
66            "pipe": "BR",
67            "num": 4,
68            "select": "GRAS_PERFCTR_RAS_SEL",
69            "counter": "RBBM_PERFCTR_RAS",
70            "countable_type": "a8xx_ras_perfcounter_select"
71        },
72        {
73            "name": "UCHE",
74            "num": 24,
75            "select": "UCHE_PERFCTR_UCHE_SEL",
76            "counter": "RBBM_PERFCTR_UCHE",
77            "countable_type": "a8xx_uche_perfcounter_select"
78        },
79        {
80            "name": "TP",
81            "pipe": "BR",
82            "num": 12,
83            "select": "TPL1_PERFCTR_TP_SEL",
84            "counter": "RBBM_PERFCTR_TP",
85            "countable_type": "a8xx_tp_perfcounter_select"
86        },
87        {
88            "name": "SP",
89            "pipe": "BR",
90            "num": 24,
91            "select": "SP_PERFCTR_SP_SEL",
92            "counter": "RBBM_PERFCTR_SP",
93            "countable_type": "a8xx_sp_perfcounter_select"
94        },
95        {
96            "name": "RB",
97            "pipe": "BR",
98            "num": 8,
99            "select": "RB_PERFCTR_RB_SEL",
100            "counter": "RBBM_PERFCTR_RB",
101            "countable_type": "a8xx_rb_perfcounter_select"
102        },
103        {
104            "name": "VSC",
105            "num": 2,
106            "select": "VSC_PERFCTR_VSC_SEL",
107            "counter": "RBBM_PERFCTR_VSC",
108            "countable_type": "a8xx_vsc_perfcounter_select"
109        },
110        {
111            "name": "CCU",
112            "pipe": "BR",
113            "num": 5,
114            "select": "RB_PERFCTR_CCU_SEL",
115            "counter": "RBBM_PERFCTR_CCU",
116            "countable_type": "a8xx_ccu_perfcounter_select"
117        },
118        {
119            "name": "LRZ",
120            "pipe": "BR",
121            "num": 4,
122            "select": "GRAS_PERFCTR_LRZ_SEL",
123            "counter": "RBBM_PERFCTR_LRZ",
124            "countable_type": "a8xx_lrz_perfcounter_select"
125        },
126        {
127            "name": "CMP",
128            "pipe": "BR",
129            "num": 4,
130            "select": "RB_PERFCTR_CMP_SEL",
131            "counter": "RBBM_PERFCTR_CMP",
132            "countable_type": "a8xx_cmp_perfcounter_select"
133        },
134        {
135            "name": "UFC",
136            "pipe": "BR",
137            "num": 4,
138            "select": "RB_PERFCTR_UFC_SEL",
139            "counter": "RBBM_PERFCTR_UFC",
140            "countable_type": "a8xx_ufc_perfcounter_select"
141        },
142        {
143            "name": "BV_CP",
144            "num": 7,
145            "select_offset": 14,
146            "select": "CP_PERFCTR_CP_SEL",
147            "counter": "RBBM_PERFCTR2_CP",
148            "countable_type": "a8xx_cp_perfcounter_select"
149        },
150        {
151            "name": "BV_PC",
152            "pipe": "BV",
153            "num": 8,
154            "select_offset": 8,
155            "select": "PC_PERFCTR_PC_SEL",
156            "slice_select": [ "PC_SLICE_PERFCTR_PC_SEL" ],
157            "counter": "RBBM_PERFCTR_BV_PC",
158            "countable_type": "a8xx_pc_perfcounter_select"
159        },
160        {
161            "name": "BV_VFD",
162            "pipe": "BV",
163            "num": 8,
164            "select_offset": 8,
165            "select": "VFD_PERFCTR_VFD_SEL",
166            "counter": "RBBM_PERFCTR_BV_VFD",
167            "countable_type": "a8xx_vfd_perfcounter_select"
168        },
169        {
170            "name": "BV_VPC",
171            "pipe": "BV",
172            "num": 6,
173            "select_offset": 6,
174            "select": "VPC_PERFCTR_VPC_SEL",
175            "slice_select": [ "VPC_PERFCTR_VPC_SEL_1", "VPC_PERFCTR_VPC_SEL_2" ],
176            "counter": "RBBM_PERFCTR_BV_VPC",
177            "countable_type": "a8xx_vpc_perfcounter_select"
178        },
179        {
180            "name": "BV_TP",
181            "pipe": "BV",
182            "num": 8,
183            "select_offset": 12,
184            "select": "TPL1_PERFCTR_TP_SEL",
185            "counter": "RBBM_PERFCTR2_TP",
186            "countable_type": "a8xx_tp_perfcounter_select"
187        },
188        {
189            "name": "BV_SP",
190            "pipe": "BV",
191            "num": 12,
192            "select_offset": 24,
193            "select": "SP_PERFCTR_SP_SEL",
194            "counter": "RBBM_PERFCTR2_SP",
195            "countable_type": "a8xx_sp_perfcounter_select"
196        },
197        {
198            "name": "BV_UFC",
199            "pipe": "BV",
200            "num": 2,
201            "select_offset": 4,
202            "select": "RB_PERFCTR_UFC_SEL",
203            "counter": "RBBM_PERFCTR2_UFC",
204            "countable_type": "a8xx_ufc_perfcounter_select"
205        },
206        {
207            "name": "BV_TSE",
208            "pipe": "BV",
209            "num": 4,
210            "select": "GRAS_PERFCTR_TSE_SEL",
211            "slice_select": [ "GRAS_PERFCTR_TSEFE_SEL" ],
212            "counter": "RBBM_PERFCTR_BV_TSE",
213            "countable_type": "a8xx_tse_perfcounter_select"
214        },
215        {
216            "name": "BV_RAS",
217            "pipe": "BV",
218            "num": 4,
219            "select": "GRAS_PERFCTR_RAS_SEL",
220            "counter": "RBBM_PERFCTR_BV_RAS",
221            "countable_type": "a8xx_ras_perfcounter_select"
222        },
223        {
224            "name": "BV_LRZ",
225            "pipe": "BV",
226            "num": 4,
227            "select": "GRAS_PERFCTR_LRZ_SEL",
228            "counter": "RBBM_PERFCTR_BV_LRZ",
229            "countable_type": "a8xx_lrz_perfcounter_select"
230        },
231        {
232            "name": "BV_HLSQ",
233            "pipe": "BV",
234            "num": 6,
235            "select": "SP_PERFCTR_HLSQ_SEL",
236            "slice_select": [ "SP_PERFCTR_HLSQ_SEL_2" ],
237            "counter": "RBBM_PERFCTR2_HLSQ",
238            "countable_type": "a8xx_hlsq_perfcounter_select"
239        }
240    ]
241}
242