summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-12-21 17:15:56 +0100
committerMarek Olšák <[email protected]>2013-01-04 13:18:50 +0100
commit12aeb47b6af4b3100da26b3ab72ef93886479219 (patch)
tree68146772416068fdb68eb26af4db63306e198dc2 /src/gallium/drivers/r300
parent598cc1f74d7ae924e84dee801b456ab7b0b22f84 (diff)
gallium/radeon: send the END_OF_FRAME flag to the DRM
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index 978a5d93ccf..6d51ee5d528 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -136,7 +136,9 @@ static void r300_flush_wrapped(struct pipe_context *pipe,
struct pipe_fence_handle **fence,
enum pipe_flush_flags flags)
{
- r300_flush(pipe, 0, fence);
+ r300_flush(pipe,
+ flags & PIPE_FLUSH_END_OF_FRAME ? RADEON_FLUSH_END_OF_FRAME : 0,
+ fence);
}
void r300_init_flush_functions(struct r300_context* r300)