summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-04 23:40:41 +1000
committerDave Airlie <airlied@redhat.com>2009-02-04 23:40:41 +1000
commitc1a42f5cdc68d8ec2ccae2cd93a1615f5d4ca924 (patch)
treeef90bad8ea81b0eabd7852c7665deee30a73e997 /src/mesa/drivers/dri/r200
parente44effcfcba4591a622e47ee1b4807ddf5789d51 (diff)
r200: fixup DMA region stuff
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.c1
-rw-r--r--src/mesa/drivers/dri/r200/r200_maos_arrays.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c
index c2b5afc385..7a8c596ecf 100644
--- a/src/mesa/drivers/dri/r200/r200_context.c
+++ b/src/mesa/drivers/dri/r200/r200_context.c
@@ -586,7 +586,6 @@ void r200DestroyContext( __DRIcontextPrivate *driContextPriv )
r200ReleaseArrays( rmesa->radeon.glCtx, ~0 );
if (rmesa->radeon.dma.current) {
- radeonReleaseDmaRegion(&rmesa->radeon);
rcommonFlushCmdBuf( &rmesa->radeon, __FUNCTION__ );
}
diff --git a/src/mesa/drivers/dri/r200/r200_maos_arrays.c b/src/mesa/drivers/dri/r200/r200_maos_arrays.c
index 1bf7ef33f8..716f9037dd 100644
--- a/src/mesa/drivers/dri/r200/r200_maos_arrays.c
+++ b/src/mesa/drivers/dri/r200/r200_maos_arrays.c
@@ -222,7 +222,6 @@ after_emit:
rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
}
- radeon_bo_unmap(rmesa->radeon.dma.current);
rmesa->tcl.nr_aos_components = nr;
}
@@ -237,5 +236,4 @@ void r200ReleaseArrays( GLcontext *ctx, GLuint newinputs )
rmesa->tcl.aos[i].bo = NULL;
}
}
- radeonReleaseDmaRegion(&rmesa->radeon);
}