Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_hw_context.c32 r600_resource_reference(&scs->trace_buf, NULL); in si_destroy_saved_cs()
166 ctx->current_saved_cs->trace_buf = (struct r600_resource*) in si_begin_cs_debug()
169 if (!ctx->current_saved_cs->trace_buf) { in si_begin_cs_debug()
175 pipe_buffer_write_nooverlap(&ctx->b.b, &ctx->current_saved_cs->trace_buf->b.b, in si_begin_cs_debug()
181 radeon_add_to_buffer_list(&ctx->b, &ctx->b.gfx, ctx->current_saved_cs->trace_buf, in si_begin_cs_debug()
Dsi_pipe.h418 struct r600_resource *trace_buf; member
Dsi_debug.c343 uint32_t *map = ctx->b.ws->buffer_map(scs->trace_buf->buf, in si_log_chunk_type_cs_print()
Dsi_state_draw.c1556 uint64_t va = sctx->current_saved_cs->trace_buf->gpu_address; in si_trace_emit()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_hw_context.c277 if (ctx->trace_buf) in r600_context_gfx_flush()
288 r600_resource_reference(&ctx->last_trace_buf, ctx->trace_buf); in r600_context_gfx_flush()
289 r600_resource_reference(&ctx->trace_buf, NULL); in r600_context_gfx_flush()
322 assert(!ctx->trace_buf); in r600_begin_new_cs()
323 ctx->trace_buf = (struct r600_resource*) in r600_begin_new_cs()
326 if (ctx->trace_buf) in r600_begin_new_cs()
327 pipe_buffer_write_nooverlap(&ctx->b.b, &ctx->trace_buf->b.b, in r600_begin_new_cs()
332 if (ctx->trace_buf) in r600_begin_new_cs()
Dr600_pipe.c117 r600_resource_reference(&rctx->trace_buf, NULL); in r600_destroy_context()
Dr600_pipe.h598 struct r600_resource *trace_buf; member
Devergreen_state.c4619 (struct r600_resource*)rctx->trace_buf, RADEON_USAGE_WRITE, in eg_trace_emit()
4623 radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, rctx->trace_buf, in eg_trace_emit()
4626 radeon_emit(cs, rctx->trace_buf->gpu_address); in eg_trace_emit()
4627 radeon_emit(cs, rctx->trace_buf->gpu_address >> 32 | MEM_WRITE_32_BITS | MEM_WRITE_CONFIRM); in eg_trace_emit()
Dr600_state_common.c2266 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 …]