[Mesa-dev] [PATCH 3/3] panfrost: Swap order of tiled texture (de)alloc
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 19 13:14:47 UTC 2019
On Fri, 15 Feb 2019 at 22:12, Alyssa Rosenzweig <alyssa at rosenzweig.io> wrote:
>
> > Am I reading this correctly, that now we free a slab [for a tiled
> > texture] before allocating new one? The commit message seems rather
> > cryptic.
>
> Yeah, it's a super minor fix. Rather than allocating a new slab for the
> texture and then freeing the old slab, we free then allocate.
> Practically, it's identical (since there's no dependency, and they ought
> to be the same size...), but it does avoid having to expand the pool if
> we're right on the edge. Almost nitpick level, but hey, if it makes
> memory use slightly lower and performance slightly more predictable :)
Right, thanks. Just double-checking since I was struggling with the
commit message.
-Emil
More information about the mesa-dev
mailing list