/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 122 OUT_PKT0(ring, REG_A3XX_RB_MRT_BUF_INFO(i), 2); in emit_mrt() 134 OUT_PKT0(ring, REG_A3XX_SP_FS_IMAGE_OUTPUT_REG(i), 1); in emit_mrt() 192 OUT_PKT0(ring, REG_A3XX_RB_MODE_CONTROL, 2); in emit_binning_workaround() 200 OUT_PKT0(ring, REG_A3XX_RB_COPY_CONTROL, 4); in emit_binning_workaround() 213 OUT_PKT0(ring, REG_A3XX_GRAS_SC_CONTROL, 1); in emit_binning_workaround() 221 OUT_PKT0(ring, REG_A3XX_HLSQ_CONTROL_0_REG, 4); in emit_binning_workaround() 231 OUT_PKT0(ring, REG_A3XX_HLSQ_CONST_FSPRESV_RANGE_REG, 1); in emit_binning_workaround() 235 OUT_PKT0(ring, REG_A3XX_RB_MSAA_CONTROL, 1); in emit_binning_workaround() 240 OUT_PKT0(ring, REG_A3XX_RB_DEPTH_CONTROL, 1); in emit_binning_workaround() 243 OUT_PKT0(ring, REG_A3XX_RB_STENCIL_CONTROL, 1); in emit_binning_workaround() [all …]
|
D | fd3_emit.c | 262 OUT_PKT0(ring, bcolor_reg[sb], 1); in emit_textures() 429 OUT_PKT0(ring, REG_A3XX_VFD_FETCH(j), 2); in fd3_emit_vertex_bufs() 440 OUT_PKT0(ring, REG_A3XX_VFD_DECODE_INSTR(j), 1); in fd3_emit_vertex_bufs() 467 OUT_PKT0(ring, REG_A3XX_VFD_FETCH(0), 2); in fd3_emit_vertex_bufs() 475 OUT_PKT0(ring, REG_A3XX_VFD_DECODE_INSTR(0), 1); in fd3_emit_vertex_bufs() 489 OUT_PKT0(ring, REG_A3XX_VFD_CONTROL_0, 2); in fd3_emit_vertex_bufs() 498 OUT_PKT0(ring, REG_A3XX_VFD_VS_THREADING_THRESHOLD, 1); in fd3_emit_vertex_bufs() 515 OUT_PKT0(ring, REG_A3XX_RB_MSAA_CONTROL, 1); in fd3_emit_state() 539 OUT_PKT0(ring, REG_A3XX_RB_RENDER_CONTROL, 1); in fd3_emit_state() 547 OUT_PKT0(ring, REG_A3XX_RB_ALPHA_REF, 1); in fd3_emit_state() [all …]
|
D | fd3_program.c | 195 OUT_PKT0(ring, REG_A3XX_HLSQ_CONTROL_0_REG, 6); in fd3_program_emit() 223 OUT_PKT0(ring, REG_A3XX_SP_SP_CTRL_REG, 1); in fd3_program_emit() 229 OUT_PKT0(ring, REG_A3XX_SP_VS_LENGTH_REG, 1); in fd3_program_emit() 232 OUT_PKT0(ring, REG_A3XX_SP_VS_CTRL_REG0, 3); in fd3_program_emit() 256 OUT_PKT0(ring, REG_A3XX_SP_VS_OUT_REG(i), 1); in fd3_program_emit() 272 OUT_PKT0(ring, REG_A3XX_SP_VS_VPC_DST_REG(i), 1); in fd3_program_emit() 282 OUT_PKT0(ring, REG_A3XX_SP_VS_OBJ_OFFSET_REG, 2); in fd3_program_emit() 288 OUT_PKT0(ring, REG_A3XX_SP_FS_LENGTH_REG, 1); in fd3_program_emit() 291 OUT_PKT0(ring, REG_A3XX_SP_FS_CTRL_REG0, 2); in fd3_program_emit() 296 OUT_PKT0(ring, REG_A3XX_SP_FS_OBJ_OFFSET_REG, 1); in fd3_program_emit() [all …]
|
D | fd3_query.c | 60 OUT_PKT0(ring, REG_A3XX_RB_SAMPLE_COUNT_CONTROL, 1); in occlusion_get_sample() 71 OUT_PKT0(ring, REG_A3XX_RBBM_PERFCTR_CTL, 1); in occlusion_get_sample() 74 OUT_PKT0(ring, REG_A3XX_VBIF_PERF_CNT_EN, 1); in occlusion_get_sample()
|
D | fd3_draw.c | 66 OUT_PKT0(ring, REG_A3XX_PC_VERTEX_REUSE_BLOCK_CNTL, 1); in draw_impl() 69 OUT_PKT0(ring, REG_A3XX_VFD_INDEX_MIN, 4); in draw_impl() 82 OUT_PKT0(ring, REG_A3XX_PC_RESTART_INDEX, 1); in draw_impl()
|
D | fd3_emit.h | 113 OUT_PKT0(ring, REG_A3XX_UCHE_CACHE_INVALIDATE0_REG, 2); in fd3_emit_cache_flush()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_gmem.c | 124 OUT_PKT0(ring, REG_A4XX_RB_MRT_BUF_INFO(i), 3); in emit_mrt() 192 OUT_PKT0(ring, REG_A4XX_RB_COPY_CONTROL, 4); in emit_gmem2mem_surf() 222 OUT_PKT0(ring, REG_A4XX_RB_DEPTH_CONTROL, 1); in fd4_emit_tile_gmem2mem() 225 OUT_PKT0(ring, REG_A4XX_RB_STENCIL_CONTROL, 2); in fd4_emit_tile_gmem2mem() 236 OUT_PKT0(ring, REG_A4XX_RB_STENCILREFMASK, 2); in fd4_emit_tile_gmem2mem() 244 OUT_PKT0(ring, REG_A4XX_GRAS_SU_MODE_CONTROL, 1); in fd4_emit_tile_gmem2mem() 249 OUT_PKT0(ring, REG_A4XX_GRAS_CL_CLIP_CNTL, 1); in fd4_emit_tile_gmem2mem() 252 OUT_PKT0(ring, REG_A4XX_GRAS_CL_VPORT_XOFFSET_0, 6); in fd4_emit_tile_gmem2mem() 260 OUT_PKT0(ring, REG_A4XX_RB_RENDER_CONTROL, 1); in fd4_emit_tile_gmem2mem() 263 OUT_PKT0(ring, REG_A4XX_GRAS_SC_CONTROL, 1); in fd4_emit_tile_gmem2mem() [all …]
|
D | fd4_emit.c | 355 OUT_PKT0(ring, bcolor_reg[sb], 1); in emit_textures() 462 OUT_PKT0(ring, REG_A4XX_RB_RENDER_COMPONENTS, 1); in fd4_emit_gmem_restore_tex() 574 OUT_PKT0(ring, REG_A4XX_VFD_FETCH(j), 4); in fd4_emit_vertex_bufs() 585 OUT_PKT0(ring, REG_A4XX_VFD_DECODE_INSTR(j), 1); in fd4_emit_vertex_bufs() 612 OUT_PKT0(ring, REG_A4XX_VFD_FETCH(0), 4); in fd4_emit_vertex_bufs() 620 OUT_PKT0(ring, REG_A4XX_VFD_DECODE_INSTR(0), 1); in fd4_emit_vertex_bufs() 634 OUT_PKT0(ring, REG_A4XX_VFD_CONTROL_0, 5); in fd4_emit_vertex_bufs() 649 OUT_PKT0(ring, REG_A4XX_UCHE_INVALIDATE0, 2); in fd4_emit_vertex_bufs() 672 OUT_PKT0(ring, REG_A4XX_RB_RENDER_COMPONENTS, 1); in fd4_emit_state() 691 OUT_PKT0(ring, REG_A4XX_RB_ALPHA_CONTROL, 1); in fd4_emit_state() [all …]
|
D | fd4_compute.c | 50 OUT_PKT0(ring, REG_A4XX_SP_SP_CTRL_REG, 1); in cs_program_emit() 53 OUT_PKT0(ring, REG_A4XX_HLSQ_CONTROL_0_REG, 1); in cs_program_emit() 58 OUT_PKT0(ring, REG_A4XX_SP_CS_CTRL_REG0, 1); in cs_program_emit() 64 OUT_PKT0(ring, REG_A4XX_HLSQ_UPDATE_CONTROL, 1); in cs_program_emit() 67 OUT_PKT0(ring, REG_A4XX_HLSQ_CS_CONTROL_REG, 1); in cs_program_emit() 87 OUT_PKT0(ring, REG_A4XX_HLSQ_CL_CONTROL_0, 2); in cs_program_emit() 94 OUT_PKT0(ring, REG_A4XX_HLSQ_CL_KERNEL_CONST, 1); in cs_program_emit() 98 OUT_PKT0(ring, REG_A4XX_HLSQ_CL_WG_OFFSET, 1); in cs_program_emit() 101 OUT_PKT0(ring, REG_A4XX_HLSQ_MODE_CONTROL, 1); in cs_program_emit() 104 OUT_PKT0(ring, REG_A4XX_HLSQ_UPDATE_CONTROL, 1); in cs_program_emit() [all …]
|
D | fd4_program.c | 217 OUT_PKT0(ring, REG_A4XX_HLSQ_UPDATE_CONTROL, 1); in fd4_program_emit() 220 OUT_PKT0(ring, REG_A4XX_HLSQ_CONTROL_0_REG, 5); in fd4_program_emit() 249 OUT_PKT0(ring, REG_A4XX_HLSQ_VS_CONTROL_REG, 5); in fd4_program_emit() 283 OUT_PKT0(ring, REG_A4XX_SP_SP_CTRL_REG, 1); in fd4_program_emit() 288 OUT_PKT0(ring, REG_A4XX_SP_INSTR_CACHE_CTRL, 1); in fd4_program_emit() 295 OUT_PKT0(ring, REG_A4XX_SP_VS_LENGTH_REG, 1); in fd4_program_emit() 298 OUT_PKT0(ring, REG_A4XX_SP_VS_CTRL_REG0, 3); in fd4_program_emit() 321 OUT_PKT0(ring, REG_A4XX_SP_VS_OUT_REG(i), 1); in fd4_program_emit() 337 OUT_PKT0(ring, REG_A4XX_SP_VS_VPC_DST_REG(i), 1); in fd4_program_emit() 347 OUT_PKT0(ring, REG_A4XX_SP_VS_OBJ_OFFSET_REG, 2); in fd4_program_emit() [all …]
|
D | fd4_draw.c | 54 OUT_PKT0(ring, REG_A4XX_VFD_INDEX_OFFSET, 2); in draw_impl() 59 OUT_PKT0(ring, REG_A4XX_PC_RESTART_INDEX, 1); in draw_impl()
|
D | fd4_query.c | 119 OUT_PKT0(ring, REG_A4XX_CP_PERFCTR_CP_SEL_0, 1); in time_elapsed_enable()
|
/third_party/mesa3d/src/freedreno/computerator/ |
D | a4xx.c | 72 OUT_PKT0(ring, REG_A4XX_UCHE_INVALIDATE0, 2); in cs_program_emit() 78 OUT_PKT0(ring, REG_A4XX_SP_MODE_CONTROL, 1); in cs_program_emit() 81 OUT_PKT0(ring, REG_A4XX_TPL1_TP_MODE_CONTROL, 1); in cs_program_emit() 84 OUT_PKT0(ring, REG_A4XX_TPL1_TP_FS_TEX_COUNT, 1); in cs_program_emit() 89 OUT_PKT0(ring, REG_A4XX_HLSQ_MODE_CONTROL, 1); in cs_program_emit() 92 OUT_PKT0(ring, REG_A4XX_HLSQ_CONTROL_0_REG, 1); in cs_program_emit() 95 OUT_PKT0(ring, REG_A4XX_HLSQ_UPDATE_CONTROL, 1); in cs_program_emit() 98 OUT_PKT0(ring, REG_A4XX_SP_SP_CTRL_REG, 1); in cs_program_emit() 102 OUT_PKT0(ring, REG_A4XX_SP_INSTR_CACHE_CTRL, 1); in cs_program_emit() 106 OUT_PKT0(ring, REG_A4XX_SP_FS_CTRL_REG1, 1); in cs_program_emit() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.c | 407 OUT_PKT0(ring, REG_A2XX_RB_BC_CONTROL, 1); in fd2_emit_restore() 433 OUT_PKT0(ring, REG_A2XX_CP_PERFMON_CNTL, 1); in fd2_emit_restore() 437 OUT_PKT0(ring, REG_A2XX_RBBM_PM_OVERRIDE1, 2); in fd2_emit_restore() 441 OUT_PKT0(ring, REG_A2XX_TP0_CHICKEN, 1); in fd2_emit_restore() 521 OUT_PKT0(ring, REG_A2XX_SQ_INST_STORE_MANAGMENT, 1); in fd2_emit_restore()
|
D | fd2_query.c | 94 OUT_PKT0(ring, g->counters[counter_idx].select_reg, 1); in perfcntr_resume()
|
D | fd2_draw.c | 88 OUT_PKT0(ring, REG_A2XX_TC_CNTL_STATUS, 1); in draw_impl() 241 OUT_PKT0(ring, REG_A2XX_TC_CNTL_STATUS, 1); in clear_state()
|
D | fd2_gmem.c | 320 OUT_PKT0(ring, REG_A2XX_TC_CNTL_STATUS, 1); in fd2_emit_tile_mem2gmem()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | fdperf.c | 243 OUT_PKT0(ring, group->group->counters[ctr].enable, 1); in select_counter() 248 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter() 251 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter() 255 OUT_PKT0(ring, group->group->counters[ctr].select_reg, 1); in select_counter() 259 OUT_PKT0(ring, group->group->counters[ctr].enable, 1); in select_counter()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_draw.h | 68 OUT_PKT0(ring, 0x2206, 1); /* A3XX_HLSQ_CONST_VSPRESV_RANGE_REG */ in fd_draw()
|
D | freedreno_util.h | 410 OUT_PKT0(ring, reg, 1); in emit_marker()
|
D | freedreno_query_hw.c | 371 OUT_PKT0(ring, HW_QUERY_BASE_REG, 1); in fd_hw_query_prepare_tile()
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer.h | 324 OUT_PKT0(struct fd_ringbuffer *ring, uint16_t regindx, uint16_t cnt) in OUT_PKT0() function
|