aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600/drm/r600_drm.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-05 15:57:57 +1000
committerDave Airlie <[email protected]>2010-10-05 15:57:57 +1000
commit46997d4fc27e62a1c479f25f5f441b95e6d5cb64 (patch)
treed69fbbad3048f234a1d328bf10bd945ac429cc70 /src/gallium/winsys/r600/drm/r600_drm.c
parent05813ad5f440a33cc7e222982a120f62028aa887 (diff)
r600g: drop mman allocator
we don't use this since constant buffers are now being used on all gpus.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600_drm.c')
-rw-r--r--src/gallium/winsys/r600/drm/r600_drm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c
index 31fb7d4e0fd..5f175a4df98 100644
--- a/src/gallium/winsys/r600/drm/r600_drm.c
+++ b/src/gallium/winsys/r600/drm/r600_drm.c
@@ -157,9 +157,6 @@ struct radeon *radeon_new(int fd, unsigned device)
break;
}
- radeon->mman = pb_malloc_bufmgr_create();
- if (!radeon->mman)
- return NULL;
radeon->kman = radeon_bo_pbmgr_create(radeon);
if (!radeon->kman)
return NULL;
@@ -182,7 +179,6 @@ struct radeon *radeon_decref(struct radeon *radeon)
return NULL;
}
- radeon->mman->destroy(radeon->mman);
radeon->cman->destroy(radeon->cman);
radeon->kman->destroy(radeon->kman);
drmClose(radeon->fd);