From: Marek Olšák Date: Thu, 25 Apr 2019 23:42:25 +0000 (-0400) Subject: radeonsi: don't ignore PIPE_FLUSH_ASYNC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8a0e5c03cab8dc0e73d761fdf44874f7f45be55;p=mesa.git radeonsi: don't ignore PIPE_FLUSH_ASYNC Reviewed-by: Michel Dänzer --- 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 @@ -573,7 +573,7 @@ static void si_flush_from_st(struct pipe_context *ctx, } 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);