asahi: Add allocation data structure
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 24 Apr 2021 23:08:51 +0000 (19:08 -0400)
committerAlyssa Rosenzweig <none>
Sun, 2 May 2021 21:41:20 +0000 (17:41 -0400)
commit0f556dbdc0268cf59471fc1a437340d9cfc16e28
tree97abfd123d9172d82c170c7fcd65bc331cc0af41
parentcad54e2721ded55c0ffa8257c943c1a3be4a8a99
asahi: Add allocation data structure

Something half-way between what IOKit (macOS) and DRM (Linux) want.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
src/asahi/lib/agx_allocation.h [new file with mode: 0644]