freedreno/registers: teach gen_header.py about a3xx_regid
authorRob Clark <robdclark@chromium.org>
Sat, 15 Feb 2020 23:06:44 +0000 (15:06 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 Feb 2020 20:52:42 +0000 (20:52 +0000)
commit4fc31e7d33606f249bf984378cd49f0dcba6e325
tree85ddf92efd5b9de5caa8d737278aa3b96dd0d2f6
parentecca5ef6c380cf837ce3f261631f19dd3f18f51a
freedreno/registers: teach gen_header.py about a3xx_regid

This is a builtin type (treated as uint, but with special type-aware
decoding) in envytools/cffdump.  Lets teach gen_header.py about it and
drop the enum hack in the xml so I don't have to keep deleting the enum
when I sync the xml back to the freedreno envytools tree.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3833>
src/freedreno/registers/adreno_common.xml
src/freedreno/registers/gen_header.py