summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_ioctl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_ioctl.c b/src/mesa/drivers/dri/r300/r300_ioctl.c
index 884a7d49e4..ace9131b33 100644
--- a/src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/src/mesa/drivers/dri/r300/r300_ioctl.c
@@ -446,14 +446,6 @@ static void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
dmabuf->id = radeon_mm_alloc(rmesa, 4, size);
-#ifdef HW_VBOS
- if (dmabuf->id == 0) {
- /* Just kick all */
- r300EvictVBOs(rmesa->radeon.glCtx,
- /*RADEON_BUFFER_SIZE*16 */ 1 << 30);
- dmabuf->id = radeon_mm_alloc(rmesa, 4, size);
- }
-#endif
UNLOCK_HARDWARE(&rmesa->radeon);
if (dmabuf->id == 0) {