mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
intel/dev: fixup intel_needs_workaround() macro
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41047>
This commit is contained in:
parent
7adfea17e3
commit
13f5531692
1 changed files with 2 additions and 2 deletions
|
|
@ -204,10 +204,10 @@ bool intel_device_info_compute_system_memory(struct intel_device_info *devinfo,
|
|||
#ifdef GFX_VERx10
|
||||
#define intel_needs_workaround(devinfo, id) \
|
||||
(INTEL_WA_ ## id ## _GFX_VER && \
|
||||
BITSET_TEST(devinfo->workarounds, INTEL_WA_##id))
|
||||
BITSET_TEST((devinfo)->workarounds, INTEL_WA_##id))
|
||||
#else
|
||||
#define intel_needs_workaround(devinfo, id) \
|
||||
BITSET_TEST(devinfo->workarounds, INTEL_WA_##id)
|
||||
BITSET_TEST((devinfo)->workarounds, INTEL_WA_##id)
|
||||
#endif
|
||||
|
||||
enum intel_wa_steppings intel_device_info_wa_stepping(struct intel_device_info *devinfo);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue