Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/gallium/drivers/radeonsi/si_fence.c b/src/gallium/drivers/radeonsi/si_fence.c
- index 186a785437..66f10887ea 100644
- --- a/src/gallium/drivers/radeonsi/si_fence.c
- +++ b/src/gallium/drivers/radeonsi/si_fence.c
- @@ -293,6 +293,8 @@ static boolean si_fence_finish(struct pipe_screen *screen,
- struct si_multi_fence *rfence = (struct si_multi_fence *)fence;
- int64_t abs_timeout = os_time_get_absolute_timeout(timeout);
- + ctx = threaded_context_unwrap_sync(ctx);
- +
- if (!util_queue_fence_is_signalled(&rfence->ready)) {
- if (rfence->tc_token) {
- /* Ensure that si_flush_from_st will be called for
- @@ -373,7 +375,6 @@ static boolean si_fence_finish(struct pipe_screen *screen,
- * This means we need to flush for such fences even when we're
- * not going to wait.
- */
- - threaded_context_unwrap_sync(ctx);
- si_flush_gfx_cs(sctx,
- (timeout ? 0 : PIPE_FLUSH_ASYNC) |
- RADEON_FLUSH_START_NEXT_GFX_IB_NOW,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement