intel/dev: add parentheses around intel_needs_workaround macro

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23596>
This commit is contained in:
Tapani Pälli
2023-06-12 21:26:38 +03:00
committed by Marge Bot
parent 4c28c5b074
commit 15433897b2
+2 -2
View File
@@ -583,8 +583,8 @@ void intel_device_info_update_after_hwconfig(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)
(INTEL_WA_ ## id ## _GFX_VER && \
BITSET_TEST(devinfo->workarounds, INTEL_WA_##id))
#else
#define intel_needs_workaround(devinfo, id) \
BITSET_TEST(devinfo->workarounds, INTEL_WA_##id)