radeonsi: don't ignore PIPE_FLUSH_ASYNC

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
Marek Olšák 2019-04-25 19:42:25 -04:00
parent fb0611df3d
commit a8a0e5c03c
1 changed files with 1 additions and 1 deletions

View File

@ -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);