Home
last modified time | relevance | path

Searched refs:radeon_emit (Results 1 – 25 of 47) sorted by relevance

12

/third_party/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c78 radeon_emit(cs, 0); in si_emit_compute()
79 radeon_emit(cs, 0); in si_emit_compute()
80 radeon_emit(cs, 0); in si_emit_compute()
88 radeon_emit(cs, S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_compute()
89 radeon_emit(cs, S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_compute()
94 radeon_emit(cs, S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_compute()
95 radeon_emit(cs, S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_compute()
101 radeon_emit(cs, bc_va >> 8); in si_emit_compute()
102 radeon_emit(cs, S_030E04_ADDRESS(bc_va >> 40)); in si_emit_compute()
113 radeon_emit(cs, 0); /* R_00B890_COMPUTE_USER_ACCUM_0 */ in si_emit_compute()
[all …]
Dradv_cs.h48 radeon_emit(cs, PKT3(PKT3_SET_CONFIG_REG, num, 0)); in radeon_set_config_reg_seq()
49 radeon_emit(cs, (reg - SI_CONFIG_REG_OFFSET) >> 2); in radeon_set_config_reg_seq()
56 radeon_emit(cs, value); in radeon_set_config_reg()
65 radeon_emit(cs, PKT3(PKT3_SET_CONTEXT_REG, num, 0)); in radeon_set_context_reg_seq()
66 radeon_emit(cs, (reg - SI_CONTEXT_REG_OFFSET) >> 2); in radeon_set_context_reg_seq()
73 radeon_emit(cs, value); in radeon_set_context_reg()
81 radeon_emit(cs, PKT3(PKT3_SET_CONTEXT_REG, 1, 0)); in radeon_set_context_reg_idx()
82 radeon_emit(cs, (reg - SI_CONTEXT_REG_OFFSET) >> 2 | (idx << 28)); in radeon_set_context_reg_idx()
83 radeon_emit(cs, value); in radeon_set_context_reg_idx()
91 radeon_emit(cs, PKT3(PKT3_CONTEXT_REG_RMW, 2, 0)); in radeon_set_context_reg_rmw()
[all …]
Dradv_sqtt.c184 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in radv_emit_thread_trace_start()
185 radeon_emit(cs, EVENT_TYPE(V_028A90_THREAD_TRACE_START) | EVENT_INDEX(0)); in radv_emit_thread_trace_start()
228 radeon_emit(cs, PKT3(PKT3_COPY_DATA, 4, 0)); in radv_copy_thread_trace_info_regs()
229 radeon_emit(cs, COPY_DATA_SRC_SEL(COPY_DATA_PERF) | COPY_DATA_DST_SEL(COPY_DATA_TC_L2) | in radv_copy_thread_trace_info_regs()
231 radeon_emit(cs, thread_trace_info_regs[i] >> 2); in radv_copy_thread_trace_info_regs()
232 radeon_emit(cs, 0); /* unused */ in radv_copy_thread_trace_info_regs()
233 radeon_emit(cs, (info_va + i * 4)); in radv_copy_thread_trace_info_regs()
234 radeon_emit(cs, (info_va + i * 4) >> 32); in radv_copy_thread_trace_info_regs()
249 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in radv_emit_thread_trace_stop()
250 radeon_emit(cs, EVENT_TYPE(V_028A90_THREAD_TRACE_STOP) | EVENT_INDEX(0)); in radv_emit_thread_trace_stop()
[all …]
Dradv_cmd_buffer.c400 radeon_emit(cs, PKT3(PKT3_WRITE_DATA, 2 + count, 0)); in radv_emit_write_data_packet()
401 radeon_emit(cs, S_370_DST_SEL(V_370_MEM) | S_370_WR_CONFIRM(1) | S_370_ENGINE_SEL(engine_sel)); in radv_emit_write_data_packet()
402 radeon_emit(cs, va); in radv_emit_write_data_packet()
403 radeon_emit(cs, va >> 32); in radv_emit_write_data_packet()
671 radeon_emit(cs, PKT3(PKT3_NOP, 0, 0)); in radv_cmd_buffer_trace_emit()
672 radeon_emit(cs, AC_ENCODE_TRACE_POINT(cmd_buffer->state.trace_id)); in radv_cmd_buffer_trace_emit()
679 radeon_emit(cmd_buffer->cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in radv_cmd_buffer_after_draw()
680 radeon_emit(cmd_buffer->cs, EVENT_TYPE(V_028A90_THREAD_TRACE_MARKER) | EVENT_INDEX(0)); in radv_cmd_buffer_after_draw()
1003 radeon_emit(cs, centroid_priority); in radv_emit_sample_locations()
1004 radeon_emit(cs, centroid_priority >> 32); in radv_emit_sample_locations()
[all …]
Dradv_query.c1437 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 2, 0)); in emit_begin_query()
1438 radeon_emit(cs, EVENT_TYPE(V_028A90_ZPASS_DONE) | EVENT_INDEX(1)); in emit_begin_query()
1439 radeon_emit(cs, va); in emit_begin_query()
1440 radeon_emit(cs, va >> 32); in emit_begin_query()
1451 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 2, 0)); in emit_begin_query()
1452 radeon_emit(cs, EVENT_TYPE(V_028A90_SAMPLE_PIPELINESTAT) | EVENT_INDEX(2)); in emit_begin_query()
1453 radeon_emit(cs, va); in emit_begin_query()
1454 radeon_emit(cs, va >> 32); in emit_begin_query()
1466 radeon_emit(cs, PKT3(PKT3_COPY_DATA, 4, 0)); in emit_begin_query()
1467 radeon_emit(cs, COPY_DATA_SRC_SEL(COPY_DATA_GDS) | COPY_DATA_DST_SEL(COPY_DATA_DST_MEM) | in emit_begin_query()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dcayman_msaa.c168 radeon_emit(cs, cm_sample_locs_8x[0]); in cayman_emit_msaa_sample_locs()
169 radeon_emit(cs, cm_sample_locs_8x[4]); in cayman_emit_msaa_sample_locs()
170 radeon_emit(cs, 0); in cayman_emit_msaa_sample_locs()
171 radeon_emit(cs, 0); in cayman_emit_msaa_sample_locs()
172 radeon_emit(cs, cm_sample_locs_8x[1]); in cayman_emit_msaa_sample_locs()
173 radeon_emit(cs, cm_sample_locs_8x[5]); in cayman_emit_msaa_sample_locs()
174 radeon_emit(cs, 0); in cayman_emit_msaa_sample_locs()
175 radeon_emit(cs, 0); in cayman_emit_msaa_sample_locs()
176 radeon_emit(cs, cm_sample_locs_8x[2]); in cayman_emit_msaa_sample_locs()
177 radeon_emit(cs, cm_sample_locs_8x[6]); in cayman_emit_msaa_sample_locs()
[all …]
Dr600_streamout.c169 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_vgt_streamout()
170 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_SO_VGTSTREAMOUT_FLUSH) | EVENT_INDEX(0)); in r600_flush_vgt_streamout()
172 radeon_emit(cs, PKT3(PKT3_WAIT_REG_MEM, 5, 0)); in r600_flush_vgt_streamout()
173 radeon_emit(cs, WAIT_REG_MEM_EQUAL); /* wait until the register is equal to the reference value */ in r600_flush_vgt_streamout()
174 radeon_emit(cs, reg_strmout_cntl >> 2); /* register */ in r600_flush_vgt_streamout()
175 radeon_emit(cs, 0); in r600_flush_vgt_streamout()
176 radeon_emit(cs, S_0084FC_OFFSET_UPDATE_DONE(1)); /* reference value */ in r600_flush_vgt_streamout()
177 radeon_emit(cs, S_0084FC_OFFSET_UPDATE_DONE(1)); /* mask */ in r600_flush_vgt_streamout()
178 radeon_emit(cs, 4); /* poll interval */ in r600_flush_vgt_streamout()
201 radeon_emit(cs, (t[i]->b.buffer_offset + in r600_emit_streamout_begin()
[all …]
Dr600_hw_context.c125 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_emit()
126 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_PS_PARTIAL_FLUSH) | EVENT_INDEX(4)); in r600_flush_emit()
130 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_emit()
131 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_CS_PARTIAL_FLUSH) | EVENT_INDEX(4)); in r600_flush_emit()
144 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_emit()
145 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_FLUSH_AND_INV_CB_META) | EVENT_INDEX(0)); in r600_flush_emit()
150 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_emit()
151 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_FLUSH_AND_INV_DB_META) | EVENT_INDEX(0)); in r600_flush_emit()
164 radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_flush_emit()
165 radeon_emit(cs, EVENT_TYPE(EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT) | EVENT_INDEX(0)); in r600_flush_emit()
[all …]
Dr600_cs.h126 radeon_emit(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_reloc()
127 radeon_emit(cs, reloc); in r600_emit_reloc()
135 radeon_emit(cs, PKT3(PKT3_SET_CONFIG_REG, num, 0)); in radeon_set_config_reg_seq()
136 radeon_emit(cs, (reg - R600_CONFIG_REG_OFFSET) >> 2); in radeon_set_config_reg_seq()
142 radeon_emit(cs, value); in radeon_set_config_reg()
149 radeon_emit(cs, PKT3(PKT3_SET_CONTEXT_REG, num, 0)); in radeon_set_context_reg_seq()
150 radeon_emit(cs, (reg - R600_CONTEXT_REG_OFFSET) >> 2); in radeon_set_context_reg_seq()
156 radeon_emit(cs, value); in radeon_set_context_reg()
165 radeon_emit(cs, PKT3(PKT3_SET_CONTEXT_REG, 1, 0)); in radeon_set_context_reg_idx()
166 radeon_emit(cs, (reg - R600_CONTEXT_REG_OFFSET) >> 2 | (idx << 28)); in radeon_set_context_reg_idx()
[all …]
Devergreen_hw_context.c69 radeon_emit(cs, DMA_PACKET(DMA_PACKET_COPY, sub_cmd, csize)); in evergreen_dma_copy_buffer()
70 radeon_emit(cs, dst_offset & 0xffffffff); in evergreen_dma_copy_buffer()
71 radeon_emit(cs, src_offset & 0xffffffff); in evergreen_dma_copy_buffer()
72 radeon_emit(cs, (dst_offset >> 32UL) & 0xff); in evergreen_dma_copy_buffer()
73 radeon_emit(cs, (src_offset >> 32UL) & 0xff); in evergreen_dma_copy_buffer()
129 radeon_emit(cs, PKT3(PKT3_CP_DMA, 4, 0)); in evergreen_cp_dma_clear_buffer()
130 radeon_emit(cs, clear_value); /* DATA [31:0] */ in evergreen_cp_dma_clear_buffer()
131 radeon_emit(cs, sync | PKT3_CP_DMA_SRC_SEL(2)); /* CP_SYNC [31] | SRC_SEL[30:29] */ in evergreen_cp_dma_clear_buffer()
132 radeon_emit(cs, offset); /* DST_ADDR_LO [31:0] */ in evergreen_cp_dma_clear_buffer()
133 radeon_emit(cs, (offset >> 32) & 0xff); /* DST_ADDR_HI [7:0] */ in evergreen_cp_dma_clear_buffer()
[all …]
Devergreen_state.c988 radeon_emit(cs, S_008C04_NUM_CLAUSE_TEMP_GPRS(rctx->r6xx_num_clause_temp_gprs)); in evergreen_emit_config_state()
989 radeon_emit(cs, 0); in evergreen_emit_config_state()
990 radeon_emit(cs, 0); in evergreen_emit_config_state()
992 radeon_emit(cs, a->sq_gpr_resource_mgmt_1); in evergreen_emit_config_state()
993 radeon_emit(cs, a->sq_gpr_resource_mgmt_2); in evergreen_emit_config_state()
994 radeon_emit(cs, a->sq_gpr_resource_mgmt_3); in evergreen_emit_config_state()
1692 radeon_emit(cs, S_028C00_LAST_PIXEL(1) | in evergreen_emit_msaa_state()
1694 radeon_emit(cs, S_028C04_MSAA_NUM_SAMPLES(util_logbase2(nr_samples)) | in evergreen_emit_msaa_state()
1702 radeon_emit(cs, S_028C00_LAST_PIXEL(1)); /* R_028C00_PA_SC_LINE_CNTL */ in evergreen_emit_msaa_state()
1703 radeon_emit(cs, 0); /* R_028C04_PA_SC_AA_CONFIG */ in evergreen_emit_msaa_state()
[all …]
Devergreen_compute.c636 radeon_emit(cs, 0); /* R_00899C_VGT_COMPUTE_START_X */ in evergreen_emit_dispatch()
637 radeon_emit(cs, 0); /* R_0089A0_VGT_COMPUTE_START_Y */ in evergreen_emit_dispatch()
638 radeon_emit(cs, 0); /* R_0089A4_VGT_COMPUTE_START_Z */ in evergreen_emit_dispatch()
644 radeon_emit(cs, info->block[0]); /* R_0286EC_SPI_COMPUTE_NUM_THREAD_X */ in evergreen_emit_dispatch()
645 radeon_emit(cs, info->block[1]); /* R_0286F0_SPI_COMPUTE_NUM_THREAD_Y */ in evergreen_emit_dispatch()
646 radeon_emit(cs, info->block[2]); /* R_0286F4_SPI_COMPUTE_NUM_THREAD_Z */ in evergreen_emit_dispatch()
660 radeon_emit(cs, PKT3C(PKT3_DISPATCH_DIRECT, 3, render_cond_bit)); in evergreen_emit_dispatch()
661 radeon_emit(cs, indirect_grid[0]); in evergreen_emit_dispatch()
662 radeon_emit(cs, indirect_grid[1]); in evergreen_emit_dispatch()
663 radeon_emit(cs, indirect_grid[2]); in evergreen_emit_dispatch()
[all …]
Dr600_state.c281 radeon_emit(cs, fui(offset_scale)); in r600_emit_polygon_offset()
282 radeon_emit(cs, fui(offset_units)); in r600_emit_polygon_offset()
283 radeon_emit(cs, fui(offset_scale)); in r600_emit_polygon_offset()
284 radeon_emit(cs, fui(offset_units)); in r600_emit_polygon_offset()
1308 radeon_emit(cs, sample_locs_8x[0]); /* R_008B48_PA_SC_AA_SAMPLE_LOCS_8S_WD0 */ in r600_emit_msaa_state()
1309 radeon_emit(cs, sample_locs_8x[1]); /* R_008B4C_PA_SC_AA_SAMPLE_LOCS_8S_WD1 */ in r600_emit_msaa_state()
1317 radeon_emit(cs, 0); /* R_028C1C_PA_SC_AA_SAMPLE_LOCS_MCTX */ in r600_emit_msaa_state()
1318 radeon_emit(cs, 0); /* R_028C20_PA_SC_AA_SAMPLE_LOCS_8D_WD1_MCTX */ in r600_emit_msaa_state()
1323 radeon_emit(cs, sample_locs_2x[0]); /* R_028C1C_PA_SC_AA_SAMPLE_LOCS_MCTX */ in r600_emit_msaa_state()
1324 radeon_emit(cs, sample_locs_2x[1]); /* R_028C20_PA_SC_AA_SAMPLE_LOCS_8D_WD1_MCTX */ in r600_emit_msaa_state()
[all …]
Dr600_viewport.c175 radeon_emit(cs, S_028250_TL_X(final.minx) | in r600_emit_one_scissor()
178 radeon_emit(cs, S_028254_BR_X(final.maxx) | in r600_emit_one_scissor()
230 radeon_emit(cs, fui(guardband_y)); /* R_028BE8_PA_CL_GB_VERT_CLIP_ADJ */ in r600_emit_guardband()
231 radeon_emit(cs, fui(1.0)); /* R_028BEC_PA_CL_GB_VERT_DISC_ADJ */ in r600_emit_guardband()
232 radeon_emit(cs, fui(guardband_x)); /* R_028BF0_PA_CL_GB_HORZ_CLIP_ADJ */ in r600_emit_guardband()
233 radeon_emit(cs, fui(1.0)); /* R_028BF4_PA_CL_GB_HORZ_DISC_ADJ */ in r600_emit_guardband()
311 radeon_emit(cs, fui(state->scale[0])); in r600_emit_one_viewport()
312 radeon_emit(cs, fui(state->translate[0])); in r600_emit_one_viewport()
313 radeon_emit(cs, fui(state->scale[1])); in r600_emit_one_viewport()
314 radeon_emit(cs, fui(state->translate[1])); in r600_emit_one_viewport()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_build_pm4.h61 #define radeon_emit(value) __cs_buf[__cs_num++] = (value) macro
79 radeon_emit(PKT3(PKT3_SET_CONFIG_REG, num, 0)); \
80 radeon_emit(((reg) - SI_CONFIG_REG_OFFSET) >> 2); \
85 radeon_emit(value); \
91 radeon_emit(PKT3(PKT3_SET_CONTEXT_REG, num, 0)); \
92 radeon_emit(((reg) - SI_CONTEXT_REG_OFFSET) >> 2); \
97 radeon_emit(value); \
108 radeon_emit(PKT3(PKT3_SET_CONTEXT_REG, 1, 0)); \
109 radeon_emit(((reg) - SI_CONTEXT_REG_OFFSET) >> 2 | ((idx) << 28)); \
110 radeon_emit(value); \
[all …]
Dsi_sdma_copy_image.c139 radeon_emit(CIK_SDMA_PACKET(CIK_SDMA_OPCODE_COPY, in si_sdma_v4_v5_copy_texture()
142 radeon_emit(bytes); in si_sdma_v4_v5_copy_texture()
143 radeon_emit(0); in si_sdma_v4_v5_copy_texture()
144 radeon_emit(src_address); in si_sdma_v4_v5_copy_texture()
145 radeon_emit(src_address >> 32); in si_sdma_v4_v5_copy_texture()
146 radeon_emit(dst_address); in si_sdma_v4_v5_copy_texture()
147 radeon_emit(dst_address >> 32); in si_sdma_v4_v5_copy_texture()
176 radeon_emit( in si_sdma_v4_v5_copy_texture()
183 radeon_emit((uint32_t)tiled_address | (tiled->surface.tile_swizzle << 8)); in si_sdma_v4_v5_copy_texture()
184 radeon_emit((uint32_t)(tiled_address >> 32)); in si_sdma_v4_v5_copy_texture()
[all …]
Dsi_state_streamout.c243 radeon_emit(PKT3(PKT3_DMA_DATA, 5, 0)); in gfx10_emit_streamout_begin()
244 radeon_emit(S_411_SRC_SEL(append ? V_411_SRC_ADDR_TC_L2 : V_411_DATA) | in gfx10_emit_streamout_begin()
246 radeon_emit(va); in gfx10_emit_streamout_begin()
247 radeon_emit(va >> 32); in gfx10_emit_streamout_begin()
248 radeon_emit(4 * i); /* destination in GDS */ in gfx10_emit_streamout_begin()
249 radeon_emit(0); in gfx10_emit_streamout_begin()
250 radeon_emit(S_415_BYTE_COUNT_GFX9(4) | S_415_DISABLE_WR_CONFIRM_GFX9(i != last_target)); in gfx10_emit_streamout_begin()
293 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_flush_vgt_streamout()
294 radeon_emit(EVENT_TYPE(EVENT_TYPE_SO_VGTSTREAMOUT_FLUSH) | EVENT_INDEX(0)); in si_flush_vgt_streamout()
296 radeon_emit(PKT3(PKT3_WAIT_REG_MEM, 5, 0)); in si_flush_vgt_streamout()
[all …]
Dsi_gfx_cs.c553 radeon_emit(PKT3(PKT3_NOP, 0, 0)); in si_trace_emit()
554 radeon_emit(AC_ENCODE_TRACE_POINT(trace_id)); in si_trace_emit()
575 radeon_emit(PKT3(PKT3_ACQUIRE_MEM, 5, 0)); in si_emit_surface_sync()
576 radeon_emit(cp_coher_cntl); /* CP_COHER_CNTL */ in si_emit_surface_sync()
577 radeon_emit(0xffffffff); /* CP_COHER_SIZE */ in si_emit_surface_sync()
578 radeon_emit(0xffffff); /* CP_COHER_SIZE_HI */ in si_emit_surface_sync()
579 radeon_emit(0); /* CP_COHER_BASE */ in si_emit_surface_sync()
580 radeon_emit(0); /* CP_COHER_BASE_HI */ in si_emit_surface_sync()
581 radeon_emit(0x0000000A); /* POLL_INTERVAL */ in si_emit_surface_sync()
584 radeon_emit(PKT3(PKT3_SURFACE_SYNC, 3, 0)); in si_emit_surface_sync()
[all …]
Dsi_fence.c95 radeon_emit(PKT3(PKT3_EVENT_WRITE, 2, 0)); in si_cp_release_mem()
96 radeon_emit(EVENT_TYPE(EVENT_TYPE_ZPASS_DONE) | EVENT_INDEX(1)); in si_cp_release_mem()
97 radeon_emit(scratch->gpu_address); in si_cp_release_mem()
98 radeon_emit(scratch->gpu_address >> 32); in si_cp_release_mem()
104 radeon_emit(PKT3(PKT3_RELEASE_MEM, ctx->chip_class >= GFX9 ? 6 : 5, 0)); in si_cp_release_mem()
105 radeon_emit(op); in si_cp_release_mem()
106 radeon_emit(sel); in si_cp_release_mem()
107 radeon_emit(va); /* address lo */ in si_cp_release_mem()
108 radeon_emit(va >> 32); /* address hi */ in si_cp_release_mem()
109 radeon_emit(new_fence); /* immediate data lo */ in si_cp_release_mem()
[all …]
Dsi_cp_dma.c103 radeon_emit(PKT3(PKT3_DMA_DATA, 5, 0)); in si_emit_cp_dma()
104 radeon_emit(header); in si_emit_cp_dma()
105 radeon_emit(src_va); /* SRC_ADDR_LO [31:0] */ in si_emit_cp_dma()
106 radeon_emit(src_va >> 32); /* SRC_ADDR_HI [31:0] */ in si_emit_cp_dma()
107 radeon_emit(dst_va); /* DST_ADDR_LO [31:0] */ in si_emit_cp_dma()
108 radeon_emit(dst_va >> 32); /* DST_ADDR_HI [31:0] */ in si_emit_cp_dma()
109 radeon_emit(command); in si_emit_cp_dma()
113 radeon_emit(PKT3(PKT3_CP_DMA, 4, 0)); in si_emit_cp_dma()
114 radeon_emit(src_va); /* SRC_ADDR_LO [31:0] */ in si_emit_cp_dma()
115 radeon_emit(header); /* SRC_ADDR_HI [15:0] + flags. */ in si_emit_cp_dma()
[all …]
Dsi_sqtt.c222 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_emit_thread_trace_start()
223 radeon_emit(EVENT_TYPE(V_028A90_THREAD_TRACE_START) | EVENT_INDEX(0)); in si_emit_thread_trace_start()
269 radeon_emit(PKT3(PKT3_COPY_DATA, 4, 0)); in si_copy_thread_trace_info_regs()
270 radeon_emit(COPY_DATA_SRC_SEL(COPY_DATA_PERF) | in si_copy_thread_trace_info_regs()
273 radeon_emit(thread_trace_info_regs[i] >> 2); in si_copy_thread_trace_info_regs()
274 radeon_emit(0); /* unused */ in si_copy_thread_trace_info_regs()
275 radeon_emit((info_va + i * 4)); in si_copy_thread_trace_info_regs()
276 radeon_emit((info_va + i * 4) >> 32); in si_copy_thread_trace_info_regs()
297 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_emit_thread_trace_stop()
298 radeon_emit(EVENT_TYPE(V_028A90_THREAD_TRACE_STOP) | EVENT_INDEX(0)); in si_emit_thread_trace_stop()
[all …]
Dsi_compute.c376 radeon_emit(S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_initial_compute_regs()
377 radeon_emit(S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_initial_compute_regs()
399 radeon_emit(S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_initial_compute_regs()
400 radeon_emit(S_00B858_SH0_CU_EN(0xffff) | S_00B858_SH1_CU_EN(0xffff)); in si_emit_initial_compute_regs()
414 radeon_emit(bc_va >> 8); /* R_030E00_TA_CS_BC_BASE_ADDR */ in si_emit_initial_compute_regs()
415 radeon_emit(S_030E04_ADDRESS(bc_va >> 40)); /* R_030E04_TA_CS_BC_BASE_ADDR_HI */ in si_emit_initial_compute_regs()
430 radeon_emit(0); /* R_00B890_COMPUTE_USER_ACCUM_0 */ in si_emit_initial_compute_regs()
431 radeon_emit(0); /* R_00B894_COMPUTE_USER_ACCUM_1 */ in si_emit_initial_compute_regs()
432 radeon_emit(0); /* R_00B898_COMPUTE_USER_ACCUM_2 */ in si_emit_initial_compute_regs()
433 radeon_emit(0); /* R_00B89C_COMPUTE_USER_ACCUM_3 */ in si_emit_initial_compute_regs()
[all …]
Dsi_perfcounter.c94 radeon_emit(shaders & 0x7f); in si_pc_emit_shaders()
95 radeon_emit(0xffffffff); in si_pc_emit_shaders()
116 radeon_emit(selectors[idx] | regs->select_or); in si_pc_emit_select()
121 radeon_emit(0); in si_pc_emit_select()
137 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_pc_emit_start()
138 radeon_emit(EVENT_TYPE(V_028A90_PERFCOUNTER_START) | EVENT_INDEX(0)); in si_pc_emit_start()
155 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_pc_emit_stop()
156 radeon_emit(EVENT_TYPE(V_028A90_PERFCOUNTER_SAMPLE) | EVENT_INDEX(0)); in si_pc_emit_stop()
157 radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); in si_pc_emit_stop()
158 radeon_emit(EVENT_TYPE(V_028A90_PERFCOUNTER_STOP) | EVENT_INDEX(0)); in si_pc_emit_stop()
[all …]
Dsi_state_draw.cpp726 radeon_emit(offchip_layout); in si_emit_derived_tess_state()
727 radeon_emit(tcs_out_offsets); in si_emit_derived_tess_state()
728 radeon_emit(tcs_out_layout); in si_emit_derived_tess_state()
740 radeon_emit(ls_current->config.rsrc1); in si_emit_derived_tess_state()
741 radeon_emit(ls_rsrc2); in si_emit_derived_tess_state()
746 radeon_emit(offchip_layout); in si_emit_derived_tess_state()
747 radeon_emit(tcs_out_offsets); in si_emit_derived_tess_state()
748 radeon_emit(tcs_out_layout); in si_emit_derived_tess_state()
749 radeon_emit(tcs_in_layout); in si_emit_derived_tess_state()
754 radeon_emit(offchip_layout); in si_emit_derived_tess_state()
[all …]
Dsi_state_viewport.c224 radeon_emit(S_028250_TL_X(1) | S_028250_TL_Y(1) | S_028250_WINDOW_OFFSET_DISABLE(1)); in si_emit_one_scissor()
225 radeon_emit(S_028254_BR_X(1) | S_028254_BR_Y(1)); in si_emit_one_scissor()
230 radeon_emit(S_028250_TL_X(final.minx) | S_028250_TL_Y(final.miny) | in si_emit_one_scissor()
232 radeon_emit(S_028254_BR_X(final.maxx) | S_028254_BR_Y(final.maxy)); in si_emit_one_scissor()
475 radeon_emit(fui(state->scale[0])); in si_emit_one_viewport()
476 radeon_emit(fui(state->translate[0])); in si_emit_one_viewport()
477 radeon_emit(fui(state->scale[1])); in si_emit_one_viewport()
478 radeon_emit(fui(state->translate[1])); in si_emit_one_viewport()
479 radeon_emit(fui(state->scale[2])); in si_emit_one_viewport()
480 radeon_emit(fui(state->translate[2])); in si_emit_one_viewport()
[all …]

12