Module: Mesa Branch: master Commit: 22543dd8a1b8aa9b963c0f355a628159fe83a5bf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=22543dd8a1b8aa9b963c0f355a628159fe83a5bf
Author: Ilia Mirkin <imir...@alum.mit.edu> Date: Thu Oct 16 02:58:28 2014 -0400 nvc0: remove unused mm_VRAM_fe0 Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 7 ------- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 -- 2 files changed, 9 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 88fc926..4d4d5eb 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -406,8 +406,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen) FREE(screen->tic.entries); - nouveau_mm_destroy(screen->mm_VRAM_fe0); - nouveau_object_del(&screen->eng3d); nouveau_object_del(&screen->eng2d); nouveau_object_del(&screen->m2mf); @@ -601,7 +599,6 @@ nvc0_screen_create(struct nouveau_device *dev) uint32_t obj_class; int ret; unsigned i; - union nouveau_bo_config mm_config; switch (dev->chipset & ~0xf) { case 0xc0: @@ -1014,10 +1011,6 @@ nvc0_screen_create(struct nouveau_device *dev) screen->tic.entries = CALLOC(4096, sizeof(void *)); screen->tsc.entries = screen->tic.entries + 2048; - mm_config.nvc0.tile_mode = 0; - mm_config.nvc0.memtype = 0xfe0; - screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_config); - if (!nvc0_blitter_create(screen)) goto fail; diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h index 4802057..8a1991f 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h @@ -73,8 +73,6 @@ struct nvc0_screen { boolean mp_counters_enabled; } pm; - struct nouveau_mman *mm_VRAM_fe0; - struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */ struct nouveau_object *eng2d; struct nouveau_object *m2mf; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit