From: Marek Olšák Date: Fri, 15 Jul 2016 13:51:34 +0000 (+0200) Subject: gallium/radeon: make deferred flushes asynchronous X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e890b535012d76d190776368b7f82aad2668461;p=mesa.git gallium/radeon: make deferred flushes asynchronous Reviewed-by: Edward O'Callaghan --- diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index cd4908fd3b9..647832b5f6e 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -269,6 +269,8 @@ static void r600_flush_from_st(struct pipe_context *ctx, if (flags & PIPE_FLUSH_END_OF_FRAME) rflags |= RADEON_FLUSH_END_OF_FRAME; + if (flags & PIPE_FLUSH_DEFERRED) + rflags |= RADEON_FLUSH_ASYNC; if (rctx->dma.cs) { rctx->dma.flush(rctx, rflags, fence ? &sdma_fence : NULL);