Home
last modified time | relevance | path

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

/external/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.c131 r600_resource_reference(&rctx->trace_buf, NULL); in r600_destroy_context()
Dr600_pipe.h611 struct r600_resource *trace_buf; member
Devergreen_state.c4763 (struct r600_resource*)rctx->trace_buf, RADEON_USAGE_WRITE, in eg_trace_emit()
4767 radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rctx->trace_buf, in eg_trace_emit()
4770 radeon_emit(cs, rctx->trace_buf->gpu_address); in eg_trace_emit()
4771 radeon_emit(cs, rctx->trace_buf->gpu_address >> 32 | MEM_WRITE_32_BITS | MEM_WRITE_CONFIRM); in eg_trace_emit()
Dr600_state_common.c2418 if (rctx->trace_buf) in r600_draw_vbo()
/external/blktrace/
Dblktrace.c134 struct trace_buf { struct
144 struct trace_buf *prev; argument
1153 static inline struct trace_buf *alloc_trace_buf(int cpu, int bufsize) in alloc_trace_buf()
1155 struct trace_buf *tbp; in alloc_trace_buf()
1206 struct trace_buf **tbpp) in add_trace_buf()
1208 struct trace_buf *tbp = *tbpp; in add_trace_buf()
1299 static int flush_subbuf_net(struct trace_buf *tbp) in flush_subbuf_net()
1316 struct trace_buf *tbp; in handle_list_net()
1321 tbp = list_entry(p, struct trace_buf, head); in handle_list_net()
1342 static struct trace_buf *tb_combine(struct trace_buf *prev, in tb_combine()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_gfx_cs.c279 ctx->current_saved_cs->trace_buf = in si_begin_gfx_cs_debug()
281 if (!ctx->current_saved_cs->trace_buf) { in si_begin_gfx_cs_debug()
287 pipe_buffer_write_nooverlap(&ctx->b, &ctx->current_saved_cs->trace_buf->b.b, 0, sizeof(zeros), in si_begin_gfx_cs_debug()
293 radeon_add_to_buffer_list(ctx, ctx->gfx_cs, ctx->current_saved_cs->trace_buf, in si_begin_gfx_cs_debug()
Dsi_debug.c95 si_resource_reference(&scs->trace_buf, NULL); in si_destroy_saved_cs()
405 uint32_t *map = ctx->ws->buffer_map(scs->trace_buf->buf, NULL, in si_log_chunk_type_cs_print()
Dsi_pipe.h875 struct si_resource *trace_buf; member
Dsi_state_draw.c2302 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()