summaryrefslogtreecommitdiff
path: root/src/r6xx_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-04-01 11:24:32 +1000
committerDave Airlie <airlied@redhat.com>2010-04-01 12:37:04 +1000
commit6baa96c44ca93b88acf5233335cee233e59d5af4 (patch)
tree82f70b98f90e272ca9231879f30e9f6eb4a8528b /src/r6xx_accel.c
parent87f49a24019967552c5478d6af89ba438b4261c8 (diff)
r600/exa: further cleanup, use the object struct in the accel state.
This cleans up the accel state objects as well. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/r6xx_accel.c')
-rw-r--r--src/r6xx_accel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 45561129..a835d710 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -1287,8 +1287,8 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
/* sync dst surface */
cp_set_surface_sync(pScrn, accel_state->ib, (CB_ACTION_ENA_bit | CB0_DEST_BASE_ENA_bit),
- accel_state->dst_size, accel_state->dst_mc_addr,
- accel_state->dst_bo, 0, accel_state->dst_domain);
+ accel_state->dst_size, accel_state->dst_obj.offset,
+ accel_state->dst_obj.bo, 0, accel_state->dst_obj.domain);
accel_state->vb_start_op = -1;
accel_state->ib_reset_op = 0;