[Mesa-dev] [PATCH 09/10] panfrost: Make SLAB pool creation rely on BO helpers

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Tue Jul 2 16:03:07 UTC 2019

> We need a wrapper that contains a BO plus a pb_slab object for
> SLAB-based allocations (allocation of sub-page-size objects), that's
> exactly what panfrost_memory is right now. We can rename it if you
> like, but I don't think we can get rid of it.

Eventually I do think we'll want to toss these SLAB allocations
entirely, in favour of plain old BOs (and managing transient memory ourself
as discussed).

The case that wouldn't be handled are the "persistent command stream
descriptors" but I think that might be totally unused now.


What we *will* want a good solution to is fat pointers (so we can
recover both CPU and GPU address).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190702/719b086f/attachment-0001.sig>

More information about the mesa-dev mailing list