mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
radeonsi: increase task wait count when emit barrier
It will be waited by task queue too. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38044>
This commit is contained in:
parent
c0f6e97d6c
commit
9a31151436
1 changed files with 4 additions and 0 deletions
|
|
@ -289,6 +289,10 @@ static void gfx10_emit_barrier(struct si_context *ctx, struct radeon_cmdbuf *cs)
|
|||
} else if (flags & SI_BARRIER_PFP_SYNC_ME) {
|
||||
si_cp_pfp_sync_me(cs);
|
||||
}
|
||||
|
||||
/* Increase task wait count if not done before. */
|
||||
if (ctx->task_wait_count == ctx->last_task_wait_count)
|
||||
ctx->task_wait_count++;
|
||||
}
|
||||
|
||||
static void gfx6_emit_barrier(struct si_context *sctx, struct radeon_cmdbuf *cs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue