On 2019-04-26 4:06 a.m., Marek Olšák wrote: > From: Marek Olšák <marek.ol...@amd.com> > > --- > src/gallium/drivers/radeonsi/si_fence.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/radeonsi/si_fence.c > b/src/gallium/drivers/radeonsi/si_fence.c > index 3d23597413c..ffda98d2834 100644 > --- a/src/gallium/drivers/radeonsi/si_fence.c > +++ b/src/gallium/drivers/radeonsi/si_fence.c > @@ -566,21 +566,21 @@ static void si_flush_from_st(struct pipe_context *ctx, > multi_fence->fine = fine; > fine.buf = NULL; > > if (flags & TC_FLUSH_ASYNC) { > util_queue_fence_signal(&multi_fence->ready); > > tc_unflushed_batch_token_reference(&multi_fence->tc_token, NULL); > } > } > assert(!fine.buf); > finish: > - if (!(flags & PIPE_FLUSH_DEFERRED)) { > + if (!(flags & (PIPE_FLUSH_DEFERRED | PIPE_FLUSH_ASYNC))) { > if (sctx->dma_cs) > ws->cs_sync_flush(sctx->dma_cs); > ws->cs_sync_flush(sctx->gfx_cs); > } > } > > static void si_fence_server_signal(struct pipe_context *ctx, > struct pipe_fence_handle *fence) > { > struct si_context *sctx = (struct si_context *)ctx; >
Reviewed-by: Michel Dänzer <michel.daen...@amd.com> -- Earthling Michel Dänzer | https://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev