summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-05-21 17:51:52 +0200
committerChristian König <[email protected]>2012-06-15 09:52:38 +0200
commit92af184690995d3b16731518f7becfaac3538edb (patch)
treec0103bccb32d353c0d5445c8bf8cae59d569f059 /src/gallium/drivers/r600
parentb4753dafcce4fc771ec3d7e3d5781bd4cae20326 (diff)
winsys/radeon: enable IB submission to compute rings v2
This allows to submit things to the compute only rings on cayman+ v2: rebased on current master and actually make use of the new flag in evergreen_compute.c Signed-off-by: Christian König <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/evergreen_compute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute.c b/src/gallium/drivers/r600/evergreen_compute.c
index ceb3b3a841d..3bb3895bf73 100644
--- a/src/gallium/drivers/r600/evergreen_compute.c
+++ b/src/gallium/drivers/r600/evergreen_compute.c
@@ -376,7 +376,7 @@ static void compute_emit_cs(struct r600_context *ctx)
}
#endif
- ctx->ws->cs_flush(ctx->cs, RADEON_FLUSH_ASYNC);
+ ctx->ws->cs_flush(ctx->cs, RADEON_FLUSH_ASYNC | RADEON_FLUSH_COMPUTE);
ctx->pm4_dirty_cdwords = 0;
ctx->flags = 0;