Home
last modified time | relevance | path

Searched refs:trace_buf (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c285 if (ctx->trace_buf) in r600_context_gfx_flush()
296 r600_resource_reference(&ctx->last_trace_buf, ctx->trace_buf); in r600_context_gfx_flush()
297 r600_resource_reference(&ctx->trace_buf, NULL); in r600_context_gfx_flush()
330 assert(!ctx->trace_buf); in r600_begin_new_cs()
331 ctx->trace_buf = (struct r600_resource*) in r600_begin_new_cs()
334 if (ctx->trace_buf) in r600_begin_new_cs()
335 pipe_buffer_write_nooverlap(&ctx->b.b, &ctx->trace_buf->b.b, in r600_begin_new_cs()
340 if (ctx->trace_buf) in r600_begin_new_cs()
Dr600_pipe.c130 r600_resource_reference(&rctx->trace_buf, NULL); in r600_destroy_context()
Dr600_pipe.h614 struct r600_resource *trace_buf; member
Devergreen_state.c4787 (struct r600_resource*)rctx->trace_buf, RADEON_USAGE_WRITE, in eg_trace_emit()
4791 radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rctx->trace_buf, in eg_trace_emit()
4794 radeon_emit(cs, rctx->trace_buf->gpu_address); in eg_trace_emit()
4795 radeon_emit(cs, rctx->trace_buf->gpu_address >> 32 | MEM_WRITE_32_BITS | MEM_WRITE_CONFIRM); in eg_trace_emit()
Dr600_state_common.c2470 if (rctx->trace_buf) in r600_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gfx_cs.c184 ctx->current_saved_cs->trace_buf = in si_begin_gfx_cs_debug()
186 if (!ctx->current_saved_cs->trace_buf) { in si_begin_gfx_cs_debug()
192 pipe_buffer_write_nooverlap(&ctx->b, &ctx->current_saved_cs->trace_buf->b.b, 0, sizeof(zeros), in si_begin_gfx_cs_debug()
198 radeon_add_to_buffer_list(ctx, &ctx->gfx_cs, ctx->current_saved_cs->trace_buf, in si_begin_gfx_cs_debug()
550 si_cp_write_data(sctx, sctx->current_saved_cs->trace_buf, 0, 4, V_370_MEM, V_370_ME, &trace_id); in si_trace_emit()
Dsi_debug.c95 si_resource_reference(&scs->trace_buf, NULL); in si_destroy_saved_cs()
409 uint32_t *map = ctx->ws->buffer_map(ctx->ws, scs->trace_buf->buf, NULL, in si_log_chunk_type_cs_print()
Dsi_pipe.h865 struct si_resource *trace_buf; member