1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #ifndef __ICELAND_SDMA_PKT_OPEN_H_
24 #define __ICELAND_SDMA_PKT_OPEN_H_
25
26 #define SDMA_OP_NOP 0
27 #define SDMA_OP_COPY 1
28 #define SDMA_OP_WRITE 2
29 #define SDMA_OP_INDIRECT 4
30 #define SDMA_OP_FENCE 5
31 #define SDMA_OP_TRAP 6
32 #define SDMA_OP_SEM 7
33 #define SDMA_OP_POLL_REGMEM 8
34 #define SDMA_OP_COND_EXE 9
35 #define SDMA_OP_ATOMIC 10
36 #define SDMA_OP_CONST_FILL 11
37 #define SDMA_OP_GEN_PTEPDE 12
38 #define SDMA_OP_TIMESTAMP 13
39 #define SDMA_OP_SRBM_WRITE 14
40 #define SDMA_OP_PRE_EXE 15
41 #define SDMA_SUBOP_TIMESTAMP_SET 0
42 #define SDMA_SUBOP_TIMESTAMP_GET 1
43 #define SDMA_SUBOP_TIMESTAMP_GET_GLOBAL 2
44 #define SDMA_SUBOP_COPY_LINEAR 0
45 #define SDMA_SUBOP_COPY_LINEAR_SUB_WIND 4
46 #define SDMA_SUBOP_COPY_TILED 1
47 #define SDMA_SUBOP_COPY_TILED_SUB_WIND 5
48 #define SDMA_SUBOP_COPY_T2T_SUB_WIND 6
49 #define SDMA_SUBOP_COPY_SOA 3
50 #define SDMA_SUBOP_WRITE_LINEAR 0
51 #define SDMA_SUBOP_WRITE_TILED 1
52
53
54 #define SDMA_PKT_HEADER_op_offset 0
55 #define SDMA_PKT_HEADER_op_mask 0x000000FF
56 #define SDMA_PKT_HEADER_op_shift 0
57 #define SDMA_PKT_HEADER_OP(x) (((x) & SDMA_PKT_HEADER_op_mask) << SDMA_PKT_HEADER_op_shift)
58
59
60 #define SDMA_PKT_HEADER_sub_op_offset 0
61 #define SDMA_PKT_HEADER_sub_op_mask 0x000000FF
62 #define SDMA_PKT_HEADER_sub_op_shift 8
63 #define SDMA_PKT_HEADER_SUB_OP(x) (((x) & SDMA_PKT_HEADER_sub_op_mask) << SDMA_PKT_HEADER_sub_op_shift)
64
65
66
67
68
69
70
71 #define SDMA_PKT_COPY_LINEAR_HEADER_op_offset 0
72 #define SDMA_PKT_COPY_LINEAR_HEADER_op_mask 0x000000FF
73 #define SDMA_PKT_COPY_LINEAR_HEADER_op_shift 0
74 #define SDMA_PKT_COPY_LINEAR_HEADER_OP(x) (((x) & SDMA_PKT_COPY_LINEAR_HEADER_op_mask) << SDMA_PKT_COPY_LINEAR_HEADER_op_shift)
75
76
77 #define SDMA_PKT_COPY_LINEAR_HEADER_sub_op_offset 0
78 #define SDMA_PKT_COPY_LINEAR_HEADER_sub_op_mask 0x000000FF
79 #define SDMA_PKT_COPY_LINEAR_HEADER_sub_op_shift 8
80 #define SDMA_PKT_COPY_LINEAR_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_LINEAR_HEADER_sub_op_mask) << SDMA_PKT_COPY_LINEAR_HEADER_sub_op_shift)
81
82
83 #define SDMA_PKT_COPY_LINEAR_HEADER_broadcast_offset 0
84 #define SDMA_PKT_COPY_LINEAR_HEADER_broadcast_mask 0x00000001
85 #define SDMA_PKT_COPY_LINEAR_HEADER_broadcast_shift 27
86 #define SDMA_PKT_COPY_LINEAR_HEADER_BROADCAST(x) (((x) & SDMA_PKT_COPY_LINEAR_HEADER_broadcast_mask) << SDMA_PKT_COPY_LINEAR_HEADER_broadcast_shift)
87
88
89
90 #define SDMA_PKT_COPY_LINEAR_COUNT_count_offset 1
91 #define SDMA_PKT_COPY_LINEAR_COUNT_count_mask 0x003FFFFF
92 #define SDMA_PKT_COPY_LINEAR_COUNT_count_shift 0
93 #define SDMA_PKT_COPY_LINEAR_COUNT_COUNT(x) (((x) & SDMA_PKT_COPY_LINEAR_COUNT_count_mask) << SDMA_PKT_COPY_LINEAR_COUNT_count_shift)
94
95
96
97 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_sw_offset 2
98 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_sw_mask 0x00000003
99 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_sw_shift 16
100 #define SDMA_PKT_COPY_LINEAR_PARAMETER_DST_SW(x) (((x) & SDMA_PKT_COPY_LINEAR_PARAMETER_dst_sw_mask) << SDMA_PKT_COPY_LINEAR_PARAMETER_dst_sw_shift)
101
102
103 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_ha_offset 2
104 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_ha_mask 0x00000001
105 #define SDMA_PKT_COPY_LINEAR_PARAMETER_dst_ha_shift 22
106 #define SDMA_PKT_COPY_LINEAR_PARAMETER_DST_HA(x) (((x) & SDMA_PKT_COPY_LINEAR_PARAMETER_dst_ha_mask) << SDMA_PKT_COPY_LINEAR_PARAMETER_dst_ha_shift)
107
108
109 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_sw_offset 2
110 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_sw_mask 0x00000003
111 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_sw_shift 24
112 #define SDMA_PKT_COPY_LINEAR_PARAMETER_SRC_SW(x) (((x) & SDMA_PKT_COPY_LINEAR_PARAMETER_src_sw_mask) << SDMA_PKT_COPY_LINEAR_PARAMETER_src_sw_shift)
113
114
115 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_ha_offset 2
116 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_ha_mask 0x00000001
117 #define SDMA_PKT_COPY_LINEAR_PARAMETER_src_ha_shift 30
118 #define SDMA_PKT_COPY_LINEAR_PARAMETER_SRC_HA(x) (((x) & SDMA_PKT_COPY_LINEAR_PARAMETER_src_ha_mask) << SDMA_PKT_COPY_LINEAR_PARAMETER_src_ha_shift)
119
120
121
122 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_src_addr_31_0_offset 3
123 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_src_addr_31_0_mask 0xFFFFFFFF
124 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_src_addr_31_0_shift 0
125 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_SRC_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_src_addr_31_0_mask) << SDMA_PKT_COPY_LINEAR_SRC_ADDR_LO_src_addr_31_0_shift)
126
127
128
129 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_src_addr_63_32_offset 4
130 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_src_addr_63_32_mask 0xFFFFFFFF
131 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_src_addr_63_32_shift 0
132 #define SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_SRC_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_src_addr_63_32_mask) << SDMA_PKT_COPY_LINEAR_SRC_ADDR_HI_src_addr_63_32_shift)
133
134
135
136 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_dst_addr_31_0_offset 5
137 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
138 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_dst_addr_31_0_shift 0
139 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_COPY_LINEAR_DST_ADDR_LO_dst_addr_31_0_shift)
140
141
142
143 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_dst_addr_63_32_offset 6
144 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
145 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_dst_addr_63_32_shift 0
146 #define SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_COPY_LINEAR_DST_ADDR_HI_dst_addr_63_32_shift)
147
148
149
150
151
152
153
154
155 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_op_offset 0
156 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_op_mask 0x000000FF
157 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_op_shift 0
158 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_OP(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_op_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_op_shift)
159
160
161 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_sub_op_offset 0
162 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_sub_op_mask 0x000000FF
163 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_sub_op_shift 8
164 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_sub_op_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_sub_op_shift)
165
166
167 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_broadcast_offset 0
168 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_broadcast_mask 0x00000001
169 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_broadcast_shift 27
170 #define SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_BROADCAST(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_broadcast_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_HEADER_broadcast_shift)
171
172
173
174 #define SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_count_offset 1
175 #define SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_count_mask 0x003FFFFF
176 #define SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_count_shift 0
177 #define SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_COUNT(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_count_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_COUNT_count_shift)
178
179
180
181 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_sw_offset 2
182 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_sw_mask 0x00000003
183 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_sw_shift 8
184 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_DST2_SW(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_sw_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_sw_shift)
185
186
187 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_ha_offset 2
188 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_ha_mask 0x00000001
189 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_ha_shift 14
190 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_DST2_HA(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_ha_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst2_ha_shift)
191
192
193 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_sw_offset 2
194 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_sw_mask 0x00000003
195 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_sw_shift 16
196 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_DST1_SW(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_sw_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_sw_shift)
197
198
199 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_ha_offset 2
200 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_ha_mask 0x00000001
201 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_ha_shift 22
202 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_DST1_HA(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_ha_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_dst1_ha_shift)
203
204
205 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_sw_offset 2
206 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_sw_mask 0x00000003
207 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_sw_shift 24
208 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_SRC_SW(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_sw_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_sw_shift)
209
210
211 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_ha_offset 2
212 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_ha_mask 0x00000001
213 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_ha_shift 30
214 #define SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_SRC_HA(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_ha_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_PARAMETER_src_ha_shift)
215
216
217
218 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_src_addr_31_0_offset 3
219 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_src_addr_31_0_mask 0xFFFFFFFF
220 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_src_addr_31_0_shift 0
221 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_SRC_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_src_addr_31_0_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_LO_src_addr_31_0_shift)
222
223
224
225 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_src_addr_63_32_offset 4
226 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_src_addr_63_32_mask 0xFFFFFFFF
227 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_src_addr_63_32_shift 0
228 #define SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_SRC_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_src_addr_63_32_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_SRC_ADDR_HI_src_addr_63_32_shift)
229
230
231
232 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_dst1_addr_31_0_offset 5
233 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_dst1_addr_31_0_mask 0xFFFFFFFF
234 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_dst1_addr_31_0_shift 0
235 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_DST1_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_dst1_addr_31_0_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_LO_dst1_addr_31_0_shift)
236
237
238
239 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_dst1_addr_63_32_offset 6
240 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_dst1_addr_63_32_mask 0xFFFFFFFF
241 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_dst1_addr_63_32_shift 0
242 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_DST1_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_dst1_addr_63_32_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_DST1_ADDR_HI_dst1_addr_63_32_shift)
243
244
245
246 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_dst2_addr_31_0_offset 7
247 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_dst2_addr_31_0_mask 0xFFFFFFFF
248 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_dst2_addr_31_0_shift 0
249 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_DST2_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_dst2_addr_31_0_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_LO_dst2_addr_31_0_shift)
250
251
252
253 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_dst2_addr_63_32_offset 8
254 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_dst2_addr_63_32_mask 0xFFFFFFFF
255 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_dst2_addr_63_32_shift 0
256 #define SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_DST2_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_dst2_addr_63_32_mask) << SDMA_PKT_COPY_BROADCAST_LINEAR_DST2_ADDR_HI_dst2_addr_63_32_shift)
257
258
259
260
261
262
263
264
265 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_op_offset 0
266 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_op_mask 0x000000FF
267 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_op_shift 0
268 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_OP(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_op_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_op_shift)
269
270
271 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_sub_op_offset 0
272 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_sub_op_mask 0x000000FF
273 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_sub_op_shift 8
274 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_sub_op_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_sub_op_shift)
275
276
277 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_elementsize_offset 0
278 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_elementsize_mask 0x00000007
279 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_elementsize_shift 29
280 #define SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_ELEMENTSIZE(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_elementsize_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_HEADER_elementsize_shift)
281
282
283
284 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_src_addr_31_0_offset 1
285 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_src_addr_31_0_mask 0xFFFFFFFF
286 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_src_addr_31_0_shift 0
287 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_SRC_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_src_addr_31_0_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_LO_src_addr_31_0_shift)
288
289
290
291 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_src_addr_63_32_offset 2
292 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_src_addr_63_32_mask 0xFFFFFFFF
293 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_src_addr_63_32_shift 0
294 #define SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_SRC_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_src_addr_63_32_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_SRC_ADDR_HI_src_addr_63_32_shift)
295
296
297
298 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_x_offset 3
299 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_x_mask 0x00003FFF
300 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_x_shift 0
301 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_SRC_X(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_x_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_x_shift)
302
303
304 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_y_offset 3
305 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_y_mask 0x00003FFF
306 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_y_shift 16
307 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_SRC_Y(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_y_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_3_src_y_shift)
308
309
310
311 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_z_offset 4
312 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_z_mask 0x000007FF
313 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_z_shift 0
314 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_SRC_Z(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_z_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_z_shift)
315
316
317 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_pitch_offset 4
318 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_pitch_mask 0x00003FFF
319 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_pitch_shift 16
320 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_SRC_PITCH(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_pitch_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_4_src_pitch_shift)
321
322
323
324 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_src_slice_pitch_offset 5
325 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_src_slice_pitch_mask 0x0FFFFFFF
326 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_src_slice_pitch_shift 0
327 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_SRC_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_src_slice_pitch_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_5_src_slice_pitch_shift)
328
329
330
331 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_dst_addr_31_0_offset 6
332 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
333 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_dst_addr_31_0_shift 0
334 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_LO_dst_addr_31_0_shift)
335
336
337
338 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_dst_addr_63_32_offset 7
339 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
340 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_dst_addr_63_32_shift 0
341 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DST_ADDR_HI_dst_addr_63_32_shift)
342
343
344
345 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_x_offset 8
346 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_x_mask 0x00003FFF
347 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_x_shift 0
348 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_DST_X(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_x_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_x_shift)
349
350
351 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_y_offset 8
352 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_y_mask 0x00003FFF
353 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_y_shift 16
354 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_DST_Y(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_y_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_8_dst_y_shift)
355
356
357
358 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_z_offset 9
359 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_z_mask 0x000007FF
360 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_z_shift 0
361 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_DST_Z(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_z_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_z_shift)
362
363
364 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_pitch_offset 9
365 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_pitch_mask 0x00003FFF
366 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_pitch_shift 16
367 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_DST_PITCH(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_pitch_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_9_dst_pitch_shift)
368
369
370
371 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_dst_slice_pitch_offset 10
372 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_dst_slice_pitch_mask 0x0FFFFFFF
373 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_dst_slice_pitch_shift 0
374 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_DST_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_dst_slice_pitch_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_10_dst_slice_pitch_shift)
375
376
377
378 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_x_offset 11
379 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_x_mask 0x00003FFF
380 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_x_shift 0
381 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_RECT_X(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_x_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_x_shift)
382
383
384 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_y_offset 11
385 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_y_mask 0x00003FFF
386 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_y_shift 16
387 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_RECT_Y(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_y_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_11_rect_y_shift)
388
389
390
391 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_rect_z_offset 12
392 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_rect_z_mask 0x000007FF
393 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_rect_z_shift 0
394 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_RECT_Z(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_rect_z_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_rect_z_shift)
395
396
397 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_sw_offset 12
398 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_sw_mask 0x00000003
399 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_sw_shift 16
400 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_DST_SW(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_sw_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_sw_shift)
401
402
403 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_ha_offset 12
404 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_ha_mask 0x00000001
405 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_ha_shift 22
406 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_DST_HA(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_ha_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_dst_ha_shift)
407
408
409 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_sw_offset 12
410 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_sw_mask 0x00000003
411 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_sw_shift 24
412 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_SRC_SW(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_sw_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_sw_shift)
413
414
415 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_ha_offset 12
416 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_ha_mask 0x00000001
417 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_ha_shift 30
418 #define SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_SRC_HA(x) (((x) & SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_ha_mask) << SDMA_PKT_COPY_LINEAR_SUBWIN_DW_12_src_ha_shift)
419
420
421
422
423
424
425
426
427 #define SDMA_PKT_COPY_TILED_HEADER_op_offset 0
428 #define SDMA_PKT_COPY_TILED_HEADER_op_mask 0x000000FF
429 #define SDMA_PKT_COPY_TILED_HEADER_op_shift 0
430 #define SDMA_PKT_COPY_TILED_HEADER_OP(x) (((x) & SDMA_PKT_COPY_TILED_HEADER_op_mask) << SDMA_PKT_COPY_TILED_HEADER_op_shift)
431
432
433 #define SDMA_PKT_COPY_TILED_HEADER_sub_op_offset 0
434 #define SDMA_PKT_COPY_TILED_HEADER_sub_op_mask 0x000000FF
435 #define SDMA_PKT_COPY_TILED_HEADER_sub_op_shift 8
436 #define SDMA_PKT_COPY_TILED_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_TILED_HEADER_sub_op_mask) << SDMA_PKT_COPY_TILED_HEADER_sub_op_shift)
437
438
439 #define SDMA_PKT_COPY_TILED_HEADER_detile_offset 0
440 #define SDMA_PKT_COPY_TILED_HEADER_detile_mask 0x00000001
441 #define SDMA_PKT_COPY_TILED_HEADER_detile_shift 31
442 #define SDMA_PKT_COPY_TILED_HEADER_DETILE(x) (((x) & SDMA_PKT_COPY_TILED_HEADER_detile_mask) << SDMA_PKT_COPY_TILED_HEADER_detile_shift)
443
444
445
446 #define SDMA_PKT_COPY_TILED_TILED_ADDR_LO_tiled_addr_31_0_offset 1
447 #define SDMA_PKT_COPY_TILED_TILED_ADDR_LO_tiled_addr_31_0_mask 0xFFFFFFFF
448 #define SDMA_PKT_COPY_TILED_TILED_ADDR_LO_tiled_addr_31_0_shift 0
449 #define SDMA_PKT_COPY_TILED_TILED_ADDR_LO_TILED_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_TILED_TILED_ADDR_LO_tiled_addr_31_0_mask) << SDMA_PKT_COPY_TILED_TILED_ADDR_LO_tiled_addr_31_0_shift)
450
451
452
453 #define SDMA_PKT_COPY_TILED_TILED_ADDR_HI_tiled_addr_63_32_offset 2
454 #define SDMA_PKT_COPY_TILED_TILED_ADDR_HI_tiled_addr_63_32_mask 0xFFFFFFFF
455 #define SDMA_PKT_COPY_TILED_TILED_ADDR_HI_tiled_addr_63_32_shift 0
456 #define SDMA_PKT_COPY_TILED_TILED_ADDR_HI_TILED_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_TILED_TILED_ADDR_HI_tiled_addr_63_32_mask) << SDMA_PKT_COPY_TILED_TILED_ADDR_HI_tiled_addr_63_32_shift)
457
458
459
460 #define SDMA_PKT_COPY_TILED_DW_3_pitch_in_tile_offset 3
461 #define SDMA_PKT_COPY_TILED_DW_3_pitch_in_tile_mask 0x000007FF
462 #define SDMA_PKT_COPY_TILED_DW_3_pitch_in_tile_shift 0
463 #define SDMA_PKT_COPY_TILED_DW_3_PITCH_IN_TILE(x) (((x) & SDMA_PKT_COPY_TILED_DW_3_pitch_in_tile_mask) << SDMA_PKT_COPY_TILED_DW_3_pitch_in_tile_shift)
464
465
466 #define SDMA_PKT_COPY_TILED_DW_3_height_offset 3
467 #define SDMA_PKT_COPY_TILED_DW_3_height_mask 0x00003FFF
468 #define SDMA_PKT_COPY_TILED_DW_3_height_shift 16
469 #define SDMA_PKT_COPY_TILED_DW_3_HEIGHT(x) (((x) & SDMA_PKT_COPY_TILED_DW_3_height_mask) << SDMA_PKT_COPY_TILED_DW_3_height_shift)
470
471
472
473 #define SDMA_PKT_COPY_TILED_DW_4_slice_pitch_offset 4
474 #define SDMA_PKT_COPY_TILED_DW_4_slice_pitch_mask 0x003FFFFF
475 #define SDMA_PKT_COPY_TILED_DW_4_slice_pitch_shift 0
476 #define SDMA_PKT_COPY_TILED_DW_4_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_TILED_DW_4_slice_pitch_mask) << SDMA_PKT_COPY_TILED_DW_4_slice_pitch_shift)
477
478
479
480 #define SDMA_PKT_COPY_TILED_DW_5_element_size_offset 5
481 #define SDMA_PKT_COPY_TILED_DW_5_element_size_mask 0x00000007
482 #define SDMA_PKT_COPY_TILED_DW_5_element_size_shift 0
483 #define SDMA_PKT_COPY_TILED_DW_5_ELEMENT_SIZE(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_element_size_mask) << SDMA_PKT_COPY_TILED_DW_5_element_size_shift)
484
485
486 #define SDMA_PKT_COPY_TILED_DW_5_array_mode_offset 5
487 #define SDMA_PKT_COPY_TILED_DW_5_array_mode_mask 0x0000000F
488 #define SDMA_PKT_COPY_TILED_DW_5_array_mode_shift 3
489 #define SDMA_PKT_COPY_TILED_DW_5_ARRAY_MODE(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_array_mode_mask) << SDMA_PKT_COPY_TILED_DW_5_array_mode_shift)
490
491
492 #define SDMA_PKT_COPY_TILED_DW_5_mit_mode_offset 5
493 #define SDMA_PKT_COPY_TILED_DW_5_mit_mode_mask 0x00000007
494 #define SDMA_PKT_COPY_TILED_DW_5_mit_mode_shift 8
495 #define SDMA_PKT_COPY_TILED_DW_5_MIT_MODE(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_mit_mode_mask) << SDMA_PKT_COPY_TILED_DW_5_mit_mode_shift)
496
497
498 #define SDMA_PKT_COPY_TILED_DW_5_tilesplit_size_offset 5
499 #define SDMA_PKT_COPY_TILED_DW_5_tilesplit_size_mask 0x00000007
500 #define SDMA_PKT_COPY_TILED_DW_5_tilesplit_size_shift 11
501 #define SDMA_PKT_COPY_TILED_DW_5_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_tilesplit_size_mask) << SDMA_PKT_COPY_TILED_DW_5_tilesplit_size_shift)
502
503
504 #define SDMA_PKT_COPY_TILED_DW_5_bank_w_offset 5
505 #define SDMA_PKT_COPY_TILED_DW_5_bank_w_mask 0x00000003
506 #define SDMA_PKT_COPY_TILED_DW_5_bank_w_shift 15
507 #define SDMA_PKT_COPY_TILED_DW_5_BANK_W(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_bank_w_mask) << SDMA_PKT_COPY_TILED_DW_5_bank_w_shift)
508
509
510 #define SDMA_PKT_COPY_TILED_DW_5_bank_h_offset 5
511 #define SDMA_PKT_COPY_TILED_DW_5_bank_h_mask 0x00000003
512 #define SDMA_PKT_COPY_TILED_DW_5_bank_h_shift 18
513 #define SDMA_PKT_COPY_TILED_DW_5_BANK_H(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_bank_h_mask) << SDMA_PKT_COPY_TILED_DW_5_bank_h_shift)
514
515
516 #define SDMA_PKT_COPY_TILED_DW_5_num_bank_offset 5
517 #define SDMA_PKT_COPY_TILED_DW_5_num_bank_mask 0x00000003
518 #define SDMA_PKT_COPY_TILED_DW_5_num_bank_shift 21
519 #define SDMA_PKT_COPY_TILED_DW_5_NUM_BANK(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_num_bank_mask) << SDMA_PKT_COPY_TILED_DW_5_num_bank_shift)
520
521
522 #define SDMA_PKT_COPY_TILED_DW_5_mat_aspt_offset 5
523 #define SDMA_PKT_COPY_TILED_DW_5_mat_aspt_mask 0x00000003
524 #define SDMA_PKT_COPY_TILED_DW_5_mat_aspt_shift 24
525 #define SDMA_PKT_COPY_TILED_DW_5_MAT_ASPT(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_mat_aspt_mask) << SDMA_PKT_COPY_TILED_DW_5_mat_aspt_shift)
526
527
528 #define SDMA_PKT_COPY_TILED_DW_5_pipe_config_offset 5
529 #define SDMA_PKT_COPY_TILED_DW_5_pipe_config_mask 0x0000001F
530 #define SDMA_PKT_COPY_TILED_DW_5_pipe_config_shift 26
531 #define SDMA_PKT_COPY_TILED_DW_5_PIPE_CONFIG(x) (((x) & SDMA_PKT_COPY_TILED_DW_5_pipe_config_mask) << SDMA_PKT_COPY_TILED_DW_5_pipe_config_shift)
532
533
534
535 #define SDMA_PKT_COPY_TILED_DW_6_x_offset 6
536 #define SDMA_PKT_COPY_TILED_DW_6_x_mask 0x00003FFF
537 #define SDMA_PKT_COPY_TILED_DW_6_x_shift 0
538 #define SDMA_PKT_COPY_TILED_DW_6_X(x) (((x) & SDMA_PKT_COPY_TILED_DW_6_x_mask) << SDMA_PKT_COPY_TILED_DW_6_x_shift)
539
540
541 #define SDMA_PKT_COPY_TILED_DW_6_y_offset 6
542 #define SDMA_PKT_COPY_TILED_DW_6_y_mask 0x00003FFF
543 #define SDMA_PKT_COPY_TILED_DW_6_y_shift 16
544 #define SDMA_PKT_COPY_TILED_DW_6_Y(x) (((x) & SDMA_PKT_COPY_TILED_DW_6_y_mask) << SDMA_PKT_COPY_TILED_DW_6_y_shift)
545
546
547
548 #define SDMA_PKT_COPY_TILED_DW_7_z_offset 7
549 #define SDMA_PKT_COPY_TILED_DW_7_z_mask 0x00000FFF
550 #define SDMA_PKT_COPY_TILED_DW_7_z_shift 0
551 #define SDMA_PKT_COPY_TILED_DW_7_Z(x) (((x) & SDMA_PKT_COPY_TILED_DW_7_z_mask) << SDMA_PKT_COPY_TILED_DW_7_z_shift)
552
553
554 #define SDMA_PKT_COPY_TILED_DW_7_linear_sw_offset 7
555 #define SDMA_PKT_COPY_TILED_DW_7_linear_sw_mask 0x00000003
556 #define SDMA_PKT_COPY_TILED_DW_7_linear_sw_shift 16
557 #define SDMA_PKT_COPY_TILED_DW_7_LINEAR_SW(x) (((x) & SDMA_PKT_COPY_TILED_DW_7_linear_sw_mask) << SDMA_PKT_COPY_TILED_DW_7_linear_sw_shift)
558
559
560 #define SDMA_PKT_COPY_TILED_DW_7_tile_sw_offset 7
561 #define SDMA_PKT_COPY_TILED_DW_7_tile_sw_mask 0x00000003
562 #define SDMA_PKT_COPY_TILED_DW_7_tile_sw_shift 24
563 #define SDMA_PKT_COPY_TILED_DW_7_TILE_SW(x) (((x) & SDMA_PKT_COPY_TILED_DW_7_tile_sw_mask) << SDMA_PKT_COPY_TILED_DW_7_tile_sw_shift)
564
565
566
567 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_linear_addr_31_0_offset 8
568 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_linear_addr_31_0_mask 0xFFFFFFFF
569 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_linear_addr_31_0_shift 0
570 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_LINEAR_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_linear_addr_31_0_mask) << SDMA_PKT_COPY_TILED_LINEAR_ADDR_LO_linear_addr_31_0_shift)
571
572
573
574 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_linear_addr_63_32_offset 9
575 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_linear_addr_63_32_mask 0xFFFFFFFF
576 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_linear_addr_63_32_shift 0
577 #define SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_LINEAR_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_linear_addr_63_32_mask) << SDMA_PKT_COPY_TILED_LINEAR_ADDR_HI_linear_addr_63_32_shift)
578
579
580
581 #define SDMA_PKT_COPY_TILED_LINEAR_PITCH_linear_pitch_offset 10
582 #define SDMA_PKT_COPY_TILED_LINEAR_PITCH_linear_pitch_mask 0x0007FFFF
583 #define SDMA_PKT_COPY_TILED_LINEAR_PITCH_linear_pitch_shift 0
584 #define SDMA_PKT_COPY_TILED_LINEAR_PITCH_LINEAR_PITCH(x) (((x) & SDMA_PKT_COPY_TILED_LINEAR_PITCH_linear_pitch_mask) << SDMA_PKT_COPY_TILED_LINEAR_PITCH_linear_pitch_shift)
585
586
587
588 #define SDMA_PKT_COPY_TILED_COUNT_count_offset 11
589 #define SDMA_PKT_COPY_TILED_COUNT_count_mask 0x000FFFFF
590 #define SDMA_PKT_COPY_TILED_COUNT_count_shift 0
591 #define SDMA_PKT_COPY_TILED_COUNT_COUNT(x) (((x) & SDMA_PKT_COPY_TILED_COUNT_count_mask) << SDMA_PKT_COPY_TILED_COUNT_count_shift)
592
593
594
595
596
597
598
599
600 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_op_offset 0
601 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_op_mask 0x000000FF
602 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_op_shift 0
603 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_OP(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_HEADER_op_mask) << SDMA_PKT_COPY_L2T_BROADCAST_HEADER_op_shift)
604
605
606 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_sub_op_offset 0
607 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_sub_op_mask 0x000000FF
608 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_sub_op_shift 8
609 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_HEADER_sub_op_mask) << SDMA_PKT_COPY_L2T_BROADCAST_HEADER_sub_op_shift)
610
611
612 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_videocopy_offset 0
613 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_videocopy_mask 0x00000001
614 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_videocopy_shift 26
615 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_VIDEOCOPY(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_HEADER_videocopy_mask) << SDMA_PKT_COPY_L2T_BROADCAST_HEADER_videocopy_shift)
616
617
618 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_broadcast_offset 0
619 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_broadcast_mask 0x00000001
620 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_broadcast_shift 27
621 #define SDMA_PKT_COPY_L2T_BROADCAST_HEADER_BROADCAST(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_HEADER_broadcast_mask) << SDMA_PKT_COPY_L2T_BROADCAST_HEADER_broadcast_shift)
622
623
624
625 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_tiled_addr0_31_0_offset 1
626 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_tiled_addr0_31_0_mask 0xFFFFFFFF
627 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_tiled_addr0_31_0_shift 0
628 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_TILED_ADDR0_31_0(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_tiled_addr0_31_0_mask) << SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_0_tiled_addr0_31_0_shift)
629
630
631
632 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_tiled_addr0_63_32_offset 2
633 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_tiled_addr0_63_32_mask 0xFFFFFFFF
634 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_tiled_addr0_63_32_shift 0
635 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_TILED_ADDR0_63_32(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_tiled_addr0_63_32_mask) << SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_0_tiled_addr0_63_32_shift)
636
637
638
639 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_tiled_addr1_31_0_offset 3
640 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_tiled_addr1_31_0_mask 0xFFFFFFFF
641 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_tiled_addr1_31_0_shift 0
642 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_TILED_ADDR1_31_0(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_tiled_addr1_31_0_mask) << SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_LO_1_tiled_addr1_31_0_shift)
643
644
645
646 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_tiled_addr1_63_32_offset 4
647 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_tiled_addr1_63_32_mask 0xFFFFFFFF
648 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_tiled_addr1_63_32_shift 0
649 #define SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_TILED_ADDR1_63_32(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_tiled_addr1_63_32_mask) << SDMA_PKT_COPY_L2T_BROADCAST_TILED_ADDR_HI_1_tiled_addr1_63_32_shift)
650
651
652
653 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_pitch_in_tile_offset 5
654 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_pitch_in_tile_mask 0x000007FF
655 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_pitch_in_tile_shift 0
656 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_PITCH_IN_TILE(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_5_pitch_in_tile_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_5_pitch_in_tile_shift)
657
658
659 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_height_offset 5
660 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_height_mask 0x00003FFF
661 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_height_shift 16
662 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_5_HEIGHT(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_5_height_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_5_height_shift)
663
664
665
666 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_6_slice_pitch_offset 6
667 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_6_slice_pitch_mask 0x003FFFFF
668 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_6_slice_pitch_shift 0
669 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_6_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_6_slice_pitch_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_6_slice_pitch_shift)
670
671
672
673 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_element_size_offset 7
674 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_element_size_mask 0x00000007
675 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_element_size_shift 0
676 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_ELEMENT_SIZE(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_element_size_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_element_size_shift)
677
678
679 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_array_mode_offset 7
680 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_array_mode_mask 0x0000000F
681 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_array_mode_shift 3
682 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_ARRAY_MODE(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_array_mode_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_array_mode_shift)
683
684
685 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mit_mode_offset 7
686 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mit_mode_mask 0x00000007
687 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mit_mode_shift 8
688 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_MIT_MODE(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mit_mode_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mit_mode_shift)
689
690
691 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_tilesplit_size_offset 7
692 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_tilesplit_size_mask 0x00000007
693 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_tilesplit_size_shift 11
694 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_tilesplit_size_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_tilesplit_size_shift)
695
696
697 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_w_offset 7
698 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_w_mask 0x00000003
699 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_w_shift 15
700 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_BANK_W(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_w_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_w_shift)
701
702
703 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_h_offset 7
704 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_h_mask 0x00000003
705 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_h_shift 18
706 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_BANK_H(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_h_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_bank_h_shift)
707
708
709 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_num_bank_offset 7
710 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_num_bank_mask 0x00000003
711 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_num_bank_shift 21
712 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_NUM_BANK(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_num_bank_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_num_bank_shift)
713
714
715 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mat_aspt_offset 7
716 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mat_aspt_mask 0x00000003
717 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mat_aspt_shift 24
718 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_MAT_ASPT(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mat_aspt_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_mat_aspt_shift)
719
720
721 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_pipe_config_offset 7
722 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_pipe_config_mask 0x0000001F
723 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_pipe_config_shift 26
724 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_7_PIPE_CONFIG(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_7_pipe_config_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_7_pipe_config_shift)
725
726
727
728 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_x_offset 8
729 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_x_mask 0x00003FFF
730 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_x_shift 0
731 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_X(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_8_x_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_8_x_shift)
732
733
734 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_y_offset 8
735 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_y_mask 0x00003FFF
736 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_y_shift 16
737 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_8_Y(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_8_y_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_8_y_shift)
738
739
740
741 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_9_z_offset 9
742 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_9_z_mask 0x00000FFF
743 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_9_z_shift 0
744 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_9_Z(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_9_z_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_9_z_shift)
745
746
747
748 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_sw_offset 10
749 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_sw_mask 0x00000003
750 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_sw_shift 8
751 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_DST2_SW(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_sw_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_sw_shift)
752
753
754 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_ha_offset 10
755 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_ha_mask 0x00000001
756 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_ha_shift 14
757 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_DST2_HA(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_ha_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_10_dst2_ha_shift)
758
759
760 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_linear_sw_offset 10
761 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_linear_sw_mask 0x00000003
762 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_linear_sw_shift 16
763 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_LINEAR_SW(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_10_linear_sw_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_10_linear_sw_shift)
764
765
766 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_tile_sw_offset 10
767 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_tile_sw_mask 0x00000003
768 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_tile_sw_shift 24
769 #define SDMA_PKT_COPY_L2T_BROADCAST_DW_10_TILE_SW(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_DW_10_tile_sw_mask) << SDMA_PKT_COPY_L2T_BROADCAST_DW_10_tile_sw_shift)
770
771
772
773 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_linear_addr_31_0_offset 11
774 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_linear_addr_31_0_mask 0xFFFFFFFF
775 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_linear_addr_31_0_shift 0
776 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_LINEAR_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_linear_addr_31_0_mask) << SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_LO_linear_addr_31_0_shift)
777
778
779
780 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_linear_addr_63_32_offset 12
781 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_linear_addr_63_32_mask 0xFFFFFFFF
782 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_linear_addr_63_32_shift 0
783 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_LINEAR_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_linear_addr_63_32_mask) << SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_ADDR_HI_linear_addr_63_32_shift)
784
785
786
787 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_linear_pitch_offset 13
788 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_linear_pitch_mask 0x0007FFFF
789 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_linear_pitch_shift 0
790 #define SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_LINEAR_PITCH(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_linear_pitch_mask) << SDMA_PKT_COPY_L2T_BROADCAST_LINEAR_PITCH_linear_pitch_shift)
791
792
793
794 #define SDMA_PKT_COPY_L2T_BROADCAST_COUNT_count_offset 14
795 #define SDMA_PKT_COPY_L2T_BROADCAST_COUNT_count_mask 0x000FFFFF
796 #define SDMA_PKT_COPY_L2T_BROADCAST_COUNT_count_shift 0
797 #define SDMA_PKT_COPY_L2T_BROADCAST_COUNT_COUNT(x) (((x) & SDMA_PKT_COPY_L2T_BROADCAST_COUNT_count_mask) << SDMA_PKT_COPY_L2T_BROADCAST_COUNT_count_shift)
798
799
800
801
802
803
804
805
806 #define SDMA_PKT_COPY_T2T_HEADER_op_offset 0
807 #define SDMA_PKT_COPY_T2T_HEADER_op_mask 0x000000FF
808 #define SDMA_PKT_COPY_T2T_HEADER_op_shift 0
809 #define SDMA_PKT_COPY_T2T_HEADER_OP(x) (((x) & SDMA_PKT_COPY_T2T_HEADER_op_mask) << SDMA_PKT_COPY_T2T_HEADER_op_shift)
810
811
812 #define SDMA_PKT_COPY_T2T_HEADER_sub_op_offset 0
813 #define SDMA_PKT_COPY_T2T_HEADER_sub_op_mask 0x000000FF
814 #define SDMA_PKT_COPY_T2T_HEADER_sub_op_shift 8
815 #define SDMA_PKT_COPY_T2T_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_T2T_HEADER_sub_op_mask) << SDMA_PKT_COPY_T2T_HEADER_sub_op_shift)
816
817
818
819 #define SDMA_PKT_COPY_T2T_SRC_ADDR_LO_src_addr_31_0_offset 1
820 #define SDMA_PKT_COPY_T2T_SRC_ADDR_LO_src_addr_31_0_mask 0xFFFFFFFF
821 #define SDMA_PKT_COPY_T2T_SRC_ADDR_LO_src_addr_31_0_shift 0
822 #define SDMA_PKT_COPY_T2T_SRC_ADDR_LO_SRC_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_T2T_SRC_ADDR_LO_src_addr_31_0_mask) << SDMA_PKT_COPY_T2T_SRC_ADDR_LO_src_addr_31_0_shift)
823
824
825
826 #define SDMA_PKT_COPY_T2T_SRC_ADDR_HI_src_addr_63_32_offset 2
827 #define SDMA_PKT_COPY_T2T_SRC_ADDR_HI_src_addr_63_32_mask 0xFFFFFFFF
828 #define SDMA_PKT_COPY_T2T_SRC_ADDR_HI_src_addr_63_32_shift 0
829 #define SDMA_PKT_COPY_T2T_SRC_ADDR_HI_SRC_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_T2T_SRC_ADDR_HI_src_addr_63_32_mask) << SDMA_PKT_COPY_T2T_SRC_ADDR_HI_src_addr_63_32_shift)
830
831
832
833 #define SDMA_PKT_COPY_T2T_DW_3_src_x_offset 3
834 #define SDMA_PKT_COPY_T2T_DW_3_src_x_mask 0x00003FFF
835 #define SDMA_PKT_COPY_T2T_DW_3_src_x_shift 0
836 #define SDMA_PKT_COPY_T2T_DW_3_SRC_X(x) (((x) & SDMA_PKT_COPY_T2T_DW_3_src_x_mask) << SDMA_PKT_COPY_T2T_DW_3_src_x_shift)
837
838
839 #define SDMA_PKT_COPY_T2T_DW_3_src_y_offset 3
840 #define SDMA_PKT_COPY_T2T_DW_3_src_y_mask 0x00003FFF
841 #define SDMA_PKT_COPY_T2T_DW_3_src_y_shift 16
842 #define SDMA_PKT_COPY_T2T_DW_3_SRC_Y(x) (((x) & SDMA_PKT_COPY_T2T_DW_3_src_y_mask) << SDMA_PKT_COPY_T2T_DW_3_src_y_shift)
843
844
845
846 #define SDMA_PKT_COPY_T2T_DW_4_src_z_offset 4
847 #define SDMA_PKT_COPY_T2T_DW_4_src_z_mask 0x000007FF
848 #define SDMA_PKT_COPY_T2T_DW_4_src_z_shift 0
849 #define SDMA_PKT_COPY_T2T_DW_4_SRC_Z(x) (((x) & SDMA_PKT_COPY_T2T_DW_4_src_z_mask) << SDMA_PKT_COPY_T2T_DW_4_src_z_shift)
850
851
852 #define SDMA_PKT_COPY_T2T_DW_4_src_pitch_in_tile_offset 4
853 #define SDMA_PKT_COPY_T2T_DW_4_src_pitch_in_tile_mask 0x00000FFF
854 #define SDMA_PKT_COPY_T2T_DW_4_src_pitch_in_tile_shift 16
855 #define SDMA_PKT_COPY_T2T_DW_4_SRC_PITCH_IN_TILE(x) (((x) & SDMA_PKT_COPY_T2T_DW_4_src_pitch_in_tile_mask) << SDMA_PKT_COPY_T2T_DW_4_src_pitch_in_tile_shift)
856
857
858
859 #define SDMA_PKT_COPY_T2T_DW_5_src_slice_pitch_offset 5
860 #define SDMA_PKT_COPY_T2T_DW_5_src_slice_pitch_mask 0x003FFFFF
861 #define SDMA_PKT_COPY_T2T_DW_5_src_slice_pitch_shift 0
862 #define SDMA_PKT_COPY_T2T_DW_5_SRC_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_T2T_DW_5_src_slice_pitch_mask) << SDMA_PKT_COPY_T2T_DW_5_src_slice_pitch_shift)
863
864
865
866 #define SDMA_PKT_COPY_T2T_DW_6_src_element_size_offset 6
867 #define SDMA_PKT_COPY_T2T_DW_6_src_element_size_mask 0x00000007
868 #define SDMA_PKT_COPY_T2T_DW_6_src_element_size_shift 0
869 #define SDMA_PKT_COPY_T2T_DW_6_SRC_ELEMENT_SIZE(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_element_size_mask) << SDMA_PKT_COPY_T2T_DW_6_src_element_size_shift)
870
871
872 #define SDMA_PKT_COPY_T2T_DW_6_src_array_mode_offset 6
873 #define SDMA_PKT_COPY_T2T_DW_6_src_array_mode_mask 0x0000000F
874 #define SDMA_PKT_COPY_T2T_DW_6_src_array_mode_shift 3
875 #define SDMA_PKT_COPY_T2T_DW_6_SRC_ARRAY_MODE(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_array_mode_mask) << SDMA_PKT_COPY_T2T_DW_6_src_array_mode_shift)
876
877
878 #define SDMA_PKT_COPY_T2T_DW_6_src_mit_mode_offset 6
879 #define SDMA_PKT_COPY_T2T_DW_6_src_mit_mode_mask 0x00000007
880 #define SDMA_PKT_COPY_T2T_DW_6_src_mit_mode_shift 8
881 #define SDMA_PKT_COPY_T2T_DW_6_SRC_MIT_MODE(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_mit_mode_mask) << SDMA_PKT_COPY_T2T_DW_6_src_mit_mode_shift)
882
883
884 #define SDMA_PKT_COPY_T2T_DW_6_src_tilesplit_size_offset 6
885 #define SDMA_PKT_COPY_T2T_DW_6_src_tilesplit_size_mask 0x00000007
886 #define SDMA_PKT_COPY_T2T_DW_6_src_tilesplit_size_shift 11
887 #define SDMA_PKT_COPY_T2T_DW_6_SRC_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_tilesplit_size_mask) << SDMA_PKT_COPY_T2T_DW_6_src_tilesplit_size_shift)
888
889
890 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_w_offset 6
891 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_w_mask 0x00000003
892 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_w_shift 15
893 #define SDMA_PKT_COPY_T2T_DW_6_SRC_BANK_W(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_bank_w_mask) << SDMA_PKT_COPY_T2T_DW_6_src_bank_w_shift)
894
895
896 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_h_offset 6
897 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_h_mask 0x00000003
898 #define SDMA_PKT_COPY_T2T_DW_6_src_bank_h_shift 18
899 #define SDMA_PKT_COPY_T2T_DW_6_SRC_BANK_H(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_bank_h_mask) << SDMA_PKT_COPY_T2T_DW_6_src_bank_h_shift)
900
901
902 #define SDMA_PKT_COPY_T2T_DW_6_src_num_bank_offset 6
903 #define SDMA_PKT_COPY_T2T_DW_6_src_num_bank_mask 0x00000003
904 #define SDMA_PKT_COPY_T2T_DW_6_src_num_bank_shift 21
905 #define SDMA_PKT_COPY_T2T_DW_6_SRC_NUM_BANK(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_num_bank_mask) << SDMA_PKT_COPY_T2T_DW_6_src_num_bank_shift)
906
907
908 #define SDMA_PKT_COPY_T2T_DW_6_src_mat_aspt_offset 6
909 #define SDMA_PKT_COPY_T2T_DW_6_src_mat_aspt_mask 0x00000003
910 #define SDMA_PKT_COPY_T2T_DW_6_src_mat_aspt_shift 24
911 #define SDMA_PKT_COPY_T2T_DW_6_SRC_MAT_ASPT(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_mat_aspt_mask) << SDMA_PKT_COPY_T2T_DW_6_src_mat_aspt_shift)
912
913
914 #define SDMA_PKT_COPY_T2T_DW_6_src_pipe_config_offset 6
915 #define SDMA_PKT_COPY_T2T_DW_6_src_pipe_config_mask 0x0000001F
916 #define SDMA_PKT_COPY_T2T_DW_6_src_pipe_config_shift 26
917 #define SDMA_PKT_COPY_T2T_DW_6_SRC_PIPE_CONFIG(x) (((x) & SDMA_PKT_COPY_T2T_DW_6_src_pipe_config_mask) << SDMA_PKT_COPY_T2T_DW_6_src_pipe_config_shift)
918
919
920
921 #define SDMA_PKT_COPY_T2T_DST_ADDR_LO_dst_addr_31_0_offset 7
922 #define SDMA_PKT_COPY_T2T_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
923 #define SDMA_PKT_COPY_T2T_DST_ADDR_LO_dst_addr_31_0_shift 0
924 #define SDMA_PKT_COPY_T2T_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_T2T_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_COPY_T2T_DST_ADDR_LO_dst_addr_31_0_shift)
925
926
927
928 #define SDMA_PKT_COPY_T2T_DST_ADDR_HI_dst_addr_63_32_offset 8
929 #define SDMA_PKT_COPY_T2T_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
930 #define SDMA_PKT_COPY_T2T_DST_ADDR_HI_dst_addr_63_32_shift 0
931 #define SDMA_PKT_COPY_T2T_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_T2T_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_COPY_T2T_DST_ADDR_HI_dst_addr_63_32_shift)
932
933
934
935 #define SDMA_PKT_COPY_T2T_DW_9_dst_x_offset 9
936 #define SDMA_PKT_COPY_T2T_DW_9_dst_x_mask 0x00003FFF
937 #define SDMA_PKT_COPY_T2T_DW_9_dst_x_shift 0
938 #define SDMA_PKT_COPY_T2T_DW_9_DST_X(x) (((x) & SDMA_PKT_COPY_T2T_DW_9_dst_x_mask) << SDMA_PKT_COPY_T2T_DW_9_dst_x_shift)
939
940
941 #define SDMA_PKT_COPY_T2T_DW_9_dst_y_offset 9
942 #define SDMA_PKT_COPY_T2T_DW_9_dst_y_mask 0x00003FFF
943 #define SDMA_PKT_COPY_T2T_DW_9_dst_y_shift 16
944 #define SDMA_PKT_COPY_T2T_DW_9_DST_Y(x) (((x) & SDMA_PKT_COPY_T2T_DW_9_dst_y_mask) << SDMA_PKT_COPY_T2T_DW_9_dst_y_shift)
945
946
947
948 #define SDMA_PKT_COPY_T2T_DW_10_dst_z_offset 10
949 #define SDMA_PKT_COPY_T2T_DW_10_dst_z_mask 0x000007FF
950 #define SDMA_PKT_COPY_T2T_DW_10_dst_z_shift 0
951 #define SDMA_PKT_COPY_T2T_DW_10_DST_Z(x) (((x) & SDMA_PKT_COPY_T2T_DW_10_dst_z_mask) << SDMA_PKT_COPY_T2T_DW_10_dst_z_shift)
952
953
954 #define SDMA_PKT_COPY_T2T_DW_10_dst_pitch_in_tile_offset 10
955 #define SDMA_PKT_COPY_T2T_DW_10_dst_pitch_in_tile_mask 0x00000FFF
956 #define SDMA_PKT_COPY_T2T_DW_10_dst_pitch_in_tile_shift 16
957 #define SDMA_PKT_COPY_T2T_DW_10_DST_PITCH_IN_TILE(x) (((x) & SDMA_PKT_COPY_T2T_DW_10_dst_pitch_in_tile_mask) << SDMA_PKT_COPY_T2T_DW_10_dst_pitch_in_tile_shift)
958
959
960
961 #define SDMA_PKT_COPY_T2T_DW_11_dst_slice_pitch_offset 11
962 #define SDMA_PKT_COPY_T2T_DW_11_dst_slice_pitch_mask 0x003FFFFF
963 #define SDMA_PKT_COPY_T2T_DW_11_dst_slice_pitch_shift 0
964 #define SDMA_PKT_COPY_T2T_DW_11_DST_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_T2T_DW_11_dst_slice_pitch_mask) << SDMA_PKT_COPY_T2T_DW_11_dst_slice_pitch_shift)
965
966
967
968 #define SDMA_PKT_COPY_T2T_DW_12_dst_array_mode_offset 12
969 #define SDMA_PKT_COPY_T2T_DW_12_dst_array_mode_mask 0x0000000F
970 #define SDMA_PKT_COPY_T2T_DW_12_dst_array_mode_shift 3
971 #define SDMA_PKT_COPY_T2T_DW_12_DST_ARRAY_MODE(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_array_mode_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_array_mode_shift)
972
973
974 #define SDMA_PKT_COPY_T2T_DW_12_dst_mit_mode_offset 12
975 #define SDMA_PKT_COPY_T2T_DW_12_dst_mit_mode_mask 0x00000007
976 #define SDMA_PKT_COPY_T2T_DW_12_dst_mit_mode_shift 8
977 #define SDMA_PKT_COPY_T2T_DW_12_DST_MIT_MODE(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_mit_mode_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_mit_mode_shift)
978
979
980 #define SDMA_PKT_COPY_T2T_DW_12_dst_tilesplit_size_offset 12
981 #define SDMA_PKT_COPY_T2T_DW_12_dst_tilesplit_size_mask 0x00000007
982 #define SDMA_PKT_COPY_T2T_DW_12_dst_tilesplit_size_shift 11
983 #define SDMA_PKT_COPY_T2T_DW_12_DST_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_tilesplit_size_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_tilesplit_size_shift)
984
985
986 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_w_offset 12
987 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_w_mask 0x00000003
988 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_w_shift 15
989 #define SDMA_PKT_COPY_T2T_DW_12_DST_BANK_W(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_bank_w_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_bank_w_shift)
990
991
992 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_h_offset 12
993 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_h_mask 0x00000003
994 #define SDMA_PKT_COPY_T2T_DW_12_dst_bank_h_shift 18
995 #define SDMA_PKT_COPY_T2T_DW_12_DST_BANK_H(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_bank_h_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_bank_h_shift)
996
997
998 #define SDMA_PKT_COPY_T2T_DW_12_dst_num_bank_offset 12
999 #define SDMA_PKT_COPY_T2T_DW_12_dst_num_bank_mask 0x00000003
1000 #define SDMA_PKT_COPY_T2T_DW_12_dst_num_bank_shift 21
1001 #define SDMA_PKT_COPY_T2T_DW_12_DST_NUM_BANK(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_num_bank_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_num_bank_shift)
1002
1003
1004 #define SDMA_PKT_COPY_T2T_DW_12_dst_mat_aspt_offset 12
1005 #define SDMA_PKT_COPY_T2T_DW_12_dst_mat_aspt_mask 0x00000003
1006 #define SDMA_PKT_COPY_T2T_DW_12_dst_mat_aspt_shift 24
1007 #define SDMA_PKT_COPY_T2T_DW_12_DST_MAT_ASPT(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_mat_aspt_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_mat_aspt_shift)
1008
1009
1010 #define SDMA_PKT_COPY_T2T_DW_12_dst_pipe_config_offset 12
1011 #define SDMA_PKT_COPY_T2T_DW_12_dst_pipe_config_mask 0x0000001F
1012 #define SDMA_PKT_COPY_T2T_DW_12_dst_pipe_config_shift 26
1013 #define SDMA_PKT_COPY_T2T_DW_12_DST_PIPE_CONFIG(x) (((x) & SDMA_PKT_COPY_T2T_DW_12_dst_pipe_config_mask) << SDMA_PKT_COPY_T2T_DW_12_dst_pipe_config_shift)
1014
1015
1016
1017 #define SDMA_PKT_COPY_T2T_DW_13_rect_x_offset 13
1018 #define SDMA_PKT_COPY_T2T_DW_13_rect_x_mask 0x00003FFF
1019 #define SDMA_PKT_COPY_T2T_DW_13_rect_x_shift 0
1020 #define SDMA_PKT_COPY_T2T_DW_13_RECT_X(x) (((x) & SDMA_PKT_COPY_T2T_DW_13_rect_x_mask) << SDMA_PKT_COPY_T2T_DW_13_rect_x_shift)
1021
1022
1023 #define SDMA_PKT_COPY_T2T_DW_13_rect_y_offset 13
1024 #define SDMA_PKT_COPY_T2T_DW_13_rect_y_mask 0x00003FFF
1025 #define SDMA_PKT_COPY_T2T_DW_13_rect_y_shift 16
1026 #define SDMA_PKT_COPY_T2T_DW_13_RECT_Y(x) (((x) & SDMA_PKT_COPY_T2T_DW_13_rect_y_mask) << SDMA_PKT_COPY_T2T_DW_13_rect_y_shift)
1027
1028
1029
1030 #define SDMA_PKT_COPY_T2T_DW_14_rect_z_offset 14
1031 #define SDMA_PKT_COPY_T2T_DW_14_rect_z_mask 0x000007FF
1032 #define SDMA_PKT_COPY_T2T_DW_14_rect_z_shift 0
1033 #define SDMA_PKT_COPY_T2T_DW_14_RECT_Z(x) (((x) & SDMA_PKT_COPY_T2T_DW_14_rect_z_mask) << SDMA_PKT_COPY_T2T_DW_14_rect_z_shift)
1034
1035
1036 #define SDMA_PKT_COPY_T2T_DW_14_dst_sw_offset 14
1037 #define SDMA_PKT_COPY_T2T_DW_14_dst_sw_mask 0x00000003
1038 #define SDMA_PKT_COPY_T2T_DW_14_dst_sw_shift 16
1039 #define SDMA_PKT_COPY_T2T_DW_14_DST_SW(x) (((x) & SDMA_PKT_COPY_T2T_DW_14_dst_sw_mask) << SDMA_PKT_COPY_T2T_DW_14_dst_sw_shift)
1040
1041
1042 #define SDMA_PKT_COPY_T2T_DW_14_src_sw_offset 14
1043 #define SDMA_PKT_COPY_T2T_DW_14_src_sw_mask 0x00000003
1044 #define SDMA_PKT_COPY_T2T_DW_14_src_sw_shift 24
1045 #define SDMA_PKT_COPY_T2T_DW_14_SRC_SW(x) (((x) & SDMA_PKT_COPY_T2T_DW_14_src_sw_mask) << SDMA_PKT_COPY_T2T_DW_14_src_sw_shift)
1046
1047
1048
1049
1050
1051
1052
1053
1054 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_op_offset 0
1055 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_op_mask 0x000000FF
1056 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_op_shift 0
1057 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_OP(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_HEADER_op_mask) << SDMA_PKT_COPY_TILED_SUBWIN_HEADER_op_shift)
1058
1059
1060 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_sub_op_offset 0
1061 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_sub_op_mask 0x000000FF
1062 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_sub_op_shift 8
1063 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_HEADER_sub_op_mask) << SDMA_PKT_COPY_TILED_SUBWIN_HEADER_sub_op_shift)
1064
1065
1066 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_detile_offset 0
1067 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_detile_mask 0x00000001
1068 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_detile_shift 31
1069 #define SDMA_PKT_COPY_TILED_SUBWIN_HEADER_DETILE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_HEADER_detile_mask) << SDMA_PKT_COPY_TILED_SUBWIN_HEADER_detile_shift)
1070
1071
1072
1073 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_tiled_addr_31_0_offset 1
1074 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_tiled_addr_31_0_mask 0xFFFFFFFF
1075 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_tiled_addr_31_0_shift 0
1076 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_TILED_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_tiled_addr_31_0_mask) << SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_LO_tiled_addr_31_0_shift)
1077
1078
1079
1080 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_tiled_addr_63_32_offset 2
1081 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_tiled_addr_63_32_mask 0xFFFFFFFF
1082 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_tiled_addr_63_32_shift 0
1083 #define SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_TILED_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_tiled_addr_63_32_mask) << SDMA_PKT_COPY_TILED_SUBWIN_TILED_ADDR_HI_tiled_addr_63_32_shift)
1084
1085
1086
1087 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_x_offset 3
1088 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_x_mask 0x00003FFF
1089 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_x_shift 0
1090 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_TILED_X(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_x_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_x_shift)
1091
1092
1093 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_y_offset 3
1094 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_y_mask 0x00003FFF
1095 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_y_shift 16
1096 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_3_TILED_Y(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_y_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_3_tiled_y_shift)
1097
1098
1099
1100 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_tiled_z_offset 4
1101 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_tiled_z_mask 0x000007FF
1102 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_tiled_z_shift 0
1103 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_TILED_Z(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_4_tiled_z_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_4_tiled_z_shift)
1104
1105
1106 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_pitch_in_tile_offset 4
1107 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_pitch_in_tile_mask 0x00000FFF
1108 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_pitch_in_tile_shift 16
1109 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_4_PITCH_IN_TILE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_4_pitch_in_tile_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_4_pitch_in_tile_shift)
1110
1111
1112
1113 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_5_slice_pitch_offset 5
1114 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_5_slice_pitch_mask 0x003FFFFF
1115 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_5_slice_pitch_shift 0
1116 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_5_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_5_slice_pitch_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_5_slice_pitch_shift)
1117
1118
1119
1120 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_element_size_offset 6
1121 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_element_size_mask 0x00000007
1122 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_element_size_shift 0
1123 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_ELEMENT_SIZE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_element_size_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_element_size_shift)
1124
1125
1126 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_array_mode_offset 6
1127 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_array_mode_mask 0x0000000F
1128 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_array_mode_shift 3
1129 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_ARRAY_MODE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_array_mode_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_array_mode_shift)
1130
1131
1132 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mit_mode_offset 6
1133 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mit_mode_mask 0x00000007
1134 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mit_mode_shift 8
1135 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_MIT_MODE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mit_mode_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mit_mode_shift)
1136
1137
1138 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_tilesplit_size_offset 6
1139 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_tilesplit_size_mask 0x00000007
1140 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_tilesplit_size_shift 11
1141 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_tilesplit_size_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_tilesplit_size_shift)
1142
1143
1144 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_w_offset 6
1145 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_w_mask 0x00000003
1146 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_w_shift 15
1147 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_BANK_W(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_w_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_w_shift)
1148
1149
1150 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_h_offset 6
1151 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_h_mask 0x00000003
1152 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_h_shift 18
1153 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_BANK_H(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_h_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_bank_h_shift)
1154
1155
1156 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_num_bank_offset 6
1157 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_num_bank_mask 0x00000003
1158 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_num_bank_shift 21
1159 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_NUM_BANK(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_num_bank_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_num_bank_shift)
1160
1161
1162 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mat_aspt_offset 6
1163 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mat_aspt_mask 0x00000003
1164 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mat_aspt_shift 24
1165 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_MAT_ASPT(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mat_aspt_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_mat_aspt_shift)
1166
1167
1168 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_pipe_config_offset 6
1169 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_pipe_config_mask 0x0000001F
1170 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_pipe_config_shift 26
1171 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_6_PIPE_CONFIG(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_6_pipe_config_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_6_pipe_config_shift)
1172
1173
1174
1175 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_linear_addr_31_0_offset 7
1176 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_linear_addr_31_0_mask 0xFFFFFFFF
1177 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_linear_addr_31_0_shift 0
1178 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_LINEAR_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_linear_addr_31_0_mask) << SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_LO_linear_addr_31_0_shift)
1179
1180
1181
1182 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_linear_addr_63_32_offset 8
1183 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_linear_addr_63_32_mask 0xFFFFFFFF
1184 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_linear_addr_63_32_shift 0
1185 #define SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_LINEAR_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_linear_addr_63_32_mask) << SDMA_PKT_COPY_TILED_SUBWIN_LINEAR_ADDR_HI_linear_addr_63_32_shift)
1186
1187
1188
1189 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_x_offset 9
1190 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_x_mask 0x00003FFF
1191 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_x_shift 0
1192 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_LINEAR_X(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_x_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_x_shift)
1193
1194
1195 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_y_offset 9
1196 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_y_mask 0x00003FFF
1197 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_y_shift 16
1198 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_9_LINEAR_Y(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_y_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_9_linear_y_shift)
1199
1200
1201
1202 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_z_offset 10
1203 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_z_mask 0x000007FF
1204 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_z_shift 0
1205 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_LINEAR_Z(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_z_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_z_shift)
1206
1207
1208 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_pitch_offset 10
1209 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_pitch_mask 0x00003FFF
1210 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_pitch_shift 16
1211 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_10_LINEAR_PITCH(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_pitch_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_10_linear_pitch_shift)
1212
1213
1214
1215 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_11_linear_slice_pitch_offset 11
1216 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_11_linear_slice_pitch_mask 0x0FFFFFFF
1217 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_11_linear_slice_pitch_shift 0
1218 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_11_LINEAR_SLICE_PITCH(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_11_linear_slice_pitch_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_11_linear_slice_pitch_shift)
1219
1220
1221
1222 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_x_offset 12
1223 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_x_mask 0x00003FFF
1224 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_x_shift 0
1225 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_RECT_X(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_x_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_x_shift)
1226
1227
1228 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_y_offset 12
1229 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_y_mask 0x00003FFF
1230 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_y_shift 16
1231 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_12_RECT_Y(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_y_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_12_rect_y_shift)
1232
1233
1234
1235 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_rect_z_offset 13
1236 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_rect_z_mask 0x000007FF
1237 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_rect_z_shift 0
1238 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_RECT_Z(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_13_rect_z_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_13_rect_z_shift)
1239
1240
1241 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_linear_sw_offset 13
1242 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_linear_sw_mask 0x00000003
1243 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_linear_sw_shift 16
1244 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_LINEAR_SW(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_13_linear_sw_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_13_linear_sw_shift)
1245
1246
1247 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_tile_sw_offset 13
1248 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_tile_sw_mask 0x00000003
1249 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_tile_sw_shift 24
1250 #define SDMA_PKT_COPY_TILED_SUBWIN_DW_13_TILE_SW(x) (((x) & SDMA_PKT_COPY_TILED_SUBWIN_DW_13_tile_sw_mask) << SDMA_PKT_COPY_TILED_SUBWIN_DW_13_tile_sw_shift)
1251
1252
1253
1254
1255
1256
1257
1258
1259 #define SDMA_PKT_COPY_STRUCT_HEADER_op_offset 0
1260 #define SDMA_PKT_COPY_STRUCT_HEADER_op_mask 0x000000FF
1261 #define SDMA_PKT_COPY_STRUCT_HEADER_op_shift 0
1262 #define SDMA_PKT_COPY_STRUCT_HEADER_OP(x) (((x) & SDMA_PKT_COPY_STRUCT_HEADER_op_mask) << SDMA_PKT_COPY_STRUCT_HEADER_op_shift)
1263
1264
1265 #define SDMA_PKT_COPY_STRUCT_HEADER_sub_op_offset 0
1266 #define SDMA_PKT_COPY_STRUCT_HEADER_sub_op_mask 0x000000FF
1267 #define SDMA_PKT_COPY_STRUCT_HEADER_sub_op_shift 8
1268 #define SDMA_PKT_COPY_STRUCT_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COPY_STRUCT_HEADER_sub_op_mask) << SDMA_PKT_COPY_STRUCT_HEADER_sub_op_shift)
1269
1270
1271 #define SDMA_PKT_COPY_STRUCT_HEADER_detile_offset 0
1272 #define SDMA_PKT_COPY_STRUCT_HEADER_detile_mask 0x00000001
1273 #define SDMA_PKT_COPY_STRUCT_HEADER_detile_shift 31
1274 #define SDMA_PKT_COPY_STRUCT_HEADER_DETILE(x) (((x) & SDMA_PKT_COPY_STRUCT_HEADER_detile_mask) << SDMA_PKT_COPY_STRUCT_HEADER_detile_shift)
1275
1276
1277
1278 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_sb_addr_31_0_offset 1
1279 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_sb_addr_31_0_mask 0xFFFFFFFF
1280 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_sb_addr_31_0_shift 0
1281 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_SB_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_sb_addr_31_0_mask) << SDMA_PKT_COPY_STRUCT_SB_ADDR_LO_sb_addr_31_0_shift)
1282
1283
1284
1285 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_sb_addr_63_32_offset 2
1286 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_sb_addr_63_32_mask 0xFFFFFFFF
1287 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_sb_addr_63_32_shift 0
1288 #define SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_SB_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_sb_addr_63_32_mask) << SDMA_PKT_COPY_STRUCT_SB_ADDR_HI_sb_addr_63_32_shift)
1289
1290
1291
1292 #define SDMA_PKT_COPY_STRUCT_START_INDEX_start_index_offset 3
1293 #define SDMA_PKT_COPY_STRUCT_START_INDEX_start_index_mask 0xFFFFFFFF
1294 #define SDMA_PKT_COPY_STRUCT_START_INDEX_start_index_shift 0
1295 #define SDMA_PKT_COPY_STRUCT_START_INDEX_START_INDEX(x) (((x) & SDMA_PKT_COPY_STRUCT_START_INDEX_start_index_mask) << SDMA_PKT_COPY_STRUCT_START_INDEX_start_index_shift)
1296
1297
1298
1299 #define SDMA_PKT_COPY_STRUCT_COUNT_count_offset 4
1300 #define SDMA_PKT_COPY_STRUCT_COUNT_count_mask 0xFFFFFFFF
1301 #define SDMA_PKT_COPY_STRUCT_COUNT_count_shift 0
1302 #define SDMA_PKT_COPY_STRUCT_COUNT_COUNT(x) (((x) & SDMA_PKT_COPY_STRUCT_COUNT_count_mask) << SDMA_PKT_COPY_STRUCT_COUNT_count_shift)
1303
1304
1305
1306 #define SDMA_PKT_COPY_STRUCT_DW_5_stride_offset 5
1307 #define SDMA_PKT_COPY_STRUCT_DW_5_stride_mask 0x000007FF
1308 #define SDMA_PKT_COPY_STRUCT_DW_5_stride_shift 0
1309 #define SDMA_PKT_COPY_STRUCT_DW_5_STRIDE(x) (((x) & SDMA_PKT_COPY_STRUCT_DW_5_stride_mask) << SDMA_PKT_COPY_STRUCT_DW_5_stride_shift)
1310
1311
1312 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_sw_offset 5
1313 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_sw_mask 0x00000003
1314 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_sw_shift 16
1315 #define SDMA_PKT_COPY_STRUCT_DW_5_STRUCT_SW(x) (((x) & SDMA_PKT_COPY_STRUCT_DW_5_struct_sw_mask) << SDMA_PKT_COPY_STRUCT_DW_5_struct_sw_shift)
1316
1317
1318 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_ha_offset 5
1319 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_ha_mask 0x00000001
1320 #define SDMA_PKT_COPY_STRUCT_DW_5_struct_ha_shift 22
1321 #define SDMA_PKT_COPY_STRUCT_DW_5_STRUCT_HA(x) (((x) & SDMA_PKT_COPY_STRUCT_DW_5_struct_ha_mask) << SDMA_PKT_COPY_STRUCT_DW_5_struct_ha_shift)
1322
1323
1324 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_sw_offset 5
1325 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_sw_mask 0x00000003
1326 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_sw_shift 24
1327 #define SDMA_PKT_COPY_STRUCT_DW_5_LINEAR_SW(x) (((x) & SDMA_PKT_COPY_STRUCT_DW_5_linear_sw_mask) << SDMA_PKT_COPY_STRUCT_DW_5_linear_sw_shift)
1328
1329
1330 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_ha_offset 5
1331 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_ha_mask 0x00000001
1332 #define SDMA_PKT_COPY_STRUCT_DW_5_linear_ha_shift 30
1333 #define SDMA_PKT_COPY_STRUCT_DW_5_LINEAR_HA(x) (((x) & SDMA_PKT_COPY_STRUCT_DW_5_linear_ha_mask) << SDMA_PKT_COPY_STRUCT_DW_5_linear_ha_shift)
1334
1335
1336
1337 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_linear_addr_31_0_offset 6
1338 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_linear_addr_31_0_mask 0xFFFFFFFF
1339 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_linear_addr_31_0_shift 0
1340 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_LINEAR_ADDR_31_0(x) (((x) & SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_linear_addr_31_0_mask) << SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_LO_linear_addr_31_0_shift)
1341
1342
1343
1344 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_linear_addr_63_32_offset 7
1345 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_linear_addr_63_32_mask 0xFFFFFFFF
1346 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_linear_addr_63_32_shift 0
1347 #define SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_LINEAR_ADDR_63_32(x) (((x) & SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_linear_addr_63_32_mask) << SDMA_PKT_COPY_STRUCT_LINEAR_ADDR_HI_linear_addr_63_32_shift)
1348
1349
1350
1351
1352
1353
1354
1355
1356 #define SDMA_PKT_WRITE_UNTILED_HEADER_op_offset 0
1357 #define SDMA_PKT_WRITE_UNTILED_HEADER_op_mask 0x000000FF
1358 #define SDMA_PKT_WRITE_UNTILED_HEADER_op_shift 0
1359 #define SDMA_PKT_WRITE_UNTILED_HEADER_OP(x) (((x) & SDMA_PKT_WRITE_UNTILED_HEADER_op_mask) << SDMA_PKT_WRITE_UNTILED_HEADER_op_shift)
1360
1361
1362 #define SDMA_PKT_WRITE_UNTILED_HEADER_sub_op_offset 0
1363 #define SDMA_PKT_WRITE_UNTILED_HEADER_sub_op_mask 0x000000FF
1364 #define SDMA_PKT_WRITE_UNTILED_HEADER_sub_op_shift 8
1365 #define SDMA_PKT_WRITE_UNTILED_HEADER_SUB_OP(x) (((x) & SDMA_PKT_WRITE_UNTILED_HEADER_sub_op_mask) << SDMA_PKT_WRITE_UNTILED_HEADER_sub_op_shift)
1366
1367
1368
1369 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_dst_addr_31_0_offset 1
1370 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
1371 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_dst_addr_31_0_shift 0
1372 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_WRITE_UNTILED_DST_ADDR_LO_dst_addr_31_0_shift)
1373
1374
1375
1376 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_dst_addr_63_32_offset 2
1377 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
1378 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_dst_addr_63_32_shift 0
1379 #define SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_WRITE_UNTILED_DST_ADDR_HI_dst_addr_63_32_shift)
1380
1381
1382
1383 #define SDMA_PKT_WRITE_UNTILED_DW_3_count_offset 3
1384 #define SDMA_PKT_WRITE_UNTILED_DW_3_count_mask 0x003FFFFF
1385 #define SDMA_PKT_WRITE_UNTILED_DW_3_count_shift 0
1386 #define SDMA_PKT_WRITE_UNTILED_DW_3_COUNT(x) (((x) & SDMA_PKT_WRITE_UNTILED_DW_3_count_mask) << SDMA_PKT_WRITE_UNTILED_DW_3_count_shift)
1387
1388
1389 #define SDMA_PKT_WRITE_UNTILED_DW_3_sw_offset 3
1390 #define SDMA_PKT_WRITE_UNTILED_DW_3_sw_mask 0x00000003
1391 #define SDMA_PKT_WRITE_UNTILED_DW_3_sw_shift 24
1392 #define SDMA_PKT_WRITE_UNTILED_DW_3_SW(x) (((x) & SDMA_PKT_WRITE_UNTILED_DW_3_sw_mask) << SDMA_PKT_WRITE_UNTILED_DW_3_sw_shift)
1393
1394
1395
1396 #define SDMA_PKT_WRITE_UNTILED_DATA0_data0_offset 4
1397 #define SDMA_PKT_WRITE_UNTILED_DATA0_data0_mask 0xFFFFFFFF
1398 #define SDMA_PKT_WRITE_UNTILED_DATA0_data0_shift 0
1399 #define SDMA_PKT_WRITE_UNTILED_DATA0_DATA0(x) (((x) & SDMA_PKT_WRITE_UNTILED_DATA0_data0_mask) << SDMA_PKT_WRITE_UNTILED_DATA0_data0_shift)
1400
1401
1402
1403
1404
1405
1406
1407
1408 #define SDMA_PKT_WRITE_TILED_HEADER_op_offset 0
1409 #define SDMA_PKT_WRITE_TILED_HEADER_op_mask 0x000000FF
1410 #define SDMA_PKT_WRITE_TILED_HEADER_op_shift 0
1411 #define SDMA_PKT_WRITE_TILED_HEADER_OP(x) (((x) & SDMA_PKT_WRITE_TILED_HEADER_op_mask) << SDMA_PKT_WRITE_TILED_HEADER_op_shift)
1412
1413
1414 #define SDMA_PKT_WRITE_TILED_HEADER_sub_op_offset 0
1415 #define SDMA_PKT_WRITE_TILED_HEADER_sub_op_mask 0x000000FF
1416 #define SDMA_PKT_WRITE_TILED_HEADER_sub_op_shift 8
1417 #define SDMA_PKT_WRITE_TILED_HEADER_SUB_OP(x) (((x) & SDMA_PKT_WRITE_TILED_HEADER_sub_op_mask) << SDMA_PKT_WRITE_TILED_HEADER_sub_op_shift)
1418
1419
1420
1421 #define SDMA_PKT_WRITE_TILED_DST_ADDR_LO_dst_addr_31_0_offset 1
1422 #define SDMA_PKT_WRITE_TILED_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
1423 #define SDMA_PKT_WRITE_TILED_DST_ADDR_LO_dst_addr_31_0_shift 0
1424 #define SDMA_PKT_WRITE_TILED_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_WRITE_TILED_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_WRITE_TILED_DST_ADDR_LO_dst_addr_31_0_shift)
1425
1426
1427
1428 #define SDMA_PKT_WRITE_TILED_DST_ADDR_HI_dst_addr_63_32_offset 2
1429 #define SDMA_PKT_WRITE_TILED_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
1430 #define SDMA_PKT_WRITE_TILED_DST_ADDR_HI_dst_addr_63_32_shift 0
1431 #define SDMA_PKT_WRITE_TILED_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_WRITE_TILED_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_WRITE_TILED_DST_ADDR_HI_dst_addr_63_32_shift)
1432
1433
1434
1435 #define SDMA_PKT_WRITE_TILED_DW_3_pitch_in_tile_offset 3
1436 #define SDMA_PKT_WRITE_TILED_DW_3_pitch_in_tile_mask 0x000007FF
1437 #define SDMA_PKT_WRITE_TILED_DW_3_pitch_in_tile_shift 0
1438 #define SDMA_PKT_WRITE_TILED_DW_3_PITCH_IN_TILE(x) (((x) & SDMA_PKT_WRITE_TILED_DW_3_pitch_in_tile_mask) << SDMA_PKT_WRITE_TILED_DW_3_pitch_in_tile_shift)
1439
1440
1441 #define SDMA_PKT_WRITE_TILED_DW_3_height_offset 3
1442 #define SDMA_PKT_WRITE_TILED_DW_3_height_mask 0x00003FFF
1443 #define SDMA_PKT_WRITE_TILED_DW_3_height_shift 16
1444 #define SDMA_PKT_WRITE_TILED_DW_3_HEIGHT(x) (((x) & SDMA_PKT_WRITE_TILED_DW_3_height_mask) << SDMA_PKT_WRITE_TILED_DW_3_height_shift)
1445
1446
1447
1448 #define SDMA_PKT_WRITE_TILED_DW_4_slice_pitch_offset 4
1449 #define SDMA_PKT_WRITE_TILED_DW_4_slice_pitch_mask 0x003FFFFF
1450 #define SDMA_PKT_WRITE_TILED_DW_4_slice_pitch_shift 0
1451 #define SDMA_PKT_WRITE_TILED_DW_4_SLICE_PITCH(x) (((x) & SDMA_PKT_WRITE_TILED_DW_4_slice_pitch_mask) << SDMA_PKT_WRITE_TILED_DW_4_slice_pitch_shift)
1452
1453
1454
1455 #define SDMA_PKT_WRITE_TILED_DW_5_element_size_offset 5
1456 #define SDMA_PKT_WRITE_TILED_DW_5_element_size_mask 0x00000007
1457 #define SDMA_PKT_WRITE_TILED_DW_5_element_size_shift 0
1458 #define SDMA_PKT_WRITE_TILED_DW_5_ELEMENT_SIZE(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_element_size_mask) << SDMA_PKT_WRITE_TILED_DW_5_element_size_shift)
1459
1460
1461 #define SDMA_PKT_WRITE_TILED_DW_5_array_mode_offset 5
1462 #define SDMA_PKT_WRITE_TILED_DW_5_array_mode_mask 0x0000000F
1463 #define SDMA_PKT_WRITE_TILED_DW_5_array_mode_shift 3
1464 #define SDMA_PKT_WRITE_TILED_DW_5_ARRAY_MODE(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_array_mode_mask) << SDMA_PKT_WRITE_TILED_DW_5_array_mode_shift)
1465
1466
1467 #define SDMA_PKT_WRITE_TILED_DW_5_mit_mode_offset 5
1468 #define SDMA_PKT_WRITE_TILED_DW_5_mit_mode_mask 0x00000007
1469 #define SDMA_PKT_WRITE_TILED_DW_5_mit_mode_shift 8
1470 #define SDMA_PKT_WRITE_TILED_DW_5_MIT_MODE(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_mit_mode_mask) << SDMA_PKT_WRITE_TILED_DW_5_mit_mode_shift)
1471
1472
1473 #define SDMA_PKT_WRITE_TILED_DW_5_tilesplit_size_offset 5
1474 #define SDMA_PKT_WRITE_TILED_DW_5_tilesplit_size_mask 0x00000007
1475 #define SDMA_PKT_WRITE_TILED_DW_5_tilesplit_size_shift 11
1476 #define SDMA_PKT_WRITE_TILED_DW_5_TILESPLIT_SIZE(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_tilesplit_size_mask) << SDMA_PKT_WRITE_TILED_DW_5_tilesplit_size_shift)
1477
1478
1479 #define SDMA_PKT_WRITE_TILED_DW_5_bank_w_offset 5
1480 #define SDMA_PKT_WRITE_TILED_DW_5_bank_w_mask 0x00000003
1481 #define SDMA_PKT_WRITE_TILED_DW_5_bank_w_shift 15
1482 #define SDMA_PKT_WRITE_TILED_DW_5_BANK_W(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_bank_w_mask) << SDMA_PKT_WRITE_TILED_DW_5_bank_w_shift)
1483
1484
1485 #define SDMA_PKT_WRITE_TILED_DW_5_bank_h_offset 5
1486 #define SDMA_PKT_WRITE_TILED_DW_5_bank_h_mask 0x00000003
1487 #define SDMA_PKT_WRITE_TILED_DW_5_bank_h_shift 18
1488 #define SDMA_PKT_WRITE_TILED_DW_5_BANK_H(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_bank_h_mask) << SDMA_PKT_WRITE_TILED_DW_5_bank_h_shift)
1489
1490
1491 #define SDMA_PKT_WRITE_TILED_DW_5_num_bank_offset 5
1492 #define SDMA_PKT_WRITE_TILED_DW_5_num_bank_mask 0x00000003
1493 #define SDMA_PKT_WRITE_TILED_DW_5_num_bank_shift 21
1494 #define SDMA_PKT_WRITE_TILED_DW_5_NUM_BANK(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_num_bank_mask) << SDMA_PKT_WRITE_TILED_DW_5_num_bank_shift)
1495
1496
1497 #define SDMA_PKT_WRITE_TILED_DW_5_mat_aspt_offset 5
1498 #define SDMA_PKT_WRITE_TILED_DW_5_mat_aspt_mask 0x00000003
1499 #define SDMA_PKT_WRITE_TILED_DW_5_mat_aspt_shift 24
1500 #define SDMA_PKT_WRITE_TILED_DW_5_MAT_ASPT(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_mat_aspt_mask) << SDMA_PKT_WRITE_TILED_DW_5_mat_aspt_shift)
1501
1502
1503 #define SDMA_PKT_WRITE_TILED_DW_5_pipe_config_offset 5
1504 #define SDMA_PKT_WRITE_TILED_DW_5_pipe_config_mask 0x0000001F
1505 #define SDMA_PKT_WRITE_TILED_DW_5_pipe_config_shift 26
1506 #define SDMA_PKT_WRITE_TILED_DW_5_PIPE_CONFIG(x) (((x) & SDMA_PKT_WRITE_TILED_DW_5_pipe_config_mask) << SDMA_PKT_WRITE_TILED_DW_5_pipe_config_shift)
1507
1508
1509
1510 #define SDMA_PKT_WRITE_TILED_DW_6_x_offset 6
1511 #define SDMA_PKT_WRITE_TILED_DW_6_x_mask 0x00003FFF
1512 #define SDMA_PKT_WRITE_TILED_DW_6_x_shift 0
1513 #define SDMA_PKT_WRITE_TILED_DW_6_X(x) (((x) & SDMA_PKT_WRITE_TILED_DW_6_x_mask) << SDMA_PKT_WRITE_TILED_DW_6_x_shift)
1514
1515
1516 #define SDMA_PKT_WRITE_TILED_DW_6_y_offset 6
1517 #define SDMA_PKT_WRITE_TILED_DW_6_y_mask 0x00003FFF
1518 #define SDMA_PKT_WRITE_TILED_DW_6_y_shift 16
1519 #define SDMA_PKT_WRITE_TILED_DW_6_Y(x) (((x) & SDMA_PKT_WRITE_TILED_DW_6_y_mask) << SDMA_PKT_WRITE_TILED_DW_6_y_shift)
1520
1521
1522
1523 #define SDMA_PKT_WRITE_TILED_DW_7_z_offset 7
1524 #define SDMA_PKT_WRITE_TILED_DW_7_z_mask 0x00000FFF
1525 #define SDMA_PKT_WRITE_TILED_DW_7_z_shift 0
1526 #define SDMA_PKT_WRITE_TILED_DW_7_Z(x) (((x) & SDMA_PKT_WRITE_TILED_DW_7_z_mask) << SDMA_PKT_WRITE_TILED_DW_7_z_shift)
1527
1528
1529 #define SDMA_PKT_WRITE_TILED_DW_7_sw_offset 7
1530 #define SDMA_PKT_WRITE_TILED_DW_7_sw_mask 0x00000003
1531 #define SDMA_PKT_WRITE_TILED_DW_7_sw_shift 24
1532 #define SDMA_PKT_WRITE_TILED_DW_7_SW(x) (((x) & SDMA_PKT_WRITE_TILED_DW_7_sw_mask) << SDMA_PKT_WRITE_TILED_DW_7_sw_shift)
1533
1534
1535
1536 #define SDMA_PKT_WRITE_TILED_COUNT_count_offset 8
1537 #define SDMA_PKT_WRITE_TILED_COUNT_count_mask 0x003FFFFF
1538 #define SDMA_PKT_WRITE_TILED_COUNT_count_shift 0
1539 #define SDMA_PKT_WRITE_TILED_COUNT_COUNT(x) (((x) & SDMA_PKT_WRITE_TILED_COUNT_count_mask) << SDMA_PKT_WRITE_TILED_COUNT_count_shift)
1540
1541
1542
1543 #define SDMA_PKT_WRITE_TILED_DATA0_data0_offset 9
1544 #define SDMA_PKT_WRITE_TILED_DATA0_data0_mask 0xFFFFFFFF
1545 #define SDMA_PKT_WRITE_TILED_DATA0_data0_shift 0
1546 #define SDMA_PKT_WRITE_TILED_DATA0_DATA0(x) (((x) & SDMA_PKT_WRITE_TILED_DATA0_data0_mask) << SDMA_PKT_WRITE_TILED_DATA0_data0_shift)
1547
1548
1549
1550
1551
1552
1553
1554
1555 #define SDMA_PKT_WRITE_INCR_HEADER_op_offset 0
1556 #define SDMA_PKT_WRITE_INCR_HEADER_op_mask 0x000000FF
1557 #define SDMA_PKT_WRITE_INCR_HEADER_op_shift 0
1558 #define SDMA_PKT_WRITE_INCR_HEADER_OP(x) (((x) & SDMA_PKT_WRITE_INCR_HEADER_op_mask) << SDMA_PKT_WRITE_INCR_HEADER_op_shift)
1559
1560
1561 #define SDMA_PKT_WRITE_INCR_HEADER_sub_op_offset 0
1562 #define SDMA_PKT_WRITE_INCR_HEADER_sub_op_mask 0x000000FF
1563 #define SDMA_PKT_WRITE_INCR_HEADER_sub_op_shift 8
1564 #define SDMA_PKT_WRITE_INCR_HEADER_SUB_OP(x) (((x) & SDMA_PKT_WRITE_INCR_HEADER_sub_op_mask) << SDMA_PKT_WRITE_INCR_HEADER_sub_op_shift)
1565
1566
1567
1568 #define SDMA_PKT_WRITE_INCR_DST_ADDR_LO_dst_addr_31_0_offset 1
1569 #define SDMA_PKT_WRITE_INCR_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
1570 #define SDMA_PKT_WRITE_INCR_DST_ADDR_LO_dst_addr_31_0_shift 0
1571 #define SDMA_PKT_WRITE_INCR_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_WRITE_INCR_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_WRITE_INCR_DST_ADDR_LO_dst_addr_31_0_shift)
1572
1573
1574
1575 #define SDMA_PKT_WRITE_INCR_DST_ADDR_HI_dst_addr_63_32_offset 2
1576 #define SDMA_PKT_WRITE_INCR_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
1577 #define SDMA_PKT_WRITE_INCR_DST_ADDR_HI_dst_addr_63_32_shift 0
1578 #define SDMA_PKT_WRITE_INCR_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_WRITE_INCR_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_WRITE_INCR_DST_ADDR_HI_dst_addr_63_32_shift)
1579
1580
1581
1582 #define SDMA_PKT_WRITE_INCR_MASK_DW0_mask_dw0_offset 3
1583 #define SDMA_PKT_WRITE_INCR_MASK_DW0_mask_dw0_mask 0xFFFFFFFF
1584 #define SDMA_PKT_WRITE_INCR_MASK_DW0_mask_dw0_shift 0
1585 #define SDMA_PKT_WRITE_INCR_MASK_DW0_MASK_DW0(x) (((x) & SDMA_PKT_WRITE_INCR_MASK_DW0_mask_dw0_mask) << SDMA_PKT_WRITE_INCR_MASK_DW0_mask_dw0_shift)
1586
1587
1588
1589 #define SDMA_PKT_WRITE_INCR_MASK_DW1_mask_dw1_offset 4
1590 #define SDMA_PKT_WRITE_INCR_MASK_DW1_mask_dw1_mask 0xFFFFFFFF
1591 #define SDMA_PKT_WRITE_INCR_MASK_DW1_mask_dw1_shift 0
1592 #define SDMA_PKT_WRITE_INCR_MASK_DW1_MASK_DW1(x) (((x) & SDMA_PKT_WRITE_INCR_MASK_DW1_mask_dw1_mask) << SDMA_PKT_WRITE_INCR_MASK_DW1_mask_dw1_shift)
1593
1594
1595
1596 #define SDMA_PKT_WRITE_INCR_INIT_DW0_init_dw0_offset 5
1597 #define SDMA_PKT_WRITE_INCR_INIT_DW0_init_dw0_mask 0xFFFFFFFF
1598 #define SDMA_PKT_WRITE_INCR_INIT_DW0_init_dw0_shift 0
1599 #define SDMA_PKT_WRITE_INCR_INIT_DW0_INIT_DW0(x) (((x) & SDMA_PKT_WRITE_INCR_INIT_DW0_init_dw0_mask) << SDMA_PKT_WRITE_INCR_INIT_DW0_init_dw0_shift)
1600
1601
1602
1603 #define SDMA_PKT_WRITE_INCR_INIT_DW1_init_dw1_offset 6
1604 #define SDMA_PKT_WRITE_INCR_INIT_DW1_init_dw1_mask 0xFFFFFFFF
1605 #define SDMA_PKT_WRITE_INCR_INIT_DW1_init_dw1_shift 0
1606 #define SDMA_PKT_WRITE_INCR_INIT_DW1_INIT_DW1(x) (((x) & SDMA_PKT_WRITE_INCR_INIT_DW1_init_dw1_mask) << SDMA_PKT_WRITE_INCR_INIT_DW1_init_dw1_shift)
1607
1608
1609
1610 #define SDMA_PKT_WRITE_INCR_INCR_DW0_incr_dw0_offset 7
1611 #define SDMA_PKT_WRITE_INCR_INCR_DW0_incr_dw0_mask 0xFFFFFFFF
1612 #define SDMA_PKT_WRITE_INCR_INCR_DW0_incr_dw0_shift 0
1613 #define SDMA_PKT_WRITE_INCR_INCR_DW0_INCR_DW0(x) (((x) & SDMA_PKT_WRITE_INCR_INCR_DW0_incr_dw0_mask) << SDMA_PKT_WRITE_INCR_INCR_DW0_incr_dw0_shift)
1614
1615
1616
1617 #define SDMA_PKT_WRITE_INCR_INCR_DW1_incr_dw1_offset 8
1618 #define SDMA_PKT_WRITE_INCR_INCR_DW1_incr_dw1_mask 0xFFFFFFFF
1619 #define SDMA_PKT_WRITE_INCR_INCR_DW1_incr_dw1_shift 0
1620 #define SDMA_PKT_WRITE_INCR_INCR_DW1_INCR_DW1(x) (((x) & SDMA_PKT_WRITE_INCR_INCR_DW1_incr_dw1_mask) << SDMA_PKT_WRITE_INCR_INCR_DW1_incr_dw1_shift)
1621
1622
1623
1624 #define SDMA_PKT_WRITE_INCR_COUNT_count_offset 9
1625 #define SDMA_PKT_WRITE_INCR_COUNT_count_mask 0x0007FFFF
1626 #define SDMA_PKT_WRITE_INCR_COUNT_count_shift 0
1627 #define SDMA_PKT_WRITE_INCR_COUNT_COUNT(x) (((x) & SDMA_PKT_WRITE_INCR_COUNT_count_mask) << SDMA_PKT_WRITE_INCR_COUNT_count_shift)
1628
1629
1630
1631
1632
1633
1634
1635
1636 #define SDMA_PKT_INDIRECT_HEADER_op_offset 0
1637 #define SDMA_PKT_INDIRECT_HEADER_op_mask 0x000000FF
1638 #define SDMA_PKT_INDIRECT_HEADER_op_shift 0
1639 #define SDMA_PKT_INDIRECT_HEADER_OP(x) (((x) & SDMA_PKT_INDIRECT_HEADER_op_mask) << SDMA_PKT_INDIRECT_HEADER_op_shift)
1640
1641
1642 #define SDMA_PKT_INDIRECT_HEADER_sub_op_offset 0
1643 #define SDMA_PKT_INDIRECT_HEADER_sub_op_mask 0x000000FF
1644 #define SDMA_PKT_INDIRECT_HEADER_sub_op_shift 8
1645 #define SDMA_PKT_INDIRECT_HEADER_SUB_OP(x) (((x) & SDMA_PKT_INDIRECT_HEADER_sub_op_mask) << SDMA_PKT_INDIRECT_HEADER_sub_op_shift)
1646
1647
1648 #define SDMA_PKT_INDIRECT_HEADER_vmid_offset 0
1649 #define SDMA_PKT_INDIRECT_HEADER_vmid_mask 0x0000000F
1650 #define SDMA_PKT_INDIRECT_HEADER_vmid_shift 16
1651 #define SDMA_PKT_INDIRECT_HEADER_VMID(x) (((x) & SDMA_PKT_INDIRECT_HEADER_vmid_mask) << SDMA_PKT_INDIRECT_HEADER_vmid_shift)
1652
1653
1654
1655 #define SDMA_PKT_INDIRECT_BASE_LO_ib_base_31_0_offset 1
1656 #define SDMA_PKT_INDIRECT_BASE_LO_ib_base_31_0_mask 0xFFFFFFFF
1657 #define SDMA_PKT_INDIRECT_BASE_LO_ib_base_31_0_shift 0
1658 #define SDMA_PKT_INDIRECT_BASE_LO_IB_BASE_31_0(x) (((x) & SDMA_PKT_INDIRECT_BASE_LO_ib_base_31_0_mask) << SDMA_PKT_INDIRECT_BASE_LO_ib_base_31_0_shift)
1659
1660
1661
1662 #define SDMA_PKT_INDIRECT_BASE_HI_ib_base_63_32_offset 2
1663 #define SDMA_PKT_INDIRECT_BASE_HI_ib_base_63_32_mask 0xFFFFFFFF
1664 #define SDMA_PKT_INDIRECT_BASE_HI_ib_base_63_32_shift 0
1665 #define SDMA_PKT_INDIRECT_BASE_HI_IB_BASE_63_32(x) (((x) & SDMA_PKT_INDIRECT_BASE_HI_ib_base_63_32_mask) << SDMA_PKT_INDIRECT_BASE_HI_ib_base_63_32_shift)
1666
1667
1668
1669 #define SDMA_PKT_INDIRECT_IB_SIZE_ib_size_offset 3
1670 #define SDMA_PKT_INDIRECT_IB_SIZE_ib_size_mask 0x000FFFFF
1671 #define SDMA_PKT_INDIRECT_IB_SIZE_ib_size_shift 0
1672 #define SDMA_PKT_INDIRECT_IB_SIZE_IB_SIZE(x) (((x) & SDMA_PKT_INDIRECT_IB_SIZE_ib_size_mask) << SDMA_PKT_INDIRECT_IB_SIZE_ib_size_shift)
1673
1674
1675
1676 #define SDMA_PKT_INDIRECT_CSA_ADDR_LO_csa_addr_31_0_offset 4
1677 #define SDMA_PKT_INDIRECT_CSA_ADDR_LO_csa_addr_31_0_mask 0xFFFFFFFF
1678 #define SDMA_PKT_INDIRECT_CSA_ADDR_LO_csa_addr_31_0_shift 0
1679 #define SDMA_PKT_INDIRECT_CSA_ADDR_LO_CSA_ADDR_31_0(x) (((x) & SDMA_PKT_INDIRECT_CSA_ADDR_LO_csa_addr_31_0_mask) << SDMA_PKT_INDIRECT_CSA_ADDR_LO_csa_addr_31_0_shift)
1680
1681
1682
1683 #define SDMA_PKT_INDIRECT_CSA_ADDR_HI_csa_addr_63_32_offset 5
1684 #define SDMA_PKT_INDIRECT_CSA_ADDR_HI_csa_addr_63_32_mask 0xFFFFFFFF
1685 #define SDMA_PKT_INDIRECT_CSA_ADDR_HI_csa_addr_63_32_shift 0
1686 #define SDMA_PKT_INDIRECT_CSA_ADDR_HI_CSA_ADDR_63_32(x) (((x) & SDMA_PKT_INDIRECT_CSA_ADDR_HI_csa_addr_63_32_mask) << SDMA_PKT_INDIRECT_CSA_ADDR_HI_csa_addr_63_32_shift)
1687
1688
1689
1690
1691
1692
1693
1694
1695 #define SDMA_PKT_SEMAPHORE_HEADER_op_offset 0
1696 #define SDMA_PKT_SEMAPHORE_HEADER_op_mask 0x000000FF
1697 #define SDMA_PKT_SEMAPHORE_HEADER_op_shift 0
1698 #define SDMA_PKT_SEMAPHORE_HEADER_OP(x) (((x) & SDMA_PKT_SEMAPHORE_HEADER_op_mask) << SDMA_PKT_SEMAPHORE_HEADER_op_shift)
1699
1700
1701 #define SDMA_PKT_SEMAPHORE_HEADER_sub_op_offset 0
1702 #define SDMA_PKT_SEMAPHORE_HEADER_sub_op_mask 0x000000FF
1703 #define SDMA_PKT_SEMAPHORE_HEADER_sub_op_shift 8
1704 #define SDMA_PKT_SEMAPHORE_HEADER_SUB_OP(x) (((x) & SDMA_PKT_SEMAPHORE_HEADER_sub_op_mask) << SDMA_PKT_SEMAPHORE_HEADER_sub_op_shift)
1705
1706
1707 #define SDMA_PKT_SEMAPHORE_HEADER_write_one_offset 0
1708 #define SDMA_PKT_SEMAPHORE_HEADER_write_one_mask 0x00000001
1709 #define SDMA_PKT_SEMAPHORE_HEADER_write_one_shift 29
1710 #define SDMA_PKT_SEMAPHORE_HEADER_WRITE_ONE(x) (((x) & SDMA_PKT_SEMAPHORE_HEADER_write_one_mask) << SDMA_PKT_SEMAPHORE_HEADER_write_one_shift)
1711
1712
1713 #define SDMA_PKT_SEMAPHORE_HEADER_signal_offset 0
1714 #define SDMA_PKT_SEMAPHORE_HEADER_signal_mask 0x00000001
1715 #define SDMA_PKT_SEMAPHORE_HEADER_signal_shift 30
1716 #define SDMA_PKT_SEMAPHORE_HEADER_SIGNAL(x) (((x) & SDMA_PKT_SEMAPHORE_HEADER_signal_mask) << SDMA_PKT_SEMAPHORE_HEADER_signal_shift)
1717
1718
1719 #define SDMA_PKT_SEMAPHORE_HEADER_mailbox_offset 0
1720 #define SDMA_PKT_SEMAPHORE_HEADER_mailbox_mask 0x00000001
1721 #define SDMA_PKT_SEMAPHORE_HEADER_mailbox_shift 31
1722 #define SDMA_PKT_SEMAPHORE_HEADER_MAILBOX(x) (((x) & SDMA_PKT_SEMAPHORE_HEADER_mailbox_mask) << SDMA_PKT_SEMAPHORE_HEADER_mailbox_shift)
1723
1724
1725
1726 #define SDMA_PKT_SEMAPHORE_ADDR_LO_addr_31_0_offset 1
1727 #define SDMA_PKT_SEMAPHORE_ADDR_LO_addr_31_0_mask 0xFFFFFFFF
1728 #define SDMA_PKT_SEMAPHORE_ADDR_LO_addr_31_0_shift 0
1729 #define SDMA_PKT_SEMAPHORE_ADDR_LO_ADDR_31_0(x) (((x) & SDMA_PKT_SEMAPHORE_ADDR_LO_addr_31_0_mask) << SDMA_PKT_SEMAPHORE_ADDR_LO_addr_31_0_shift)
1730
1731
1732
1733 #define SDMA_PKT_SEMAPHORE_ADDR_HI_addr_63_32_offset 2
1734 #define SDMA_PKT_SEMAPHORE_ADDR_HI_addr_63_32_mask 0xFFFFFFFF
1735 #define SDMA_PKT_SEMAPHORE_ADDR_HI_addr_63_32_shift 0
1736 #define SDMA_PKT_SEMAPHORE_ADDR_HI_ADDR_63_32(x) (((x) & SDMA_PKT_SEMAPHORE_ADDR_HI_addr_63_32_mask) << SDMA_PKT_SEMAPHORE_ADDR_HI_addr_63_32_shift)
1737
1738
1739
1740
1741
1742
1743
1744
1745 #define SDMA_PKT_FENCE_HEADER_op_offset 0
1746 #define SDMA_PKT_FENCE_HEADER_op_mask 0x000000FF
1747 #define SDMA_PKT_FENCE_HEADER_op_shift 0
1748 #define SDMA_PKT_FENCE_HEADER_OP(x) (((x) & SDMA_PKT_FENCE_HEADER_op_mask) << SDMA_PKT_FENCE_HEADER_op_shift)
1749
1750
1751 #define SDMA_PKT_FENCE_HEADER_sub_op_offset 0
1752 #define SDMA_PKT_FENCE_HEADER_sub_op_mask 0x000000FF
1753 #define SDMA_PKT_FENCE_HEADER_sub_op_shift 8
1754 #define SDMA_PKT_FENCE_HEADER_SUB_OP(x) (((x) & SDMA_PKT_FENCE_HEADER_sub_op_mask) << SDMA_PKT_FENCE_HEADER_sub_op_shift)
1755
1756
1757
1758 #define SDMA_PKT_FENCE_ADDR_LO_addr_31_0_offset 1
1759 #define SDMA_PKT_FENCE_ADDR_LO_addr_31_0_mask 0xFFFFFFFF
1760 #define SDMA_PKT_FENCE_ADDR_LO_addr_31_0_shift 0
1761 #define SDMA_PKT_FENCE_ADDR_LO_ADDR_31_0(x) (((x) & SDMA_PKT_FENCE_ADDR_LO_addr_31_0_mask) << SDMA_PKT_FENCE_ADDR_LO_addr_31_0_shift)
1762
1763
1764
1765 #define SDMA_PKT_FENCE_ADDR_HI_addr_63_32_offset 2
1766 #define SDMA_PKT_FENCE_ADDR_HI_addr_63_32_mask 0xFFFFFFFF
1767 #define SDMA_PKT_FENCE_ADDR_HI_addr_63_32_shift 0
1768 #define SDMA_PKT_FENCE_ADDR_HI_ADDR_63_32(x) (((x) & SDMA_PKT_FENCE_ADDR_HI_addr_63_32_mask) << SDMA_PKT_FENCE_ADDR_HI_addr_63_32_shift)
1769
1770
1771
1772 #define SDMA_PKT_FENCE_DATA_data_offset 3
1773 #define SDMA_PKT_FENCE_DATA_data_mask 0xFFFFFFFF
1774 #define SDMA_PKT_FENCE_DATA_data_shift 0
1775 #define SDMA_PKT_FENCE_DATA_DATA(x) (((x) & SDMA_PKT_FENCE_DATA_data_mask) << SDMA_PKT_FENCE_DATA_data_shift)
1776
1777
1778
1779
1780
1781
1782
1783
1784 #define SDMA_PKT_SRBM_WRITE_HEADER_op_offset 0
1785 #define SDMA_PKT_SRBM_WRITE_HEADER_op_mask 0x000000FF
1786 #define SDMA_PKT_SRBM_WRITE_HEADER_op_shift 0
1787 #define SDMA_PKT_SRBM_WRITE_HEADER_OP(x) (((x) & SDMA_PKT_SRBM_WRITE_HEADER_op_mask) << SDMA_PKT_SRBM_WRITE_HEADER_op_shift)
1788
1789
1790 #define SDMA_PKT_SRBM_WRITE_HEADER_sub_op_offset 0
1791 #define SDMA_PKT_SRBM_WRITE_HEADER_sub_op_mask 0x000000FF
1792 #define SDMA_PKT_SRBM_WRITE_HEADER_sub_op_shift 8
1793 #define SDMA_PKT_SRBM_WRITE_HEADER_SUB_OP(x) (((x) & SDMA_PKT_SRBM_WRITE_HEADER_sub_op_mask) << SDMA_PKT_SRBM_WRITE_HEADER_sub_op_shift)
1794
1795
1796 #define SDMA_PKT_SRBM_WRITE_HEADER_byte_en_offset 0
1797 #define SDMA_PKT_SRBM_WRITE_HEADER_byte_en_mask 0x0000000F
1798 #define SDMA_PKT_SRBM_WRITE_HEADER_byte_en_shift 28
1799 #define SDMA_PKT_SRBM_WRITE_HEADER_BYTE_EN(x) (((x) & SDMA_PKT_SRBM_WRITE_HEADER_byte_en_mask) << SDMA_PKT_SRBM_WRITE_HEADER_byte_en_shift)
1800
1801
1802
1803 #define SDMA_PKT_SRBM_WRITE_ADDR_addr_offset 1
1804 #define SDMA_PKT_SRBM_WRITE_ADDR_addr_mask 0x0000FFFF
1805 #define SDMA_PKT_SRBM_WRITE_ADDR_addr_shift 0
1806 #define SDMA_PKT_SRBM_WRITE_ADDR_ADDR(x) (((x) & SDMA_PKT_SRBM_WRITE_ADDR_addr_mask) << SDMA_PKT_SRBM_WRITE_ADDR_addr_shift)
1807
1808
1809
1810 #define SDMA_PKT_SRBM_WRITE_DATA_data_offset 2
1811 #define SDMA_PKT_SRBM_WRITE_DATA_data_mask 0xFFFFFFFF
1812 #define SDMA_PKT_SRBM_WRITE_DATA_data_shift 0
1813 #define SDMA_PKT_SRBM_WRITE_DATA_DATA(x) (((x) & SDMA_PKT_SRBM_WRITE_DATA_data_mask) << SDMA_PKT_SRBM_WRITE_DATA_data_shift)
1814
1815
1816
1817
1818
1819
1820
1821
1822 #define SDMA_PKT_PRE_EXE_HEADER_op_offset 0
1823 #define SDMA_PKT_PRE_EXE_HEADER_op_mask 0x000000FF
1824 #define SDMA_PKT_PRE_EXE_HEADER_op_shift 0
1825 #define SDMA_PKT_PRE_EXE_HEADER_OP(x) (((x) & SDMA_PKT_PRE_EXE_HEADER_op_mask) << SDMA_PKT_PRE_EXE_HEADER_op_shift)
1826
1827
1828 #define SDMA_PKT_PRE_EXE_HEADER_sub_op_offset 0
1829 #define SDMA_PKT_PRE_EXE_HEADER_sub_op_mask 0x000000FF
1830 #define SDMA_PKT_PRE_EXE_HEADER_sub_op_shift 8
1831 #define SDMA_PKT_PRE_EXE_HEADER_SUB_OP(x) (((x) & SDMA_PKT_PRE_EXE_HEADER_sub_op_mask) << SDMA_PKT_PRE_EXE_HEADER_sub_op_shift)
1832
1833
1834 #define SDMA_PKT_PRE_EXE_HEADER_dev_sel_offset 0
1835 #define SDMA_PKT_PRE_EXE_HEADER_dev_sel_mask 0x000000FF
1836 #define SDMA_PKT_PRE_EXE_HEADER_dev_sel_shift 16
1837 #define SDMA_PKT_PRE_EXE_HEADER_DEV_SEL(x) (((x) & SDMA_PKT_PRE_EXE_HEADER_dev_sel_mask) << SDMA_PKT_PRE_EXE_HEADER_dev_sel_shift)
1838
1839
1840
1841 #define SDMA_PKT_PRE_EXE_EXEC_COUNT_exec_count_offset 1
1842 #define SDMA_PKT_PRE_EXE_EXEC_COUNT_exec_count_mask 0x00003FFF
1843 #define SDMA_PKT_PRE_EXE_EXEC_COUNT_exec_count_shift 0
1844 #define SDMA_PKT_PRE_EXE_EXEC_COUNT_EXEC_COUNT(x) (((x) & SDMA_PKT_PRE_EXE_EXEC_COUNT_exec_count_mask) << SDMA_PKT_PRE_EXE_EXEC_COUNT_exec_count_shift)
1845
1846
1847
1848
1849
1850
1851
1852
1853 #define SDMA_PKT_COND_EXE_HEADER_op_offset 0
1854 #define SDMA_PKT_COND_EXE_HEADER_op_mask 0x000000FF
1855 #define SDMA_PKT_COND_EXE_HEADER_op_shift 0
1856 #define SDMA_PKT_COND_EXE_HEADER_OP(x) (((x) & SDMA_PKT_COND_EXE_HEADER_op_mask) << SDMA_PKT_COND_EXE_HEADER_op_shift)
1857
1858
1859 #define SDMA_PKT_COND_EXE_HEADER_sub_op_offset 0
1860 #define SDMA_PKT_COND_EXE_HEADER_sub_op_mask 0x000000FF
1861 #define SDMA_PKT_COND_EXE_HEADER_sub_op_shift 8
1862 #define SDMA_PKT_COND_EXE_HEADER_SUB_OP(x) (((x) & SDMA_PKT_COND_EXE_HEADER_sub_op_mask) << SDMA_PKT_COND_EXE_HEADER_sub_op_shift)
1863
1864
1865
1866 #define SDMA_PKT_COND_EXE_ADDR_LO_addr_31_0_offset 1
1867 #define SDMA_PKT_COND_EXE_ADDR_LO_addr_31_0_mask 0xFFFFFFFF
1868 #define SDMA_PKT_COND_EXE_ADDR_LO_addr_31_0_shift 0
1869 #define SDMA_PKT_COND_EXE_ADDR_LO_ADDR_31_0(x) (((x) & SDMA_PKT_COND_EXE_ADDR_LO_addr_31_0_mask) << SDMA_PKT_COND_EXE_ADDR_LO_addr_31_0_shift)
1870
1871
1872
1873 #define SDMA_PKT_COND_EXE_ADDR_HI_addr_63_32_offset 2
1874 #define SDMA_PKT_COND_EXE_ADDR_HI_addr_63_32_mask 0xFFFFFFFF
1875 #define SDMA_PKT_COND_EXE_ADDR_HI_addr_63_32_shift 0
1876 #define SDMA_PKT_COND_EXE_ADDR_HI_ADDR_63_32(x) (((x) & SDMA_PKT_COND_EXE_ADDR_HI_addr_63_32_mask) << SDMA_PKT_COND_EXE_ADDR_HI_addr_63_32_shift)
1877
1878
1879
1880 #define SDMA_PKT_COND_EXE_REFERENCE_reference_offset 3
1881 #define SDMA_PKT_COND_EXE_REFERENCE_reference_mask 0xFFFFFFFF
1882 #define SDMA_PKT_COND_EXE_REFERENCE_reference_shift 0
1883 #define SDMA_PKT_COND_EXE_REFERENCE_REFERENCE(x) (((x) & SDMA_PKT_COND_EXE_REFERENCE_reference_mask) << SDMA_PKT_COND_EXE_REFERENCE_reference_shift)
1884
1885
1886
1887 #define SDMA_PKT_COND_EXE_EXEC_COUNT_exec_count_offset 4
1888 #define SDMA_PKT_COND_EXE_EXEC_COUNT_exec_count_mask 0x00003FFF
1889 #define SDMA_PKT_COND_EXE_EXEC_COUNT_exec_count_shift 0
1890 #define SDMA_PKT_COND_EXE_EXEC_COUNT_EXEC_COUNT(x) (((x) & SDMA_PKT_COND_EXE_EXEC_COUNT_exec_count_mask) << SDMA_PKT_COND_EXE_EXEC_COUNT_exec_count_shift)
1891
1892
1893
1894
1895
1896
1897
1898
1899 #define SDMA_PKT_CONSTANT_FILL_HEADER_op_offset 0
1900 #define SDMA_PKT_CONSTANT_FILL_HEADER_op_mask 0x000000FF
1901 #define SDMA_PKT_CONSTANT_FILL_HEADER_op_shift 0
1902 #define SDMA_PKT_CONSTANT_FILL_HEADER_OP(x) (((x) & SDMA_PKT_CONSTANT_FILL_HEADER_op_mask) << SDMA_PKT_CONSTANT_FILL_HEADER_op_shift)
1903
1904
1905 #define SDMA_PKT_CONSTANT_FILL_HEADER_sub_op_offset 0
1906 #define SDMA_PKT_CONSTANT_FILL_HEADER_sub_op_mask 0x000000FF
1907 #define SDMA_PKT_CONSTANT_FILL_HEADER_sub_op_shift 8
1908 #define SDMA_PKT_CONSTANT_FILL_HEADER_SUB_OP(x) (((x) & SDMA_PKT_CONSTANT_FILL_HEADER_sub_op_mask) << SDMA_PKT_CONSTANT_FILL_HEADER_sub_op_shift)
1909
1910
1911 #define SDMA_PKT_CONSTANT_FILL_HEADER_sw_offset 0
1912 #define SDMA_PKT_CONSTANT_FILL_HEADER_sw_mask 0x00000003
1913 #define SDMA_PKT_CONSTANT_FILL_HEADER_sw_shift 16
1914 #define SDMA_PKT_CONSTANT_FILL_HEADER_SW(x) (((x) & SDMA_PKT_CONSTANT_FILL_HEADER_sw_mask) << SDMA_PKT_CONSTANT_FILL_HEADER_sw_shift)
1915
1916
1917 #define SDMA_PKT_CONSTANT_FILL_HEADER_fillsize_offset 0
1918 #define SDMA_PKT_CONSTANT_FILL_HEADER_fillsize_mask 0x00000003
1919 #define SDMA_PKT_CONSTANT_FILL_HEADER_fillsize_shift 30
1920 #define SDMA_PKT_CONSTANT_FILL_HEADER_FILLSIZE(x) (((x) & SDMA_PKT_CONSTANT_FILL_HEADER_fillsize_mask) << SDMA_PKT_CONSTANT_FILL_HEADER_fillsize_shift)
1921
1922
1923
1924 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_dst_addr_31_0_offset 1
1925 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_dst_addr_31_0_mask 0xFFFFFFFF
1926 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_dst_addr_31_0_shift 0
1927 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_DST_ADDR_31_0(x) (((x) & SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_dst_addr_31_0_mask) << SDMA_PKT_CONSTANT_FILL_DST_ADDR_LO_dst_addr_31_0_shift)
1928
1929
1930
1931 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_dst_addr_63_32_offset 2
1932 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_dst_addr_63_32_mask 0xFFFFFFFF
1933 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_dst_addr_63_32_shift 0
1934 #define SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_DST_ADDR_63_32(x) (((x) & SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_dst_addr_63_32_mask) << SDMA_PKT_CONSTANT_FILL_DST_ADDR_HI_dst_addr_63_32_shift)
1935
1936
1937
1938 #define SDMA_PKT_CONSTANT_FILL_DATA_src_data_31_0_offset 3
1939 #define SDMA_PKT_CONSTANT_FILL_DATA_src_data_31_0_mask 0xFFFFFFFF
1940 #define SDMA_PKT_CONSTANT_FILL_DATA_src_data_31_0_shift 0
1941 #define SDMA_PKT_CONSTANT_FILL_DATA_SRC_DATA_31_0(x) (((x) & SDMA_PKT_CONSTANT_FILL_DATA_src_data_31_0_mask) << SDMA_PKT_CONSTANT_FILL_DATA_src_data_31_0_shift)
1942
1943
1944
1945 #define SDMA_PKT_CONSTANT_FILL_COUNT_count_offset 4
1946 #define SDMA_PKT_CONSTANT_FILL_COUNT_count_mask 0x003FFFFF
1947 #define SDMA_PKT_CONSTANT_FILL_COUNT_count_shift 0
1948 #define SDMA_PKT_CONSTANT_FILL_COUNT_COUNT(x) (((x) & SDMA_PKT_CONSTANT_FILL_COUNT_count_mask) << SDMA_PKT_CONSTANT_FILL_COUNT_count_shift)
1949
1950
1951
1952
1953
1954
1955
1956
1957 #define SDMA_PKT_POLL_REGMEM_HEADER_op_offset 0
1958 #define SDMA_PKT_POLL_REGMEM_HEADER_op_mask 0x000000FF
1959 #define SDMA_PKT_POLL_REGMEM_HEADER_op_shift 0
1960 #define SDMA_PKT_POLL_REGMEM_HEADER_OP(x) (((x) & SDMA_PKT_POLL_REGMEM_HEADER_op_mask) << SDMA_PKT_POLL_REGMEM_HEADER_op_shift)
1961
1962
1963 #define SDMA_PKT_POLL_REGMEM_HEADER_sub_op_offset 0
1964 #define SDMA_PKT_POLL_REGMEM_HEADER_sub_op_mask 0x000000FF
1965 #define SDMA_PKT_POLL_REGMEM_HEADER_sub_op_shift 8
1966 #define SDMA_PKT_POLL_REGMEM_HEADER_SUB_OP(x) (((x) & SDMA_PKT_POLL_REGMEM_HEADER_sub_op_mask) << SDMA_PKT_POLL_REGMEM_HEADER_sub_op_shift)
1967
1968
1969 #define SDMA_PKT_POLL_REGMEM_HEADER_hdp_flush_offset 0
1970 #define SDMA_PKT_POLL_REGMEM_HEADER_hdp_flush_mask 0x00000001
1971 #define SDMA_PKT_POLL_REGMEM_HEADER_hdp_flush_shift 26
1972 #define SDMA_PKT_POLL_REGMEM_HEADER_HDP_FLUSH(x) (((x) & SDMA_PKT_POLL_REGMEM_HEADER_hdp_flush_mask) << SDMA_PKT_POLL_REGMEM_HEADER_hdp_flush_shift)
1973
1974
1975 #define SDMA_PKT_POLL_REGMEM_HEADER_func_offset 0
1976 #define SDMA_PKT_POLL_REGMEM_HEADER_func_mask 0x00000007
1977 #define SDMA_PKT_POLL_REGMEM_HEADER_func_shift 28
1978 #define SDMA_PKT_POLL_REGMEM_HEADER_FUNC(x) (((x) & SDMA_PKT_POLL_REGMEM_HEADER_func_mask) << SDMA_PKT_POLL_REGMEM_HEADER_func_shift)
1979
1980
1981 #define SDMA_PKT_POLL_REGMEM_HEADER_mem_poll_offset 0
1982 #define SDMA_PKT_POLL_REGMEM_HEADER_mem_poll_mask 0x00000001
1983 #define SDMA_PKT_POLL_REGMEM_HEADER_mem_poll_shift 31
1984 #define SDMA_PKT_POLL_REGMEM_HEADER_MEM_POLL(x) (((x) & SDMA_PKT_POLL_REGMEM_HEADER_mem_poll_mask) << SDMA_PKT_POLL_REGMEM_HEADER_mem_poll_shift)
1985
1986
1987
1988 #define SDMA_PKT_POLL_REGMEM_ADDR_LO_addr_31_0_offset 1
1989 #define SDMA_PKT_POLL_REGMEM_ADDR_LO_addr_31_0_mask 0xFFFFFFFF
1990 #define SDMA_PKT_POLL_REGMEM_ADDR_LO_addr_31_0_shift 0
1991 #define SDMA_PKT_POLL_REGMEM_ADDR_LO_ADDR_31_0(x) (((x) & SDMA_PKT_POLL_REGMEM_ADDR_LO_addr_31_0_mask) << SDMA_PKT_POLL_REGMEM_ADDR_LO_addr_31_0_shift)
1992
1993
1994
1995 #define SDMA_PKT_POLL_REGMEM_ADDR_HI_addr_63_32_offset 2
1996 #define SDMA_PKT_POLL_REGMEM_ADDR_HI_addr_63_32_mask 0xFFFFFFFF
1997 #define SDMA_PKT_POLL_REGMEM_ADDR_HI_addr_63_32_shift 0
1998 #define SDMA_PKT_POLL_REGMEM_ADDR_HI_ADDR_63_32(x) (((x) & SDMA_PKT_POLL_REGMEM_ADDR_HI_addr_63_32_mask) << SDMA_PKT_POLL_REGMEM_ADDR_HI_addr_63_32_shift)
1999
2000
2001
2002 #define SDMA_PKT_POLL_REGMEM_VALUE_value_offset 3
2003 #define SDMA_PKT_POLL_REGMEM_VALUE_value_mask 0xFFFFFFFF
2004 #define SDMA_PKT_POLL_REGMEM_VALUE_value_shift 0
2005 #define SDMA_PKT_POLL_REGMEM_VALUE_VALUE(x) (((x) & SDMA_PKT_POLL_REGMEM_VALUE_value_mask) << SDMA_PKT_POLL_REGMEM_VALUE_value_shift)
2006
2007
2008
2009 #define SDMA_PKT_POLL_REGMEM_MASK_mask_offset 4
2010 #define SDMA_PKT_POLL_REGMEM_MASK_mask_mask 0xFFFFFFFF
2011 #define SDMA_PKT_POLL_REGMEM_MASK_mask_shift 0
2012 #define SDMA_PKT_POLL_REGMEM_MASK_MASK(x) (((x) & SDMA_PKT_POLL_REGMEM_MASK_mask_mask) << SDMA_PKT_POLL_REGMEM_MASK_mask_shift)
2013
2014
2015
2016 #define SDMA_PKT_POLL_REGMEM_DW5_interval_offset 5
2017 #define SDMA_PKT_POLL_REGMEM_DW5_interval_mask 0x0000FFFF
2018 #define SDMA_PKT_POLL_REGMEM_DW5_interval_shift 0
2019 #define SDMA_PKT_POLL_REGMEM_DW5_INTERVAL(x) (((x) & SDMA_PKT_POLL_REGMEM_DW5_interval_mask) << SDMA_PKT_POLL_REGMEM_DW5_interval_shift)
2020
2021
2022 #define SDMA_PKT_POLL_REGMEM_DW5_retry_count_offset 5
2023 #define SDMA_PKT_POLL_REGMEM_DW5_retry_count_mask 0x00000FFF
2024 #define SDMA_PKT_POLL_REGMEM_DW5_retry_count_shift 16
2025 #define SDMA_PKT_POLL_REGMEM_DW5_RETRY_COUNT(x) (((x) & SDMA_PKT_POLL_REGMEM_DW5_retry_count_mask) << SDMA_PKT_POLL_REGMEM_DW5_retry_count_shift)
2026
2027
2028
2029
2030
2031
2032
2033
2034 #define SDMA_PKT_TIMESTAMP_SET_HEADER_op_offset 0
2035 #define SDMA_PKT_TIMESTAMP_SET_HEADER_op_mask 0x000000FF
2036 #define SDMA_PKT_TIMESTAMP_SET_HEADER_op_shift 0
2037 #define SDMA_PKT_TIMESTAMP_SET_HEADER_OP(x) (((x) & SDMA_PKT_TIMESTAMP_SET_HEADER_op_mask) << SDMA_PKT_TIMESTAMP_SET_HEADER_op_shift)
2038
2039
2040 #define SDMA_PKT_TIMESTAMP_SET_HEADER_sub_op_offset 0
2041 #define SDMA_PKT_TIMESTAMP_SET_HEADER_sub_op_mask 0x000000FF
2042 #define SDMA_PKT_TIMESTAMP_SET_HEADER_sub_op_shift 8
2043 #define SDMA_PKT_TIMESTAMP_SET_HEADER_SUB_OP(x) (((x) & SDMA_PKT_TIMESTAMP_SET_HEADER_sub_op_mask) << SDMA_PKT_TIMESTAMP_SET_HEADER_sub_op_shift)
2044
2045
2046
2047 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_init_data_31_0_offset 1
2048 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_init_data_31_0_mask 0xFFFFFFFF
2049 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_init_data_31_0_shift 0
2050 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_INIT_DATA_31_0(x) (((x) & SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_init_data_31_0_mask) << SDMA_PKT_TIMESTAMP_SET_INIT_DATA_LO_init_data_31_0_shift)
2051
2052
2053
2054 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_init_data_63_32_offset 2
2055 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_init_data_63_32_mask 0xFFFFFFFF
2056 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_init_data_63_32_shift 0
2057 #define SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_INIT_DATA_63_32(x) (((x) & SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_init_data_63_32_mask) << SDMA_PKT_TIMESTAMP_SET_INIT_DATA_HI_init_data_63_32_shift)
2058
2059
2060
2061
2062
2063
2064
2065
2066 #define SDMA_PKT_TIMESTAMP_GET_HEADER_op_offset 0
2067 #define SDMA_PKT_TIMESTAMP_GET_HEADER_op_mask 0x000000FF
2068 #define SDMA_PKT_TIMESTAMP_GET_HEADER_op_shift 0
2069 #define SDMA_PKT_TIMESTAMP_GET_HEADER_OP(x) (((x) & SDMA_PKT_TIMESTAMP_GET_HEADER_op_mask) << SDMA_PKT_TIMESTAMP_GET_HEADER_op_shift)
2070
2071
2072 #define SDMA_PKT_TIMESTAMP_GET_HEADER_sub_op_offset 0
2073 #define SDMA_PKT_TIMESTAMP_GET_HEADER_sub_op_mask 0x000000FF
2074 #define SDMA_PKT_TIMESTAMP_GET_HEADER_sub_op_shift 8
2075 #define SDMA_PKT_TIMESTAMP_GET_HEADER_SUB_OP(x) (((x) & SDMA_PKT_TIMESTAMP_GET_HEADER_sub_op_mask) << SDMA_PKT_TIMESTAMP_GET_HEADER_sub_op_shift)
2076
2077
2078
2079 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_write_addr_31_3_offset 1
2080 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_write_addr_31_3_mask 0x1FFFFFFF
2081 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_write_addr_31_3_shift 3
2082 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_WRITE_ADDR_31_3(x) (((x) & SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_write_addr_31_3_mask) << SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_LO_write_addr_31_3_shift)
2083
2084
2085
2086 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_write_addr_63_32_offset 2
2087 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_write_addr_63_32_mask 0xFFFFFFFF
2088 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_write_addr_63_32_shift 0
2089 #define SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_WRITE_ADDR_63_32(x) (((x) & SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_write_addr_63_32_mask) << SDMA_PKT_TIMESTAMP_GET_WRITE_ADDR_HI_write_addr_63_32_shift)
2090
2091
2092
2093
2094
2095
2096
2097
2098 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_op_offset 0
2099 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_op_mask 0x000000FF
2100 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_op_shift 0
2101 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_OP(x) (((x) & SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_op_mask) << SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_op_shift)
2102
2103
2104 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_sub_op_offset 0
2105 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_sub_op_mask 0x000000FF
2106 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_sub_op_shift 8
2107 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_SUB_OP(x) (((x) & SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_sub_op_mask) << SDMA_PKT_TIMESTAMP_GET_GLOBAL_HEADER_sub_op_shift)
2108
2109
2110
2111 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_write_addr_31_3_offset 1
2112 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_write_addr_31_3_mask 0x1FFFFFFF
2113 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_write_addr_31_3_shift 3
2114 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_WRITE_ADDR_31_3(x) (((x) & SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_write_addr_31_3_mask) << SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_LO_write_addr_31_3_shift)
2115
2116
2117
2118 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_write_addr_63_32_offset 2
2119 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_write_addr_63_32_mask 0xFFFFFFFF
2120 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_write_addr_63_32_shift 0
2121 #define SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_WRITE_ADDR_63_32(x) (((x) & SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_write_addr_63_32_mask) << SDMA_PKT_TIMESTAMP_GET_GLOBAL_WRITE_ADDR_HI_write_addr_63_32_shift)
2122
2123
2124
2125
2126
2127
2128
2129
2130 #define SDMA_PKT_TRAP_HEADER_op_offset 0
2131 #define SDMA_PKT_TRAP_HEADER_op_mask 0x000000FF
2132 #define SDMA_PKT_TRAP_HEADER_op_shift 0
2133 #define SDMA_PKT_TRAP_HEADER_OP(x) (((x) & SDMA_PKT_TRAP_HEADER_op_mask) << SDMA_PKT_TRAP_HEADER_op_shift)
2134
2135
2136 #define SDMA_PKT_TRAP_HEADER_sub_op_offset 0
2137 #define SDMA_PKT_TRAP_HEADER_sub_op_mask 0x000000FF
2138 #define SDMA_PKT_TRAP_HEADER_sub_op_shift 8
2139 #define SDMA_PKT_TRAP_HEADER_SUB_OP(x) (((x) & SDMA_PKT_TRAP_HEADER_sub_op_mask) << SDMA_PKT_TRAP_HEADER_sub_op_shift)
2140
2141
2142
2143 #define SDMA_PKT_TRAP_INT_CONTEXT_int_context_offset 1
2144 #define SDMA_PKT_TRAP_INT_CONTEXT_int_context_mask 0x0FFFFFFF
2145 #define SDMA_PKT_TRAP_INT_CONTEXT_int_context_shift 0
2146 #define SDMA_PKT_TRAP_INT_CONTEXT_INT_CONTEXT(x) (((x) & SDMA_PKT_TRAP_INT_CONTEXT_int_context_mask) << SDMA_PKT_TRAP_INT_CONTEXT_int_context_shift)
2147
2148
2149
2150
2151
2152
2153
2154
2155 #define SDMA_PKT_NOP_HEADER_op_offset 0
2156 #define SDMA_PKT_NOP_HEADER_op_mask 0x000000FF
2157 #define SDMA_PKT_NOP_HEADER_op_shift 0
2158 #define SDMA_PKT_NOP_HEADER_OP(x) (((x) & SDMA_PKT_NOP_HEADER_op_mask) << SDMA_PKT_NOP_HEADER_op_shift)
2159
2160
2161 #define SDMA_PKT_NOP_HEADER_sub_op_offset 0
2162 #define SDMA_PKT_NOP_HEADER_sub_op_mask 0x000000FF
2163 #define SDMA_PKT_NOP_HEADER_sub_op_shift 8
2164 #define SDMA_PKT_NOP_HEADER_SUB_OP(x) (((x) & SDMA_PKT_NOP_HEADER_sub_op_mask) << SDMA_PKT_NOP_HEADER_sub_op_shift)
2165
2166
2167 #define SDMA_PKT_NOP_HEADER_count_offset 0
2168 #define SDMA_PKT_NOP_HEADER_count_mask 0x00003FFF
2169 #define SDMA_PKT_NOP_HEADER_count_shift 16
2170 #define SDMA_PKT_NOP_HEADER_COUNT(x) (((x) & SDMA_PKT_NOP_HEADER_count_mask) << SDMA_PKT_NOP_HEADER_count_shift)
2171
2172 #endif