summaryrefslogtreecommitdiff
path: root/src/r6xx_accel.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-03-22 18:05:36 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-03-22 18:05:36 -0400
commitdda3f5a99e7a2dc5d57860f4d07df3498e1e21df (patch)
tree51f0dc6337e8552da63c768ffa19be05a4955aa3 /src/r6xx_accel.c
parent5c256808cb5fea955eea96ffe9196473715156aa (diff)
r6xx EXA/Xv: track src/dst domains
Much of the code is shared, so track the src/dst domains so we make sure the uses consistent domains for each bo.
Diffstat (limited to 'src/r6xx_accel.c')
-rw-r--r--src/r6xx_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index d7a95a46..45561129 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -1288,7 +1288,7 @@ 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, RADEON_GEM_DOMAIN_VRAM | RADEON_GEM_DOMAIN_GTT, 0);
+ accel_state->dst_bo, 0, accel_state->dst_domain);
accel_state->vb_start_op = -1;
accel_state->ib_reset_op = 0;