projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17b35e
)
gallium/radeon: make deferred flushes asynchronous
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 15 Jul 2016 13:51:34 +0000
(15:51 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 22 Jul 2016 20:34:49 +0000
(22:34 +0200)
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/drivers/radeon/r600_pipe_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/r600_pipe_common.c
b/src/gallium/drivers/radeon/r600_pipe_common.c
index cd4908fd3b975da631f2ddb6092743bc63671a03..647832b5f6ebf032fb3dab9c1f060125c2ccaac9 100644
(file)
--- 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);