nvc0: remove unused mm_VRAM_fe0
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Oct 2014 06:58:28 +0000 (02:58 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 12 Nov 2014 20:24:15 +0000 (15:24 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h

index 88fc9264829f2786a9afd85f5eb896f33ba41670..4d4d5eb340a8acf9ad3b7c986223325d15601aa4 100644 (file)
@@ -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;
 
index 4802057f70eec4fe40e38509223dd9cad39dd632..8a1991f52eb4ec04c5c6a2cb501e6f54b68b3c11 100644 (file)
@@ -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;