Home
last modified time | relevance | path

Searched refs:tu_cs_emit (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c57 tu_cs_emit(cs, in emit_load_state()
383 tu_cs_emit(cs, 0); in tu6_emit_xs_config()
386 tu_cs_emit(cs, 0); in tu6_emit_xs_config()
401 tu_cs_emit(cs, in tu6_emit_xs_config()
415 tu_cs_emit(cs, A6XX_SP_VS_CONFIG_ENABLED | in tu6_emit_xs_config()
422 tu_cs_emit(cs, xs->instrlen); in tu6_emit_xs_config()
425 tu_cs_emit(cs, A6XX_HLSQ_VS_CNTL_CONSTLEN(xs->constlen) | in tu6_emit_xs_config()
438 tu_cs_emit(cs, CP_LOAD_STATE6_0_DST_OFF(0) | in tu6_emit_xs_config()
460 tu_cs_emit(cs, CP_LOAD_STATE6_0_DST_OFF(base) | in tu6_emit_xs_config()
465 tu_cs_emit(cs, CP_LOAD_STATE6_1_EXT_SRC_ADDR(0)); in tu6_emit_xs_config()
[all …]
Dtu_cmd_buffer.c58 tu_cs_emit(cs, CP_EVENT_WRITE_0_EVENT(event)); in tu6_emit_event_write()
61 tu_cs_emit(cs, 0); in tu6_emit_event_write()
205 tu_cs_emit(cs, A6XX_RB_DEPTH_BUFFER_INFO(.depth_format = fmt).value); in tu6_emit_zs()
207 tu_cs_emit(cs, attachment->gmem_offset); in tu6_emit_zs()
225 tu_cs_emit(cs, A6XX_RB_STENCIL_INFO(.separate_stencil = true).value); in tu6_emit_zs()
228 tu_cs_emit(cs, attachment->gmem_offset_stencil); in tu6_emit_zs()
231 tu_cs_emit(cs, attachment->gmem_offset); in tu6_emit_zs()
254 tu_cs_emit(cs, iview->RB_MRT_BUF_INFO); in tu6_emit_mrt()
256 tu_cs_emit(cs, cmd->state.pass->attachments[a].gmem_offset); in tu6_emit_mrt()
358 tu_cs_emit(cs, CP_COND_REG_EXEC_0_MODE(RENDER_MODE) | in tu6_emit_render_cntl()
[all …]
Dtu_cs.h153 tu_cs_emit(struct tu_cs *cs, uint32_t value) in tu_cs_emit() function
220 tu_cs_emit(cs, CP_TYPE4_PKT | cnt | (tu_odd_parity_bit(cnt) << 7) | in tu_cs_emit_pkt4()
232 tu_cs_emit(cs, CP_TYPE7_PKT | cnt | (tu_odd_parity_bit(cnt) << 15) | in tu_cs_emit_pkt7()
246 tu_cs_emit(cs, (uint32_t) value); in tu_cs_emit_qw()
247 tu_cs_emit(cs, (uint32_t) (value >> 32)); in tu_cs_emit_qw()
254 tu_cs_emit(cs, value); in tu_cs_emit_write_reg()
270 tu_cs_emit(cs, entry->size / sizeof(uint32_t)); in tu_cs_emit_ib()
280 tu_cs_emit(cs, state.size); in tu_cs_emit_state_ib()
306 tu_cs_emit(cs, cond_flags); in tu_cond_exec_start()
312 tu_cs_emit(cs, CP_COND_REG_EXEC_1_DWORDS(0)); in tu_cond_exec_start()
Dtu_clear_blit.c151 tu_cs_emit(cs, src_info); in r2d_src()
152 tu_cs_emit(cs, iview->SP_PS_2D_SRC_SIZE); in r2d_src()
185 tu_cs_emit(cs, iview->RB_2D_DST_INFO); in r2d_dst()
196 tu_cs_emit(cs, tu_image_view_stencil(iview, RB_2D_DST_INFO) & ~A6XX_RB_2D_DST_INFO_FLAGS); in r2d_dst_stencil()
198 tu_cs_emit(cs, iview->stencil_PITCH); in r2d_dst_stencil()
246 tu_cs_emit(cs, unknown_8c01); in r2d_setup_common()
259 tu_cs_emit(cs, blit_cntl); in r2d_setup_common()
262 tu_cs_emit(cs, blit_cntl); in r2d_setup_common()
300 tu_cs_emit(cs, CP_BLIT_0_OP(BLIT_OP_SCALE)); in r2d_run()
443 tu_cs_emit(cs, CP_REG_WRITE_0_TRACKER(UNK_EVENT_WRITE)); in r3d_common()
[all …]
Dtu_query.c422 tu_cs_emit(cs, mem_to_mem_flags); in copy_query_value_gpu()
460 tu_cs_emit(cs, CP_WAIT_REG_MEM_0_FUNCTION(WRITE_EQ) | in emit_copy_query_pool_results()
463 tu_cs_emit(cs, CP_WAIT_REG_MEM_3_REF(0x1)); in emit_copy_query_pool_results()
464 tu_cs_emit(cs, CP_WAIT_REG_MEM_4_MASK(~0)); in emit_copy_query_pool_results()
465 tu_cs_emit(cs, CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES(16)); in emit_copy_query_pool_results()
498 tu_cs_emit(cs, CP_COND_EXEC_4_REF(0x2)); in emit_copy_query_pool_results()
499 tu_cs_emit(cs, 6); /* Cond execute the next 6 DWORDS */ in emit_copy_query_pool_results()
646 tu_cs_emit(cs, ZPASS_DONE); in emit_begin_occlusion_query()
664 tu_cs_emit(cs, CP_REG_TO_MEM_0_REG(REG_A6XX_RBBM_PRIMCTR_0_LO) | in emit_begin_stat_query()
773 tu_cs_emit(cs, ZPASS_DONE); in emit_end_occlusion_query()
[all …]
Dtu_image.c165 tu_cs_emit(cs, iview->PITCH); in tu_cs_image_ref()
166 tu_cs_emit(cs, iview->layer_size >> 6); in tu_cs_image_ref()
173 tu_cs_emit(cs, iview->stencil_PITCH); in tu_cs_image_stencil_ref()
174 tu_cs_emit(cs, iview->stencil_layer_size >> 6); in tu_cs_image_stencil_ref()
183 tu_cs_emit(cs, iview->PITCH << (src ? 9 : 0)); in tu_cs_image_ref_2d()
190 tu_cs_emit(cs, iview->FLAG_BUFFER_PITCH); in tu_cs_image_flag_ref()
Dtu_cs.c366 tu_cs_emit(cs, cs->cond_flags); in tu_cs_reserve_space()
371 tu_cs_emit(cs, CP_COND_REG_EXEC_1_DWORDS(0)); in tu_cs_reserve_space()