Home
last modified time | relevance | path

Searched refs:thread_trace (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sqtt.c50 sctx->thread_trace->buffer_size = align64(sctx->thread_trace->buffer_size, in si_thread_trace_init_bo()
56 size += sctx->thread_trace->buffer_size * (uint64_t)max_se; in si_thread_trace_init_bo()
58 sctx->thread_trace->bo = in si_thread_trace_init_bo()
64 if (!sctx->thread_trace->bo) in si_thread_trace_init_bo()
84 uint32_t shifted_size = sctx->thread_trace->buffer_size >> SQTT_BUFFER_ALIGN_SHIFT; in si_emit_thread_trace_start()
90 uint64_t va = sctx->ws->buffer_get_virtual_address(sctx->thread_trace->bo); in si_emit_thread_trace_start()
91 … uint64_t data_va = ac_thread_trace_get_data_va(&sctx->screen->info, sctx->thread_trace, va, se); in si_emit_thread_trace_start()
263 uint64_t va = sctx->ws->buffer_get_virtual_address(sctx->thread_trace->bo); in si_copy_thread_trace_info_regs()
399 sctx->thread_trace->bo, in si_thread_trace_start()
453 sctx->thread_trace->bo, in si_thread_trace_stop()
[all …]
Dsi_compute.c318 if (unlikely((sctx->screen->debug_flags & DBG(SQTT)) && sctx->thread_trace)) { in si_bind_compute_state()
325 struct ac_thread_trace_data *thread_trace_data = sctx->thread_trace; in si_bind_compute_state()
Dsi_gfx_cs.c169 if (unlikely(ctx->thread_trace && in si_flush_gfx_cs()
Dsi_state_draw.cpp300 if (unlikely(sctx->screen->debug_flags & DBG(SQTT) && sctx->thread_trace)) { in si_update_shaders()
317 struct ac_thread_trace_data *thread_trace_data = sctx->thread_trace; in si_update_shaders()
Dsi_pipe.h1302 struct ac_thread_trace_data *thread_trace; member
Dsi_pipe.c207 if (sctx->thread_trace) in si_destroy_context()
/third_party/mesa3d/src/amd/vulkan/
Dradv_sqtt.c82 uint32_t shifted_size = device->thread_trace.buffer_size >> SQTT_BUFFER_ALIGN_SHIFT; in radv_emit_thread_trace_start()
87 uint64_t va = radv_buffer_get_va(device->thread_trace.bo); in radv_emit_thread_trace_start()
88 uint64_t data_va = ac_thread_trace_get_data_va(rad_info, &device->thread_trace, va, se); in radv_emit_thread_trace_start()
240 uint64_t va = radv_buffer_get_va(device->thread_trace.bo); in radv_copy_thread_trace_info_regs()
413 device->thread_trace.buffer_size = in radv_thread_trace_init_bo()
414 align64(device->thread_trace.buffer_size, 1u << SQTT_BUFFER_ALIGN_SHIFT); in radv_thread_trace_init_bo()
418 size += device->thread_trace.buffer_size * (uint64_t)max_se; in radv_thread_trace_init_bo()
425 device->thread_trace.bo = bo; in radv_thread_trace_init_bo()
429 result = ws->buffer_make_resident(ws, device->thread_trace.bo, true); in radv_thread_trace_init_bo()
433 device->thread_trace.ptr = ws->buffer_map(device->thread_trace.bo); in radv_thread_trace_init_bo()
[all …]
Dradv_private.h885 struct ac_thread_trace_data thread_trace; member
2961 bool radv_get_thread_trace(struct radv_queue *queue, struct ac_thread_trace *thread_trace);
Dradv_device.c3604 device->thread_trace.buffer_size / (1024 * 1024), in radv_CreateDevice()
Dradv_cmd_buffer.c850 if (unlikely(cmd_buffer->device->thread_trace.bo)) { in radv_cmd_buffer_after_draw()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c138 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_begin_cmd_buffer()
160 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_end_cmd_buffer()
174 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_draw()
184 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_dispatch()
222 if (likely(!cmd_buffer->device->thread_trace.bo) || !cmd_buffer->state.pending_sqtt_barrier_end) in radv_describe_barrier_end_delayed()
275 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_barrier_start()
300 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_layout_transition()
324 if (likely(!cmd_buffer->device->thread_trace.bo)) in radv_describe_pipeline_bind()
346 struct ac_thread_trace thread_trace = {0}; in radv_handle_thread_trace() local
354 if (radv_get_thread_trace(queue, &thread_trace)) { in radv_handle_thread_trace()
[all …]
/third_party/mesa3d/src/amd/common/
Dac_rgp.c1007 struct ac_thread_trace *thread_trace, in ac_sqtt_dump_data() argument
1011 struct ac_thread_trace_data *thread_trace_data = thread_trace->data; in ac_sqtt_dump_data()
1164 if (thread_trace) { in ac_sqtt_dump_data()
1165 for (unsigned i = 0; i < thread_trace->num_traces; i++) { in ac_sqtt_dump_data()
1166 const struct ac_thread_trace_se *se = &thread_trace->traces[i]; in ac_sqtt_dump_data()
1195 struct ac_thread_trace *thread_trace, in ac_dump_rgp_capture() argument
1217 ac_sqtt_dump_data(info, thread_trace, spm_trace, f); in ac_dump_rgp_capture()
Dac_rgp.h193 struct ac_thread_trace *thread_trace,