Lines Matching refs:OUT_RING
121 OUT_RING(ring, A6XX_SP_MODE_CONTROL_CONSTANT_DEMOTION_ENABLE | 4); in cs_program_emit()
124 OUT_RING(ring, A6XX_HLSQ_INVALIDATE_CMD_VS_STATE | in cs_program_emit()
135 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_CONSTLEN(constlen) | in cs_program_emit()
139 OUT_RING(ring, A6XX_SP_CS_CONFIG_ENABLED | in cs_program_emit()
143 OUT_RING(ring, v->instrlen); /* SP_VS_INSTRLEN */ in cs_program_emit()
146 OUT_RING(ring, A6XX_SP_CS_CTRL_REG0_THREADSIZE(thrsz) | in cs_program_emit()
154 OUT_RING(ring, 0x41); in cs_program_emit()
161 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit()
165 OUT_RING(ring, 0x2fc); /* HLSQ_CS_UNKNOWN_B998 */ in cs_program_emit()
171 OUT_RING(ring, v->instrlen); in cs_program_emit()
177 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(0) | in cs_program_emit()
196 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(regid/4) | in emit_const()
201 OUT_RING(ring, CP_LOAD_STATE6_1_EXT_SRC_ADDR(0)); in emit_const()
202 OUT_RING(ring, CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI(0)); in emit_const()
205 OUT_RING(ring, dwords[i]); in emit_const()
210 OUT_RING(ring, 0); in emit_const()
264 OUT_RING(state, A6XX_IBO_0_FMT(FMT6_32_UINT) | in cs_ibo_emit()
266 OUT_RING(state, A6XX_IBO_1_WIDTH(width) | in cs_ibo_emit()
268 OUT_RING(state, A6XX_IBO_2_PITCH(0) | in cs_ibo_emit()
271 OUT_RING(state, A6XX_IBO_3_ARRAY_PITCH(0)); in cs_ibo_emit()
273 OUT_RING(state, 0x00000000); in cs_ibo_emit()
274 OUT_RING(state, 0x00000000); in cs_ibo_emit()
275 OUT_RING(state, 0x00000000); in cs_ibo_emit()
276 OUT_RING(state, 0x00000000); in cs_ibo_emit()
277 OUT_RING(state, 0x00000000); in cs_ibo_emit()
278 OUT_RING(state, 0x00000000); in cs_ibo_emit()
279 OUT_RING(state, 0x00000000); in cs_ibo_emit()
280 OUT_RING(state, 0x00000000); in cs_ibo_emit()
281 OUT_RING(state, 0x00000000); in cs_ibo_emit()
282 OUT_RING(state, 0x00000000); in cs_ibo_emit()
286 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(0) | in cs_ibo_emit()
297 OUT_RING(ring, kernel->num_bufs); in cs_ibo_emit()
309 OUT_RING(ring, CP_EVENT_WRITE_0_EVENT(evt)); in event_write()
315 OUT_RING(ring, seqno); in event_write()
331 OUT_RING(ring, CP_WAIT_REG_MEM_0_FUNCTION(WRITE_EQ) | in cache_flush()
334 OUT_RING(ring, CP_WAIT_REG_MEM_3_REF(seqno)); in cache_flush()
335 OUT_RING(ring, CP_WAIT_REG_MEM_4_MASK(~0)); in cache_flush()
336 OUT_RING(ring, CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES(16)); in cache_flush()
341 OUT_RING(ring, CP_WAIT_MEM_GTE_0_RESERVED(0)); in cache_flush()
343 OUT_RING(ring, CP_WAIT_MEM_GTE_3_REF(seqno)); in cache_flush()
359 OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_COMPUTE)); in a6xx_emit_grid()
372 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM(work_dim) | in a6xx_emit_grid()
376 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_1_GLOBALSIZE_X(local_size[0] * num_groups[0])); in a6xx_emit_grid()
377 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_2_GLOBALOFF_X */ in a6xx_emit_grid()
378 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_3_GLOBALSIZE_Y(local_size[1] * num_groups[1])); in a6xx_emit_grid()
379 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_4_GLOBALOFF_Y */ in a6xx_emit_grid()
380 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_5_GLOBALSIZE_Z(local_size[2] * num_groups[2])); in a6xx_emit_grid()
381 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_6_GLOBALOFF_Z */ in a6xx_emit_grid()
384 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_X */ in a6xx_emit_grid()
385 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_Y */ in a6xx_emit_grid()
386 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_Z */ in a6xx_emit_grid()
400 OUT_RING(ring, counter->selector); in a6xx_emit_grid()
410 OUT_RING(ring, CP_REG_TO_MEM_0_64B | in a6xx_emit_grid()
417 OUT_RING(ring, 0x00000000); in a6xx_emit_grid()
418 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(grid[0])); in a6xx_emit_grid()
419 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(grid[1])); in a6xx_emit_grid()
420 OUT_RING(ring, CP_EXEC_CS_3_NGROUPS_Z(grid[2])); in a6xx_emit_grid()
430 OUT_RING(ring, CP_REG_TO_MEM_0_64B | in a6xx_emit_grid()
439 OUT_RING(ring, CP_MEM_TO_MEM_0_DOUBLE | in a6xx_emit_grid()