diff options
author | Dave Airlie <[email protected]> | 2010-10-05 15:57:57 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-05 15:57:57 +1000 |
commit | 46997d4fc27e62a1c479f25f5f441b95e6d5cb64 (patch) | |
tree | d69fbbad3048f234a1d328bf10bd945ac429cc70 /src/gallium/winsys/r600/drm/r600_drm.c | |
parent | 05813ad5f440a33cc7e222982a120f62028aa887 (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.c | 4 |
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); |