panfrost: Add Valhall support to pandecode
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 18 Nov 2021 23:17:01 +0000 (18:17 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 6 Dec 2021 20:46:09 +0000 (20:46 +0000)
commit9b068f186a4bbdc77448814c47df40dc10186178
treec77aabd76ba5ef1a7268226ef7f6f66b7429f0b9
parent745d7db74813b8e1ce52c879e0bbffde2ca6e6c1
panfrost: Add Valhall support to pandecode

Valhall v9 introduces a number of new data structures since Bifrost v7,
and removes a number of traditional data structures. Add decode routines
for the new Valhall data structures, and condition the old routines on
(PAN_ARCH <= 7) to remain buildable and warning-free.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14063>
src/panfrost/lib/genxml/decode.c
src/panfrost/lib/genxml/decode_common.c
src/panfrost/lib/genxml/gen_macros.h
src/panfrost/lib/genxml/meson.build