From: Marek Olšák Date: Thu, 25 Apr 2019 23:42:25 +0000 (-0400) Subject: radeonsi: don't ignore PIPE_FLUSH_ASYNC X-Git-Tag: upstream/19.3.0~6879 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8a0e5c03cab8dc0e73d761fdf44874f7f45be55;p=platform%2Fupstream%2Fmesa.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 3d23597..ffda98d 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);