/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_streamout.c | 70 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, 3, 0); 78 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); 85 cs->buf[cs->cdw++] = PKT3(PKT3_STRMOUT_BUFFER_UPDATE, 4, 0); 93 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); 99 cs->buf[cs->cdw++] = PKT3(PKT3_STRMOUT_BUFFER_UPDATE, 4, 0); 123 cs->buf[cs->cdw++] = PKT3(PKT3_STRMOUT_BUFFER_UPDATE, 4, 0); 132 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); 164 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONFIG_REG, 1, 0); 168 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); 171 cs->buf[cs->cdw++] = PKT3(PKT3_WAIT_REG_MEM, 5, 0); [all …]
|
D | r600_hw_context.c | 85 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in si_get_backend_mask() 90 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in si_get_backend_mask() 208 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in si_context_flush() 248 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in si_context_emit_fence() 250 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0); in si_context_emit_fence() 257 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in si_context_emit_fence() 416 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_query_begin() 425 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_query_begin() 431 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0); in r600_query_begin() 441 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_query_begin() [all …]
|
D | radeonsi_pm4.c | 50 state->pm4[state->last_pm4] = PKT3(state->last_opcode, in si_pm4_cmd_end()
|
D | sid.h | 112 #define PKT3(op, count, predicate) (PKT_TYPE_S(3) | PKT3_IT_OPCODE_S(op) | PKT_COUNT_S(count) | PKT… macro
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_hw_context.c | 84 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_get_backend_mask() 89 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_get_backend_mask() 124 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in r600_context_ps_partial_flush() 142 block->pm4[block->pm4_ndwords++] = PKT3(opcode, n, 0); in r600_init_block() 170 block->pm4[block->pm4_ndwords++] = PKT3(PKT3_NOP, 0, 0); in r600_init_block() 176 block->pm4[block->pm4_ndwords++] = PKT3(PKT3_SURFACE_BASE_UPDATE, 0, 0); in r600_init_block() 1038 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0); in r600_context_emit_fence() 1045 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_context_emit_fence() 1053 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONFIG_REG, 1, 0); in r600_flush_vgt_streamout() 1057 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in r600_flush_vgt_streamout() [all …]
|
D | r600_query.c | 111 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_emit_query_begin() 120 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_emit_query_begin() 126 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0); in r600_emit_query_begin() 136 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_emit_query_begin() 162 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_emit_query_end() 171 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 2, 0); in r600_emit_query_end() 180 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE_EOP, 4, 0); in r600_emit_query_end() 190 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_emit_query_end() 212 cs->buf[cs->cdw++] = PKT3(PKT3_SET_PREDICATION, 1, 0); in r600_emit_query_predication() 237 cs->buf[cs->cdw++] = PKT3(PKT3_SET_PREDICATION, 1, 0); in r600_emit_query_predication() [all …]
|
D | r600_pipe.h | 685 #define PKT3(op, count, predicate) (PKT_TYPE_S(3) | PKT_COUNT_S(count) | PKT3_IT_OPCODE_S(op) | PKT… macro 701 cb->buf[cb->atom.num_dw++] = PKT3(PKT3_SET_CONFIG_REG, num, 0); in r600_store_config_reg_seq() 713 cb->buf[cb->atom.num_dw++] = PKT3(PKT3_SET_CONTEXT_REG, num, 0) | cb->pkt_flags; in r600_store_context_reg_seq() 725 cb->buf[cb->atom.num_dw++] = PKT3(PKT3_SET_CTL_CONST, num, 0) | cb->pkt_flags; in r600_store_ctl_const_seq() 733 cb->buf[cb->atom.num_dw++] = PKT3(PKT3_SET_LOOP_CONST, num, 0); in r600_store_loop_const_seq() 745 cb->buf[cb->atom.num_dw++] = PKT3(PKT3_SET_LOOP_CONST, num, 0) | cb->pkt_flags; in eg_store_loop_const_seq() 809 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONFIG_REG, num, 0); in r600_write_config_reg_seq() 817 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, num, 0); in r600_write_context_reg_seq() 832 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CTL_CONST, num, 0); in r600_write_ctl_const_seq()
|
D | evergreen_hw_context.c | 782 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONFIG_REG, 1, 0); in evergreen_flush_vgt_streamout() 786 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in evergreen_flush_vgt_streamout() 789 cs->buf[cs->cdw++] = PKT3(PKT3_WAIT_REG_MEM, 5, 0); in evergreen_flush_vgt_streamout() 803 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, 1, 0); in evergreen_set_streamout_enable() 807 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, 1, 0); in evergreen_set_streamout_enable() 811 cs->buf[cs->cdw++] = PKT3(PKT3_SET_CONTEXT_REG, 1, 0); in evergreen_set_streamout_enable()
|
D | r600_state_common.c | 66 cs->buf[cs->cdw++] = PKT3(PKT3_SURFACE_SYNC, 3, 0); in r600_emit_surface_sync() 78 cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0); in r600_emit_r6xx_flush_and_inv() 1164 r600_write_value(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); in r600_draw_vbo() 1244 cs->buf[cs->cdw++] = PKT3(PKT3_NUM_INSTANCES, 0, rctx->predicate_drawing); in r600_draw_vbo() 1247 cs->buf[cs->cdw++] = PKT3(PKT3_INDEX_TYPE, 0, rctx->predicate_drawing); in r600_draw_vbo() 1254 cs->buf[cs->cdw++] = PKT3(PKT3_DRAW_INDEX, 3, rctx->predicate_drawing); in r600_draw_vbo() 1259 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, rctx->predicate_drawing); in r600_draw_vbo() 1268 cs->buf[cs->cdw++] = PKT3(PKT3_COPY_DW, 4, 0); in r600_draw_vbo() 1275 cs->buf[cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in r600_draw_vbo() 1279 cs->buf[cs->cdw++] = PKT3(PKT3_DRAW_INDEX_AUTO, 1, rctx->predicate_drawing); in r600_draw_vbo()
|
D | r600_state.c | 1834 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 7, 0)); in r600_emit_vertex_buffers() 1846 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_vertex_buffers() 1876 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_constant_buffers() 1879 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 7, 0)); in r600_emit_constant_buffers() 1891 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_constant_buffers() 1928 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 7, 0)); in r600_emit_sampler_views() 1935 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_sampler_views() 1937 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in r600_emit_sampler_views() 1982 r600_write_value(cs, PKT3(PKT3_SET_SAMPLER, 3, 0)); in r600_emit_sampler() 2163 r600_store_value(cb, PKT3(PKT3_START_3D_CMDBUF, 0, 0)); in r600_init_atom_start_cs() [all …]
|
D | evergreen_state.c | 1972 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 8, 0) | pkt_flags); in evergreen_emit_vertex_buffers() 1990 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0) | pkt_flags); in evergreen_emit_vertex_buffers() 2033 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in evergreen_emit_constant_buffers() 2036 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 8, 0)); in evergreen_emit_constant_buffers() 2054 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in evergreen_emit_constant_buffers() 2091 r600_write_value(cs, PKT3(PKT3_SET_RESOURCE, 8, 0)); in evergreen_emit_sampler_views() 2098 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in evergreen_emit_sampler_views() 2100 r600_write_value(cs, PKT3(PKT3_NOP, 0, 0)); in evergreen_emit_sampler_views() 2129 r600_write_value(cs, PKT3(PKT3_SET_SAMPLER, 3, 0)); in evergreen_emit_sampler() 2245 r600_store_value(cb, PKT3(PKT3_CONTEXT_CONTROL, 1, 0)); in cayman_init_atom_start_cs() [all …]
|
D | evergreen_compute_internal.c | 218 ctx->cs->buf[ctx->cs->cdw++] = PKT3(PKT3_NOP, 0, 0); in evergreen_emit_ctx_reloc()
|