intel/dev: fix macro naming convention in gen_wa_helpers.py
authorMark Janes <markjanes@swizzler.org>
Wed, 15 Mar 2023 20:53:29 +0000 (13:53 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:23:52 +0000 (23:23 +0000)
commit8c78dd6320659889e5bdf09faeac393caec80b34
tree1f9977c5099506edf183e6078346c36b93e5aaf9
parent52c71cf959b92b8eda18f9761ab01494b33a61af
intel/dev: fix macro naming convention in gen_wa_helpers.py

intel_device_info.h tests macros in the form `INTEL_WA_{id}_GFX_VER`.
gen_wa_helpers.py produced macros in the form `INTEL_GFX_VER_WA_{id}`

Change the generated code to follow intel_device_info.h

Fixes: 3c9a8f7a6d2 ("intel/dev: generate helpers to identify platform workarounds")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21908>
src/intel/dev/gen_wa_helpers.py