radeonsi/sqtt: retry a frame capture after reiszing the buffer
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36930>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2025-08-22 11:31:22 +02:00 committed by Marge Bot
parent cd5f77f6c2
commit 9171461565

View file

@ -491,10 +491,13 @@ void si_handle_sqtt(struct si_context *sctx, struct radeon_cmdbuf *rcs)
if (sctx->spm.ptr)
sctx->ws->buffer_unmap(sctx->ws, sctx->spm.bo);
} else {
mesa_loge("Failed to read the trace");
if (!sctx->sqtt->trigger_file) {
sctx->sqtt->start_frame = num_frames + 10;
}
/* Restart SQTT to try to capture the next frame. */
si_begin_sqtt(sctx, rcs);
sctx->sqtt_enabled = true;
}
}