summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/r6xx_accel.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 7a225e55..c0be4d53 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -159,7 +159,6 @@ start_3d(ScrnInfoPtr pScrn, drmBufPtr ib)
E32(ib, 0x80000000);
END_BATCH();
- wait_3d_idle_clean (pScrn, ib);
}
/*
@@ -1279,6 +1278,7 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
draw_auto(pScrn, accel_state->ib, &draw_conf);
+ /* XXX drm should handle this in fence submit */
wait_3d_idle_clean(pScrn, accel_state->ib);
/* sync dst surface */
@@ -1286,8 +1286,6 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
accel_state->dst_size, accel_state->dst_mc_addr,
accel_state->dst_bo, RADEON_GEM_DOMAIN_VRAM, 0);
- wait_3d_idle_clean(pScrn, accel_state->ib);
-
accel_state->vb_start_op = -1;
accel_state->ib_reset_op = 0;