asahi: Identify CDM block types
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 13 Sep 2022 02:22:56 +0000 (22:22 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 18 Sep 2022 14:34:25 +0000 (10:34 -0400)
commit4e8a586fd3327f5b0e444a52fb05158b1058ee47
tree0d395bebbb1dd217e7bfa68c6a3ca85d9f334f50
parent1400733320414b72765bc02dbc556aa1c95020ff
asahi: Identify CDM block types

Same enum as PowerVR CDM, annoyingly different from the VDM block types.
Split out the stream link / terminate structs (both observed with Metal
for copious amounts of compute), in preparation for decoding "properly".

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18623>
src/asahi/lib/cmdbuf.xml
src/asahi/lib/decode.c
src/gallium/drivers/asahi/agx_state.c