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