/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_emit.c | 88 OUT_RING(ring, base); in emit_constants() 90 OUT_RING(ring, *(dwords++)); in emit_constants() 100 OUT_RING(ring, start_base + (4 * (shader->first_immediate + i))); in emit_constants() 101 OUT_RING(ring, shader->immediates[i].val[0]); in emit_constants() 102 OUT_RING(ring, shader->immediates[i].val[1]); in emit_constants() 103 OUT_RING(ring, shader->immediates[i].val[2]); in emit_constants() 104 OUT_RING(ring, shader->immediates[i].val[3]); in emit_constants() 135 OUT_RING(ring, 0x00010000 + (0x6 * const_idx)); in emit_texture() 137 OUT_RING(ring, sampler->tex0 | view->tex0); in emit_texture() 141 OUT_RING(ring, 0); in emit_texture() [all …]
|
D | fd2_draw.c | 49 OUT_RING(ring, CACHE_FLUSH); in emit_cacheflush() 85 OUT_RING(ring, CP_REG(REG_A2XX_VGT_INDX_OFFSET)); in draw_impl() 86 OUT_RING(ring, info->index_size ? 0 : draw->start); in draw_impl() 89 OUT_RING(ring, A2XX_TC_CNTL_STATUS_L2_INVALIDATE); in draw_impl() 101 OUT_RING(ring, 0x000005d0); /* RBBM_STATUS */ in draw_impl() 102 OUT_RING(ring, 0x00000000); in draw_impl() 103 OUT_RING(ring, 0x00001000); /* bit: 12: VGT_BUSY_NO_DMA */ in draw_impl() 104 OUT_RING(ring, 0x00000001); in draw_impl() 107 OUT_RING(ring, 0x00000000); in draw_impl() 108 OUT_RING(ring, 0x0003c004); in draw_impl() [all …]
|
D | fd2_gmem.c | 105 OUT_RING(ring, CP_REG(REG_A2XX_RB_COLOR_INFO)); in emit_gmem2mem_surf() 106 OUT_RING(ring, A2XX_RB_COLOR_INFO_BASE(base) | in emit_gmem2mem_surf() 110 OUT_RING(ring, CP_REG(REG_A2XX_RB_COPY_CONTROL)); in emit_gmem2mem_surf() 111 OUT_RING(ring, 0x00000000); /* RB_COPY_CONTROL */ in emit_gmem2mem_surf() 113 OUT_RING(ring, pitch >> 5); /* RB_COPY_DEST_PITCH */ in emit_gmem2mem_surf() 114 OUT_RING(ring, /* RB_COPY_DEST_INFO */ in emit_gmem2mem_surf() 126 OUT_RING(ring, CP_REG(REG_A2XX_VGT_MAX_VTX_INDX)); in emit_gmem2mem_surf() 127 OUT_RING(ring, 3); /* VGT_MAX_VTX_INDX */ in emit_gmem2mem_surf() 128 OUT_RING(ring, 0); /* VGT_MIN_VTX_INDX */ in emit_gmem2mem_surf() 155 OUT_RING(ring, CP_REG(REG_A2XX_PA_SC_WINDOW_OFFSET)); in prepare_tile_fini_ib() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_emit.c | 65 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid / 4) | in fd5_emit_const_user() 69 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd5_emit_const_user() 71 OUT_RING(ring, CP_LOAD_STATE4_2_EXT_SRC_ADDR_HI(0)); in fd5_emit_const_user() 73 OUT_RING(ring, ((uint32_t *)dwords)[i]); in fd5_emit_const_user() 89 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(dst_off) | in fd5_emit_const_bo() 107 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid / 4) | in fd5_emit_const_ptrs() 111 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd5_emit_const_ptrs() 113 OUT_RING(ring, CP_LOAD_STATE4_2_EXT_SRC_ADDR_HI(0)); in fd5_emit_const_ptrs() 119 OUT_RING(ring, 0xbad00000 | (i << 16)); in fd5_emit_const_ptrs() 120 OUT_RING(ring, 0xbad00000 | (i << 16)); in fd5_emit_const_ptrs() [all …]
|
D | fd5_gmem.c | 99 OUT_RING( in emit_mrt() 107 OUT_RING(ring, A5XX_RB_MRT_PITCH(stride)); in emit_mrt() 108 OUT_RING(ring, A5XX_RB_MRT_ARRAY_PITCH(size)); in emit_mrt() 110 OUT_RING(ring, base); /* RB_MRT[i].BASE_LO */ in emit_mrt() 111 OUT_RING(ring, 0x00000000); /* RB_MRT[i].BASE_HI */ in emit_mrt() 117 OUT_RING(ring, A5XX_SP_FS_MRT_REG_COLOR_FORMAT(format) | in emit_mrt() 126 OUT_RING(ring, 0x00000000); /* RB_MRT_FLAG_BUFFER[i].ADDR_LO */ in emit_mrt() 127 OUT_RING(ring, 0x00000000); /* RB_MRT_FLAG_BUFFER[i].ADDR_HI */ in emit_mrt() 128 OUT_RING(ring, A5XX_RB_MRT_FLAG_BUFFER_PITCH(0)); in emit_mrt() 129 OUT_RING(ring, A5XX_RB_MRT_FLAG_BUFFER_ARRAY_PITCH(0)); in emit_mrt() [all …]
|
D | fd5_blitter.c | 157 OUT_RING(ring, 0x00000008); in emit_setup() 160 OUT_RING(ring, 0x86000000); /* RB_2D_BLIT_CNTL */ in emit_setup() 163 OUT_RING(ring, 0x86000000); /* 2D_BLIT_CNTL */ in emit_setup() 166 OUT_RING(ring, 0x00000009); /* UNKNOWN_2184 */ in emit_setup() 169 OUT_RING(ring, A5XX_RB_CNTL_BYPASS); in emit_setup() 172 OUT_RING(ring, 0x00000004); /* RB_MODE_CNTL */ in emit_setup() 175 OUT_RING(ring, 0x0000000c); /* SP_MODE_CNTL */ in emit_setup() 178 OUT_RING(ring, 0x00000344); /* TPL1_MODE_CNTL */ in emit_setup() 181 OUT_RING(ring, 0x00000002); /* HLSQ_MODE_CNTL */ in emit_setup() 184 OUT_RING(ring, 0x00000181); /* GRAS_CL_CNTL */ in emit_setup() [all …]
|
D | fd5_compute.c | 50 OUT_RING(ring, 0x00000000); /* SP_SP_CNTL */ in cs_program_emit() 53 OUT_RING(ring, A5XX_HLSQ_CONTROL_0_REG_FSTHREADSIZE(TWO_QUADS) | in cs_program_emit() 58 OUT_RING(ring, in cs_program_emit() 67 OUT_RING(ring, A5XX_HLSQ_CS_CONFIG_CONSTOBJECTOFFSET(0) | in cs_program_emit() 72 OUT_RING(ring, A5XX_HLSQ_CS_CNTL_INSTRLEN(instrlen) | in cs_program_emit() 76 OUT_RING(ring, A5XX_SP_CS_CONFIG_CONSTOBJECTOFFSET(0) | in cs_program_emit() 83 OUT_RING(ring, constlen); /* HLSQ_CS_CONSTLEN */ in cs_program_emit() 84 OUT_RING(ring, instrlen); /* HLSQ_CS_INSTRLEN */ in cs_program_emit() 90 OUT_RING(ring, 0x1f00000); in cs_program_emit() 98 OUT_RING(ring, A5XX_HLSQ_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit() [all …]
|
D | fd5_program.c | 62 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(0) | in fd5_emit_shader() 67 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd5_emit_shader() 69 OUT_RING(ring, CP_LOAD_STATE4_2_EXT_SRC_ADDR_HI(0)); in fd5_emit_shader() 80 OUT_RING(ring, bin[i]); in fd5_emit_shader() 131 OUT_RING(ring, REG_A5XX_VPC_SO_BUF_CNTL); in emit_stream_out() 132 OUT_RING(ring, A5XX_VPC_SO_BUF_CNTL_ENABLE | in emit_stream_out() 137 OUT_RING(ring, REG_A5XX_VPC_SO_NCOMP(0)); in emit_stream_out() 138 OUT_RING(ring, ncomp[0]); in emit_stream_out() 139 OUT_RING(ring, REG_A5XX_VPC_SO_NCOMP(1)); in emit_stream_out() 140 OUT_RING(ring, ncomp[1]); in emit_stream_out() [all …]
|
D | fd5_image.c | 142 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(slot) | in emit_image_tex() 146 OUT_RING(ring, CP_LOAD_STATE4_1_STATE_TYPE(ST4_CONSTANTS) | in emit_image_tex() 148 OUT_RING(ring, CP_LOAD_STATE4_2_EXT_SRC_ADDR_HI(0)); in emit_image_tex() 150 OUT_RING(ring, A5XX_TEX_CONST_0_FMT(img->fmt) | in emit_image_tex() 154 OUT_RING(ring, A5XX_TEX_CONST_1_WIDTH(img->width) | in emit_image_tex() 156 OUT_RING(ring, in emit_image_tex() 160 OUT_RING(ring, A5XX_TEX_CONST_3_ARRAY_PITCH(img->array_pitch)); in emit_image_tex() 165 OUT_RING(ring, 0x00000000); in emit_image_tex() 166 OUT_RING(ring, A5XX_TEX_CONST_5_DEPTH(img->depth)); in emit_image_tex() 168 OUT_RING(ring, 0x00000000); in emit_image_tex() [all …]
|
D | fd5_draw.c | 55 OUT_RING(ring, info->index_size ? emit->draw->index_bias in draw_impl() 57 OUT_RING(ring, info->start_instance); /* VFD_INSTANCE_START_OFFSET */ in draw_impl() 60 OUT_RING(ring, info->primitive_restart ? /* PC_RESTART_INDEX */ in draw_impl() 176 OUT_RING(ring, 0x10000000); in fd5_clear_lrz() 179 OUT_RING(ring, 0x20fffff); in fd5_clear_lrz() 182 OUT_RING(ring, in fd5_clear_lrz() 188 OUT_RING(ring, 0x00000000); in fd5_clear_lrz() 191 OUT_RING(ring, 0x00000181); in fd5_clear_lrz() 194 OUT_RING(ring, 0x00000000); in fd5_clear_lrz() 197 OUT_RING(ring, A5XX_RB_MRT_BUF_INFO_COLOR_FORMAT(RB5_R16_UNORM) | in fd5_clear_lrz() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_emit.c | 63 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid / 4) | in fd4_emit_const_user() 67 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd4_emit_const_user() 70 OUT_RING(ring, dwords[i]); in fd4_emit_const_user() 86 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(dst_off) | in fd4_emit_const_bo() 104 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(regid / 4) | in fd4_emit_const_ptrs() 108 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd4_emit_const_ptrs() 115 OUT_RING(ring, 0xbad00000 | (i << 16)); in fd4_emit_const_ptrs() 120 OUT_RING(ring, 0xffffffff); in fd4_emit_const_ptrs() 179 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(0) | in emit_textures() 183 OUT_RING(ring, CP_LOAD_STATE4_1_STATE_TYPE(ST4_SHADER) | in emit_textures() [all …]
|
D | fd4_gmem.c | 125 OUT_RING(ring, A4XX_RB_MRT_BUF_INFO_COLOR_FORMAT(format) | in emit_mrt() 131 OUT_RING(ring, base); in emit_mrt() 132 OUT_RING(ring, A4XX_RB_MRT_CONTROL3_STRIDE(stride)); in emit_mrt() 139 OUT_RING(ring, A4XX_RB_MRT_CONTROL3_STRIDE(0)); in emit_mrt() 193 OUT_RING(ring, A4XX_RB_COPY_CONTROL_MSAA_RESOLVE(MSAA_ONE) | in emit_gmem2mem_surf() 197 OUT_RING(ring, A4XX_RB_COPY_DEST_PITCH_PITCH(pitch)); in emit_gmem2mem_surf() 198 OUT_RING(ring, A4XX_RB_COPY_DEST_INFO_TILE(TILE4_LINEAR) | in emit_gmem2mem_surf() 223 OUT_RING(ring, A4XX_RB_DEPTH_CONTROL_ZFUNC(FUNC_NEVER)); in fd4_emit_tile_gmem2mem() 226 OUT_RING(ring, A4XX_RB_STENCIL_CONTROL_FUNC(FUNC_NEVER) | in fd4_emit_tile_gmem2mem() 234 OUT_RING(ring, 0x00000000); /* RB_STENCIL_CONTROL2 */ in fd4_emit_tile_gmem2mem() [all …]
|
D | fd4_compute.c | 51 OUT_RING(ring, 0x00860010); /* SP_SP_CTRL_REG */ in cs_program_emit() 54 OUT_RING(ring, A4XX_HLSQ_CONTROL_0_REG_FSTHREADSIZE(TWO_QUADS) | in cs_program_emit() 59 OUT_RING(ring, A4XX_SP_CS_CTRL_REG0_THREADSIZE(thrsz) | in cs_program_emit() 65 OUT_RING(ring, 0x00000038); /* HLSQ_UPDATE_CONTROL */ in cs_program_emit() 68 OUT_RING(ring, A4XX_HLSQ_CS_CONTROL_REG_CONSTOBJECTOFFSET(0) | in cs_program_emit() 88 OUT_RING(ring, A4XX_HLSQ_CL_CONTROL_0_WGIDCONSTID(work_group_id) | in cs_program_emit() 91 OUT_RING(ring, A4XX_HLSQ_CL_CONTROL_1_UNK0CONSTID(unused_id) | in cs_program_emit() 95 OUT_RING(ring, A4XX_HLSQ_CL_KERNEL_CONST_UNK0CONSTID(unused_id) | in cs_program_emit() 99 OUT_RING(ring, A4XX_HLSQ_CL_WG_OFFSET_UNK0CONSTID(unused_id)); in cs_program_emit() 102 OUT_RING(ring, 0x00000003); /* HLSQ_MODE_CONTROL */ in cs_program_emit() [all …]
|
D | fd4_image.c | 158 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(slot) | in emit_image_tex() 162 OUT_RING(ring, CP_LOAD_STATE4_1_STATE_TYPE(ST4_CONSTANTS) | in emit_image_tex() 165 OUT_RING(ring, A4XX_TEX_CONST_0_FMT(img->texfmt) | in emit_image_tex() 170 OUT_RING(ring, A4XX_TEX_CONST_1_WIDTH(img->width) | in emit_image_tex() 172 OUT_RING(ring, A4XX_TEX_CONST_2_PITCHALIGN(img->pitchalign) | in emit_image_tex() 175 OUT_RING(ring, A4XX_TEX_CONST_3_DEPTH(img->depth) | in emit_image_tex() 180 OUT_RING(ring, 0x00000000); in emit_image_tex() 182 OUT_RING(ring, 0x00000000); in emit_image_tex() 183 OUT_RING(ring, 0x00000000); in emit_image_tex() 184 OUT_RING(ring, 0x00000000); in emit_image_tex() [all …]
|
D | fd4_program.c | 59 OUT_RING(ring, CP_LOAD_STATE4_0_DST_OFF(0) | in fd4_emit_shader() 64 OUT_RING(ring, CP_LOAD_STATE4_1_EXT_SRC_ADDR(0) | in fd4_emit_shader() 76 OUT_RING(ring, bin[i]); in fd4_emit_shader() 218 OUT_RING(ring, 0x00000003); in fd4_program_emit() 221 OUT_RING(ring, A4XX_HLSQ_CONTROL_0_REG_FSTHREADSIZE(fssz) | in fd4_program_emit() 230 OUT_RING(ring, A4XX_HLSQ_CONTROL_1_REG_VSTHREADSIZE(TWO_QUADS) | in fd4_program_emit() 234 OUT_RING(ring, A4XX_HLSQ_CONTROL_2_REG_PRIMALLOCTHRESHOLD(63) | in fd4_program_emit() 239 OUT_RING( in fd4_program_emit() 247 OUT_RING(ring, 0x00fcfcfc); /* XXX HLSQ_CONTROL_4 */ in fd4_program_emit() 250 OUT_RING(ring, in fd4_program_emit() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_gmem.c | 123 OUT_RING(ring, A3XX_RB_MRT_BUF_INFO_COLOR_FORMAT(format) | in emit_mrt() 129 OUT_RING(ring, A3XX_RB_MRT_BUF_BASE_COLOR_BUF_BASE(base)); in emit_mrt() 135 OUT_RING(ring, COND((i < nr_bufs) && bufs[i], in emit_mrt() 193 OUT_RING(ring, A3XX_RB_MODE_CONTROL_RENDER_MODE(RB_RESOLVE_PASS) | in emit_binning_workaround() 196 OUT_RING(ring, A3XX_RB_RENDER_CONTROL_BIN_WIDTH(32) | in emit_binning_workaround() 201 OUT_RING(ring, A3XX_RB_COPY_CONTROL_MSAA_RESOLVE(MSAA_ONE) | in emit_binning_workaround() 206 OUT_RING(ring, A3XX_RB_COPY_DEST_PITCH_PITCH(128)); in emit_binning_workaround() 207 OUT_RING(ring, A3XX_RB_COPY_DEST_INFO_TILE(LINEAR) | in emit_binning_workaround() 214 OUT_RING(ring, A3XX_GRAS_SC_CONTROL_RENDER_MODE(RB_RESOLVE_PASS) | in emit_binning_workaround() 222 OUT_RING(ring, A3XX_HLSQ_CONTROL_0_REG_FSTHREADSIZE(FOUR_QUADS) | in emit_binning_workaround() [all …]
|
D | fd3_emit.c | 67 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(regid / 2) | in fd3_emit_const_user() 71 OUT_RING(ring, CP_LOAD_STATE_1_EXT_SRC_ADDR(0) | in fd3_emit_const_user() 74 OUT_RING(ring, dwords[i]); in fd3_emit_const_user() 94 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(dst_off) | in fd3_emit_const_bo() 112 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(regid / 2) | in fd3_emit_const_ptrs() 116 OUT_RING(ring, CP_LOAD_STATE_1_EXT_SRC_ADDR(0) | in fd3_emit_const_ptrs() 123 OUT_RING(ring, 0xbad00000 | (i << 16)); in fd3_emit_const_ptrs() 128 OUT_RING(ring, 0xffffffff); in fd3_emit_const_ptrs() 174 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(tex_off[sb]) | in emit_textures() 178 OUT_RING(ring, CP_LOAD_STATE_1_STATE_TYPE(ST_SHADER) | in emit_textures() [all …]
|
D | fd3_program.c | 79 OUT_RING(ring, CP_LOAD_STATE_0_DST_OFF(0) | CP_LOAD_STATE_0_STATE_SRC(src) | in emit_shader() 83 OUT_RING(ring, CP_LOAD_STATE_1_EXT_SRC_ADDR(0) | in emit_shader() 89 OUT_RING(ring, bin[i]); in emit_shader() 196 OUT_RING(ring, A3XX_HLSQ_CONTROL_0_REG_FSTHREADSIZE(FOUR_QUADS) | in fd3_program_emit() 205 OUT_RING(ring, A3XX_HLSQ_CONTROL_1_REG_VSTHREADSIZE(TWO_QUADS) | in fd3_program_emit() 209 OUT_RING(ring, A3XX_HLSQ_CONTROL_2_REG_PRIMALLOCTHRESHOLD(31) | in fd3_program_emit() 211 OUT_RING(ring, in fd3_program_emit() 216 OUT_RING(ring, A3XX_HLSQ_VS_CONTROL_REG_CONSTLENGTH(vp->constlen) | in fd3_program_emit() 219 OUT_RING(ring, A3XX_HLSQ_FS_CONTROL_REG_CONSTLENGTH(fp->constlen) | in fd3_program_emit() 224 OUT_RING(ring, A3XX_SP_SP_CTRL_REG_CONSTMODE(constmode) | in fd3_program_emit() [all …]
|
/third_party/mesa3d/src/freedreno/computerator/ |
D | a4xx.c | 73 OUT_RING(ring, 0x00000000); in cs_program_emit() 74 OUT_RING(ring, 0x00000012); in cs_program_emit() 79 OUT_RING(ring, 0x0000001e); in cs_program_emit() 82 OUT_RING(ring, 0x00000038); in cs_program_emit() 85 OUT_RING(ring, 0x00000000); in cs_program_emit() 90 OUT_RING(ring, 0x00000003); in cs_program_emit() 93 OUT_RING(ring, 0x080005f0); in cs_program_emit() 96 OUT_RING(ring, 0x00000038); in cs_program_emit() 99 OUT_RING(ring, 0x00860010); in cs_program_emit() 103 OUT_RING(ring, 0x000004ff); in cs_program_emit() [all …]
|
D | a6xx.c | 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() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blitter.c | 248 OUT_RING(ring, A6XX_RB_CCU_CNTL_COLOR_OFFSET(screen->ccu_offset_bypass)); in emit_setup() 272 OUT_RING(ring, blit_cntl); in emit_blit_setup() 275 OUT_RING(ring, blit_cntl); in emit_blit_setup() 285 OUT_RING( in emit_blit_setup() 294 OUT_RING(ring, unknown_8c01); in emit_blit_setup() 367 OUT_RING(ring, A6XX_SP_PS_2D_SRC_INFO_COLOR_FORMAT(FMT6_8_UNORM) | in emit_blit_buffer() 370 OUT_RING(ring, in emit_blit_buffer() 374 OUT_RING(ring, A6XX_SP_PS_2D_SRC_PITCH_PITCH(p)); in emit_blit_buffer() 376 OUT_RING(ring, 0x00000000); in emit_blit_buffer() 377 OUT_RING(ring, 0x00000000); in emit_blit_buffer() [all …]
|
D | fd6_program.c | 126 OUT_RING(ring, so->instrlen); in fd6_emit_shader() 129 OUT_RING(ring, 0); /* SP_xS_OBJ_FIRST_EXEC_OFFSET */ in fd6_emit_shader() 131 OUT_RING(ring, A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM(per_fiber_size)); in fd6_emit_shader() 135 OUT_RING(ring, 0); in fd6_emit_shader() 136 OUT_RING(ring, 0); in fd6_emit_shader() 138 OUT_RING(ring, A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(per_sp_size) | in fd6_emit_shader() 143 OUT_RING(ring, A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET(per_sp_size)); in fd6_emit_shader() 149 OUT_RING(ring, CP_LOAD_STATE6_0_DST_OFF(0) | in fd6_emit_shader() 173 OUT_RING(ring, REG_A6XX_VPC_SO_CNTL); in setup_stream_out_disable() 174 OUT_RING(ring, 0); in setup_stream_out_disable() [all …]
|
D | fd6_compute.c | 54 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_CONSTLEN(v->constlen) | in cs_program_emit() 58 OUT_RING(ring, A6XX_SP_CS_CONFIG_ENABLED | in cs_program_emit() 62 OUT_RING(ring, v->instrlen); /* SP_VS_INSTRLEN */ in cs_program_emit() 65 OUT_RING(ring, in cs_program_emit() 74 OUT_RING(ring, A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE(shared_size) | in cs_program_emit() 79 OUT_RING(ring, A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE(shared_size) | in cs_program_emit() 89 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit() 93 OUT_RING(ring, A6XX_HLSQ_CS_CNTL_1_LINEARLOCALIDREGID(regid(63, 0)) | in cs_program_emit() 98 OUT_RING(ring, A6XX_SP_CS_CNTL_0_WGIDCONSTID(work_group_id) | in cs_program_emit() 102 OUT_RING(ring, A6XX_SP_CS_CNTL_1_LINEARLOCALIDREGID(regid(63, 0)) | in cs_program_emit() [all …]
|
D | fd6_gmem.c | 62 OUT_RING(ring, A6XX_RB_MRT_FLAG_BUFFER_PITCH_PITCH( in fd6_emit_flag_reference() 67 OUT_RING(ring, 0x00000000); /* RB_MRT_FLAG_BUFFER[i].ADDR_LO */ in fd6_emit_flag_reference() 68 OUT_RING(ring, 0x00000000); /* RB_MRT_FLAG_BUFFER[i].ADDR_HI */ in fd6_emit_flag_reference() 69 OUT_RING(ring, 0x00000000); in fd6_emit_flag_reference() 191 OUT_RING(ring, 0x00000000); in emit_zs() 192 OUT_RING(ring, 0x00000000); in emit_zs() 193 OUT_RING(ring, 0x00000000); /* GRAS_LRZ_BUFFER_PITCH */ in emit_zs() 194 OUT_RING(ring, 0x00000000); /* GRAS_LRZ_FAST_CLEAR_BUFFER_BASE_LO */ in emit_zs() 195 OUT_RING(ring, 0x00000000); in emit_zs() 202 OUT_RING(ring, CP_EVENT_WRITE_0_EVENT(LRZ_CLEAR)); in emit_zs() [all …]
|
D | fd6_draw.c | 62 OUT_RING(ring, pack_CP_DRAW_INDX_OFFSET_0(*draw0).value); in draw_emit_xfb() 63 OUT_RING(ring, info->instance_count); in draw_emit_xfb() 65 OUT_RING( in draw_emit_xfb() 68 OUT_RING(ring, target->stride); in draw_emit_xfb() 276 OUT_RING(ring, subdraw_size); in fd6_draw_vbo() 284 OUT_RING(ring, index_start); /* VFD_INDEX_OFFSET */ in fd6_draw_vbo() 290 OUT_RING(ring, info->start_instance); /* VFD_INSTANCE_START_OFFSET */ in fd6_draw_vbo() 298 OUT_RING(ring, restart_index); /* PC_RESTART_INDEX */ in fd6_draw_vbo() 352 OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_BYPASS)); in fd6_clear_lrz() 369 OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_BLIT2DSCALE)); in fd6_clear_lrz() [all …]
|