summaryrefslogtreecommitdiff
path: root/src/r600_textured_videofuncs.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-11-25 11:53:07 +1000
committerDave Airlie <airlied@redhat.com>2009-11-25 11:53:07 +1000
commitaf816ac752820255f245793b53a7cca5a4a49cd4 (patch)
tree9fde3f58230d8e65726e446c6770cbf3dd350120 /src/r600_textured_videofuncs.c
parent3d8dcbc29323a3c644100bec13aa93f024653bd3 (diff)
r600: fixup problems with EXA operation reset for multiple ops
To put multiple ops into one CS, you can't just discard the whole IB. This add supports for reset the CS cdw to the correct place after an op discards. Still doesn't enable the final accel bits.
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r--src/r600_textured_videofuncs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index c740e066..0318e603 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -112,8 +112,7 @@ R600DoneTexturedVideo(ScrnInfoPtr pScrn)
accel_state->dst_size, accel_state->dst_mc_addr,
accel_state->dst_bo, 0, RADEON_GEM_DOMAIN_VRAM);
- accel_state->vb_start_op = 0;
- R600CPFlushIndirect(pScrn, accel_state->ib);
+ r600_finish_op(pScrn);
}
void