Lines Matching +full:1 +full:x

26 #define GFX9_NUM_GFX_RINGS     1
33 #define PACKET_TYPE1 1
54 #define PACKET3_COMPUTE(op, n) (PACKET3(op, n) | 1 << 1)
57 #define PACKETJ_CONDITION_CHECK1 1
66 #define PACKETJ_TYPE1 1
82 #define PACKET3_BASE_INDEX(x) ((x) << 0) argument
110 #define WRITE_DATA_DST_SEL(x) ((x) << 8) argument
112 * 1 - memory (sync - via GRBM)
118 #define WR_ONE_ADDR (1 << 16)
119 #define WR_CONFIRM (1 << 20)
120 #define WRITE_DATA_CACHE_POLICY(x) ((x) << 25) argument
122 * 1 - Stream
124 #define WRITE_DATA_ENGINE_SEL(x) ((x) << 30) argument
126 * 1 - pfp
132 # define PACKET3_SEM_SEL_SIGNAL_TYPE (0x1 << 20) /* 0 = increment, 1 = write 1 */
136 #define WAIT_REG_MEM_FUNCTION(x) ((x) << 0) argument
138 * 1 - <
145 #define WAIT_REG_MEM_MEM_SPACE(x) ((x) << 4) argument
147 * 1 - mem
149 #define WAIT_REG_MEM_OPERATION(x) ((x) << 6) argument
151 * 1 - wr_wait_wr_reg
153 #define WAIT_REG_MEM_ENGINE(x) ((x) << 8) argument
155 * 1 - pfp
158 #define INDIRECT_BUFFER_VALID (1 << 23)
159 #define INDIRECT_BUFFER_CACHE_POLICY(x) ((x) << 28) argument
161 * 1 - Stream
164 #define INDIRECT_BUFFER_PRE_ENB(x) ((x) << 21) argument
165 #define INDIRECT_BUFFER_PRE_RESUME(x) ((x) << 30) argument
170 #define EVENT_TYPE(x) ((x) << 0) argument
171 #define EVENT_INDEX(x) ((x) << 8) argument
173 * 1 - ZPASS_DONE, PIXEL_PIPE_STAT_*
179 #define EVENT_TYPE(x) ((x) << 0) argument
180 #define EVENT_INDEX(x) ((x) << 8) argument
181 #define EOP_TCL1_VOL_ACTION_EN (1 << 12)
182 #define EOP_TC_VOL_ACTION_EN (1 << 13) /* L2 */
183 #define EOP_TC_WB_ACTION_EN (1 << 15) /* L2 */
184 #define EOP_TCL1_ACTION_EN (1 << 16)
185 #define EOP_TC_ACTION_EN (1 << 17) /* L2 */
186 #define EOP_TC_NC_ACTION_EN (1 << 19)
187 #define EOP_TC_MD_ACTION_EN (1 << 21) /* L2 metadata */
188 #define EOP_EXEC (1 << 28) /* For Trailing Fence */
190 #define DATA_SEL(x) ((x) << 29) argument
192 * 1 - send low 32bit data
197 #define INT_SEL(x) ((x) << 24) argument
199 * 1 - interrupt only (DATA_SEL = 0)
202 #define DST_SEL(x) ((x) << 16) argument
204 * 1 - TC/L2
213 /* 1. header
222 # define PACKET3_DMA_DATA_ENGINE(x) ((x) << 0) argument
224 * 1 - PFP
226 # define PACKET3_DMA_DATA_SRC_CACHE_POLICY(x) ((x) << 13) argument
228 * 1 - Stream
230 # define PACKET3_DMA_DATA_DST_SEL(x) ((x) << 20) argument
232 * 1 - GDS
235 # define PACKET3_DMA_DATA_DST_CACHE_POLICY(x) ((x) << 25) argument
237 * 1 - Stream
239 # define PACKET3_DMA_DATA_SRC_SEL(x) ((x) << 29) argument
241 * 1 - GDS
245 # define PACKET3_DMA_DATA_CP_SYNC (1 << 31)
247 # define PACKET3_DMA_DATA_CMD_SAS (1 << 26)
249 * 1 - register
251 # define PACKET3_DMA_DATA_CMD_DAS (1 << 27)
253 * 1 - register
255 # define PACKET3_DMA_DATA_CMD_SAIC (1 << 28)
256 # define PACKET3_DMA_DATA_CMD_DAIC (1 << 29)
257 # define PACKET3_DMA_DATA_CMD_RAW_WAIT (1 << 30)
259 /* 1. HEADER
269 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_NC_ACTION_ENA(x) ((x) << 3) argument
270 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_WC_ACTION_ENA(x) ((x) << 4) argument
271 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_INV_METADATA_ACTION_ENA(x) ((x) << 5) argument
272 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TCL1_VOL_ACTION_ENA(x) ((x) << 15) argument
273 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_WB_ACTION_ENA(x) ((x) << 18) argument
274 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TCL1_ACTION_ENA(x) ((x) << 22) argument
275 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_TC_ACTION_ENA(x) ((x) << 23) argument
276 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_CB_ACTION_ENA(x) ((x) << 25) argument
277 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_DB_ACTION_ENA(x) ((x) << 26) argument
278 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_ACTION_ENA(x) ((x) << 27) argument
279 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_VOL_ACTION_ENA(x) ((x) << 28) argument
280 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_ICACHE_ACTION_ENA(x) ((x) << 29) argument
281 #define PACKET3_ACQUIRE_MEM_CP_COHER_CNTL_SH_KCACHE_WB_ACTION_ENA(x) ((x) << 30) argument
314 # define FRAME_TMZ (1 << 0)
315 # define FRAME_CMD(x) ((x) << 28) argument
317 * x=0: tmz_begin
318 * x=1: tmz_end
322 # define PACKET3_INVALIDATE_TLBS_DST_SEL(x) ((x) << 0) argument
323 # define PACKET3_INVALIDATE_TLBS_ALL_HUB(x) ((x) << 4) argument
324 # define PACKET3_INVALIDATE_TLBS_PASID(x) ((x) << 5) argument
325 # define PACKET3_INVALIDATE_TLBS_FLUSH_TYPE(x) ((x) << 29) argument
327 /* 1. header
336 # define PACKET3_SET_RESOURCES_VMID_MASK(x) ((x) << 0) argument
337 # define PACKET3_SET_RESOURCES_UNMAP_LATENTY(x) ((x) << 16) argument
338 # define PACKET3_SET_RESOURCES_QUEUE_TYPE(x) ((x) << 29) argument
340 /* 1. header
349 # define PACKET3_MAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
350 # define PACKET3_MAP_QUEUES_VMID(x) ((x) << 8) argument
351 # define PACKET3_MAP_QUEUES_QUEUE(x) ((x) << 13) argument
352 # define PACKET3_MAP_QUEUES_PIPE(x) ((x) << 16) argument
353 # define PACKET3_MAP_QUEUES_ME(x) ((x) << 18) argument
354 # define PACKET3_MAP_QUEUES_QUEUE_TYPE(x) ((x) << 21) argument
355 # define PACKET3_MAP_QUEUES_ALLOC_FORMAT(x) ((x) << 24) argument
356 # define PACKET3_MAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
357 # define PACKET3_MAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
359 # define PACKET3_MAP_QUEUES_CHECK_DISABLE(x) ((x) << 1) argument
360 # define PACKET3_MAP_QUEUES_DOORBELL_OFFSET(x) ((x) << 2) argument
362 /* 1. header
370 # define PACKET3_UNMAP_QUEUES_ACTION(x) ((x) << 0) argument
372 * 1 - RESET_QUEUES
376 # define PACKET3_UNMAP_QUEUES_QUEUE_SEL(x) ((x) << 4) argument
377 # define PACKET3_UNMAP_QUEUES_ENGINE_SEL(x) ((x) << 26) argument
378 # define PACKET3_UNMAP_QUEUES_NUM_QUEUES(x) ((x) << 29) argument
380 # define PACKET3_UNMAP_QUEUES_PASID(x) ((x) << 0) argument
382 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET0(x) ((x) << 2) argument
384 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET1(x) ((x) << 2) argument
386 # define PACKET3_UNMAP_QUEUES_RB_WPTR(x) ((x) << 0) argument
388 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET2(x) ((x) << 2) argument
390 # define PACKET3_UNMAP_QUEUES_DOORBELL_OFFSET3(x) ((x) << 2) argument
392 /* 1. header
401 # define PACKET3_QUERY_STATUS_CONTEXT_ID(x) ((x) << 0) argument
402 # define PACKET3_QUERY_STATUS_INTERRUPT_SEL(x) ((x) << 28) argument
403 # define PACKET3_QUERY_STATUS_COMMAND(x) ((x) << 30) argument
405 # define PACKET3_QUERY_STATUS_PASID(x) ((x) << 0) argument
407 # define PACKET3_QUERY_STATUS_DOORBELL_OFFSET(x) ((x) << 2) argument
408 # define PACKET3_QUERY_STATUS_ENG_SEL(x) ((x) << 25) argument