nvc0: remove unused nvc0_screen::mm_VRAM_fe0
PATCH 1/1 nvc0: remove unused nvc0_screen::mm_VRAM_fe0
In reply to a message not in the archiveThis member is declared, allocated and destroyed, but doesn't seem to be used or referenced anywhere in the code.
---
Resending after fixing typo in email address - apologies for the inconvenience.
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 -- 2 files changed, 5 deletions(-)
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0 -3
@@ -407,8 +407,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);
@@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev) 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;
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +0 -2
@@ -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;
Signature · 6 lines
2.1.2 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Ping, how about this guy?
Quoted 46 lines · Alexandre Courbot
This member is declared, allocated and destroyed, but doesn't seem to be used or referenced anywhere in the code.
Signed-off-by Alexandre Courbot <[email protected]>---
Resending after fixing typo in email address - apologies for the inconvenience.src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 -- 2 files changed, 5 deletions(-)src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0
-3@@ -407,8 +407,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);@@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev) 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;src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +0
-3@@ -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; --
Quoted 2 lines
2.1.2
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
LG. I had this same patch locally I think... I came up with it after I went looking at the various VRAM usage after you were asking questions about it.
Quoted 48 lines · Alexandre Courbot
Ping, how about this guy?
Quoted 6 lines · Alexandre Courbot
This member is declared, allocated and destroyed, but doesn't seem to be used or referenced anywhere in the code.
Signed-off-by Alexandre Courbot <[email protected]>---
Resending after fixing typo in email address - apologies for theinconvenience.
Review
Quoted 6 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 -- 2 files changed, 5 deletions(-)(quoted diff) +0
-0
b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.cQuoted 13 lines
index
a7581f286cfc..61b381693224100644src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0
-2@@ -407,8 +407,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);src/gallium/drivers/nouveau/nvc0/nvc0_screen.c nvc0_screen_create(struct nouveau_device *dev) · line 1030
Quoted 4 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0
-1@@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev) mm_config.nvc0.tile_mode =0 ; mm_config.nvc0.memtype =0xfe0 ; - screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM,
&mm_config);Review
Quoted 4 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +0
-0if (!nvc0_blitter_create (screen)) goto fail;(quoted diff) +0
-0
b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.hQuoted 7 lines
index
4802057f70ee..8a1991f52eb4100644src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +0
-0@@ -73,8 +73,6 @@ struct nvc0_screen {boolean mp_counters_enabled; } pm;
Quoted 10 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h struct nvc0_screen {
Quoted 3 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +0
-2-struct nouveau_mman *mm_VRAM_fe0; -struct nouveau_object *eng3d;/* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */
Quoted 5 lines
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h +0
-1struct nouveau_object *eng2d;struct nouveau_object *m2mf; --2.1.2
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 3 lines · Ilia Mirkin
LG. I had this same patch locally I think... I came up with it after I went looking at the various VRAM usage after you were asking questions about it.
Good, I'm dropping this version then, and assume yours will get merged soon.
Thanks!
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau