• Home
  • Raw
  • Download

Lines Matching refs:OUT_RING

122    OUT_RING(ring, A6XX_SP_MODE_CONTROL_CONSTANT_DEMOTION_ENABLE | 4);  in cs_program_emit()
125 OUT_RING(ring, A6XX_SP_PERFCTR_ENABLE_CS); in cs_program_emit()
128 OUT_RING(ring, 0); in cs_program_emit()
131 OUT_RING( in cs_program_emit()
140 OUT_RING(ring, in cs_program_emit()
144 OUT_RING(ring, A6XX_SP_CS_CONFIG_ENABLED | in cs_program_emit()
148 OUT_RING(ring, v->instrlen); /* SP_VS_INSTRLEN */ in cs_program_emit()
151 OUT_RING(ring, in cs_program_emit()
160 OUT_RING(ring, 0x41); in cs_program_emit()
164 OUT_RING(ring, A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE(1) | in cs_program_emit()
174 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit()
178 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID(regid(63, 0)) | in cs_program_emit()
183 OUT_RING(ring, A6XX_SP_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit()
187 OUT_RING(ring, A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID(regid(63, 0)) | in cs_program_emit()
195 OUT_RING(ring, v->instrlen); in cs_program_emit()
203 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(0) | in cs_program_emit()
218 OUT_RING(ring, A6XX_SP_CS_PVT_MEM_PARAM_MEMSIZEPERITEM(per_fiber_size)); in cs_program_emit()
220 OUT_RING(ring, A6XX_SP_CS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(per_sp_size) | in cs_program_emit()
225 OUT_RING(ring, A6XX_SP_CS_PVT_MEM_HW_STACK_OFFSET_OFFSET(per_sp_size)); in cs_program_emit()
240 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(regid / 4) | in emit_const()
245 OUT_RING(ring, CP_LOAD_STATE6_1_EXT_SRC_ADDR(0)); in emit_const()
246 OUT_RING(ring, CP_LOAD_STATE6_2_EXT_SRC_ADDR_HI(0)); in emit_const()
249 OUT_RING(ring, dwords[i]); in emit_const()
254 OUT_RING(ring, 0); in emit_const()
318 OUT_RING(state, A6XX_TEX_CONST_0_FMT(FMT6_32_UINT) | A6XX_TEX_CONST_0_TILE_MODE(0)); in cs_ibo_emit()
319 OUT_RING(state, A6XX_TEX_CONST_1_WIDTH(width) | A6XX_TEX_CONST_1_HEIGHT(height)); in cs_ibo_emit()
320 OUT_RING(state, A6XX_TEX_CONST_2_PITCH(0) | A6XX_TEX_CONST_2_BUFFER | in cs_ibo_emit()
322 OUT_RING(state, A6XX_TEX_CONST_3_ARRAY_PITCH(0)); in cs_ibo_emit()
324 OUT_RING(state, 0x00000000); in cs_ibo_emit()
325 OUT_RING(state, 0x00000000); in cs_ibo_emit()
326 OUT_RING(state, 0x00000000); in cs_ibo_emit()
327 OUT_RING(state, 0x00000000); in cs_ibo_emit()
328 OUT_RING(state, 0x00000000); in cs_ibo_emit()
329 OUT_RING(state, 0x00000000); in cs_ibo_emit()
330 OUT_RING(state, 0x00000000); in cs_ibo_emit()
331 OUT_RING(state, 0x00000000); in cs_ibo_emit()
332 OUT_RING(state, 0x00000000); in cs_ibo_emit()
333 OUT_RING(state, 0x00000000); in cs_ibo_emit()
337 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(0) | in cs_ibo_emit()
348 OUT_RING(ring, kernel->num_bufs); in cs_ibo_emit()
360 OUT_RING(ring, CP_EVENT_WRITE_0_EVENT(evt)); in event_write()
366 OUT_RING(ring, seqno); in event_write()
382 OUT_RING(ring, CP_WAIT_REG_MEM_0_FUNCTION(WRITE_EQ) | in cache_flush()
385 OUT_RING(ring, CP_WAIT_REG_MEM_3_REF(seqno)); in cache_flush()
386 OUT_RING(ring, CP_WAIT_REG_MEM_4_MASK(~0)); in cache_flush()
387 OUT_RING(ring, CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES(16)); in cache_flush()
392 OUT_RING(ring, CP_WAIT_MEM_GTE_0_RESERVED(0)); in cache_flush()
394 OUT_RING(ring, CP_WAIT_MEM_GTE_3_REF(seqno)); in cache_flush()
411 OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_COMPUTE)); in a6xx_emit_grid()
424 OUT_RING(ring, A6XX_HLSQ_CS_NDRANGE_0_KERNELDIM(work_dim) | in a6xx_emit_grid()
428 OUT_RING(ring, in a6xx_emit_grid()
430 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_2_GLOBALOFF_X */ in a6xx_emit_grid()
431 OUT_RING(ring, in a6xx_emit_grid()
433 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_4_GLOBALOFF_Y */ in a6xx_emit_grid()
434 OUT_RING(ring, in a6xx_emit_grid()
436 OUT_RING(ring, 0); /* HLSQ_CS_NDRANGE_6_GLOBALOFF_Z */ in a6xx_emit_grid()
439 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_X */ in a6xx_emit_grid()
440 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_Y */ in a6xx_emit_grid()
441 OUT_RING(ring, 1); /* HLSQ_CS_KERNEL_GROUP_Z */ in a6xx_emit_grid()
455 OUT_RING(ring, counter->selector); in a6xx_emit_grid()
465 OUT_RING(ring, CP_REG_TO_MEM_0_64B | in a6xx_emit_grid()
472 OUT_RING(ring, 0x00000000); in a6xx_emit_grid()
473 OUT_RING(ring, CP_EXEC_CS_1_NGROUPS_X(grid[0])); in a6xx_emit_grid()
474 OUT_RING(ring, CP_EXEC_CS_2_NGROUPS_Y(grid[1])); in a6xx_emit_grid()
475 OUT_RING(ring, CP_EXEC_CS_3_NGROUPS_Z(grid[2])); in a6xx_emit_grid()
485 OUT_RING(ring, CP_REG_TO_MEM_0_64B | in a6xx_emit_grid()
494 OUT_RING(ring, CP_MEM_TO_MEM_0_DOUBLE | CP_MEM_TO_MEM_0_NEG_C); in a6xx_emit_grid()