mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 18:10:17 +01:00
radeonsi: use the correct cs for SQTT barriers for gfx9
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31168>
This commit is contained in:
parent
862a5f7abe
commit
2d64e8d333
1 changed files with 2 additions and 2 deletions
|
|
@ -1074,13 +1074,13 @@ void gfx6_emit_cache_flush(struct si_context *sctx, struct radeon_cmdbuf *cs)
|
|||
wait_mem_scratch, va, sctx->wait_mem_number, SI_NOT_QUERY);
|
||||
|
||||
if (unlikely(sctx->sqtt_enabled)) {
|
||||
si_sqtt_describe_barrier_start(sctx, &sctx->gfx_cs);
|
||||
si_sqtt_describe_barrier_start(sctx, cs);
|
||||
}
|
||||
|
||||
si_cp_wait_mem(sctx, cs, va, sctx->wait_mem_number, 0xffffffff, WAIT_REG_MEM_EQUAL);
|
||||
|
||||
if (unlikely(sctx->sqtt_enabled)) {
|
||||
si_sqtt_describe_barrier_end(sctx, &sctx->gfx_cs, sctx->flags);
|
||||
si_sqtt_describe_barrier_end(sctx, cs, sctx->flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue