<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 11:59 PM, Alexandre Courbot <span dir="ltr"><<a href="mailto:gnurou@gmail.com" target="_blank">gnurou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ping, how about this guy?<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Oct 27, 2014 at 7:36 PM, Alexandre Courbot <<a href="mailto:acourbot@nvidia.com">acourbot@nvidia.com</a>> wrote:<br>
> This member is declared, allocated and destroyed, but doesn't seem to be<br>
> used or referenced anywhere in the code.<br>
><br>
> Signed-off-by: Alexandre Courbot <<a href="mailto:acourbot@nvidia.com">acourbot@nvidia.com</a>><br>
> ---<br>
> Resending after fixing typo in email address - apologies for the inconvenience.<br>
><br>
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ---<br>
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 2 --<br>
>  2 files changed, 5 deletions(-)<br>
><br>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c<br>
> index a7581f286cfc..61b381693224 100644<br>
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c<br>
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c<br>
> @@ -407,8 +407,6 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)<br>
><br>
>     FREE(screen->tic.entries);<br>
><br>
> -   nouveau_mm_destroy(screen->mm_VRAM_fe0);<br>
> -<br>
>     nouveau_object_del(&screen->eng3d);<br>
>     nouveau_object_del(&screen->eng2d);<br>
>     nouveau_object_del(&screen->m2mf);<br>
> @@ -1027,7 +1025,6 @@ nvc0_screen_create(struct nouveau_device *dev)<br>
><br>
>     mm_config.nvc0.tile_mode = 0;<br>
>     mm_config.nvc0.memtype = 0xfe0;<br>
> -   screen->mm_VRAM_fe0 = nouveau_mm_create(dev, NOUVEAU_BO_VRAM, &mm_config);<br>
><br>
>     if (!nvc0_blitter_create(screen))<br>
>        goto fail;<br>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h<br>
> index 4802057f70ee..8a1991f52eb4 100644<br>
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h<br>
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.h<br>
> @@ -73,8 +73,6 @@ struct nvc0_screen {<br>
>        boolean mp_counters_enabled;<br>
>     } pm;<br>
><br>
> -   struct nouveau_mman *mm_VRAM_fe0;<br>
> -<br>
>     struct nouveau_object *eng3d; /* sqrt(1/2)|kepler> + sqrt(1/2)|fermi> */<br>
>     struct nouveau_object *eng2d;<br>
>     struct nouveau_object *m2mf;<br>
> --<br>
> 2.1.2<br>
><br>
</div></div></blockquote></div><br></div>