From dda3f5a99e7a2dc5d57860f4d07df3498e1e21df Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Mon, 22 Mar 2010 18:05:36 -0400 Subject: 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. --- src/r6xx_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/r6xx_accel.c') 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; -- cgit v1.2.3