diff options
author | Ilia Mirkin <[email protected]> | 2014-10-16 02:58:28 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-11-12 15:24:15 -0500 |
commit | 22543dd8a1b8aa9b963c0f355a628159fe83a5bf (patch) | |
tree | 756ae6fdca7c83684cc1e5a318e60469f930d51d /src/gallium | |
parent | 9247509a8d62cb728f469d664cbd6e8a70aa8548 (diff) |
nvc0: remove unused mm_VRAM_fe0
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 7 | ||||
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 88fc9264829..4d4d5eb340a 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 4802057f70e..8a1991f52eb 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; |