diff options
author | Marek Olšák <[email protected]> | 2016-07-15 15:51:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-22 22:34:49 +0200 |
commit | 2e890b535012d76d190776368b7f82aad2668461 (patch) | |
tree | 45e47b32180db7a649d7e8a942c1f7bcc15a87c3 /src/gallium/drivers/radeon/r600_pipe_common.c | |
parent | d17b35e671ae7c6ab6b89973506d12b958d2264d (diff) |
gallium/radeon: make deferred flushes asynchronous
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |