summaryrefslogtreecommitdiff
path: root/src/r6xx_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-06-15 17:09:00 +0100
committerDave Airlie <airlied@redhat.com>2012-06-15 17:09:00 +0100
commit832244de9e6d7aa1b8fbeb29c9a6a86923744d60 (patch)
treed13dad65cf29e8fe317d5d601e655395c3c05651 /src/r6xx_accel.c
parent6559b6e28bf111b64c3aeb5ec1260acfeb3e0b7f (diff)
radeon: drop vb_mc_addr, not needed anymore
This field is totally unused now, so drop it. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/r6xx_accel.c')
-rw-r--r--src/r6xx_accel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index eb0241c7..6bbf6637 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -513,12 +513,12 @@ r600_set_vtx_resource(ScrnInfoPtr pScrn, vtx_resource_t *res, uint32_t domain)
(info->ChipFamily == CHIP_FAMILY_RS880) ||
(info->ChipFamily == CHIP_FAMILY_RV710))
r600_cp_set_surface_sync(pScrn, TC_ACTION_ENA_bit,
- accel_state->vbo.vb_offset, accel_state->vbo.vb_mc_addr,
+ accel_state->vbo.vb_offset, 0,
res->bo,
domain, 0);
else
r600_cp_set_surface_sync(pScrn, VC_ACTION_ENA_bit,
- accel_state->vbo.vb_offset, accel_state->vbo.vb_mc_addr,
+ accel_state->vbo.vb_offset, 0,
res->bo,
domain, 0);
@@ -1212,7 +1212,7 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
vtx_res.vtx_size_dw = vtx_size / 4;
vtx_res.vtx_num_entries = accel_state->vbo.vb_size / 4;
vtx_res.mem_req_size = 1;
- vtx_res.vb_addr = accel_state->vbo.vb_mc_addr + accel_state->vbo.vb_start_op;
+ vtx_res.vb_addr = accel_state->vbo.vb_start_op;
vtx_res.bo = accel_state->vbo.vb_bo;
#if X_BYTE_ORDER == X_BIG_ENDIAN
vtx_res.endian = SQ_ENDIAN_8IN32;