radeonsi/sqtt: increase the default buffer size to 32MB

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13838>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2021-11-17 15:45:19 +01:00
parent 56382ec071
commit df8aeb4598
1 changed files with 2 additions and 2 deletions

View File

@ -580,8 +580,8 @@ si_init_thread_trace(struct si_context *sctx)
return false;
}
/* Default buffer size set to 1MB per SE. */
sctx->thread_trace->buffer_size = debug_get_num_option("AMD_THREAD_TRACE_BUFFER_SIZE", 1024) * 1024;
/* Default buffer size set to 32MB per SE. */
sctx->thread_trace->buffer_size = debug_get_num_option("AMD_THREAD_TRACE_BUFFER_SIZE", 32 * 1024) * 1024;
sctx->thread_trace->start_frame = 10;
const char *trigger = getenv("AMD_THREAD_TRACE_TRIGGER");