Skip to content

Commit aaecfad

Browse files
committed
drm/intel/bmg: Allow device ID usage with single-argument macros
When INTEL_BMG_G21_IDS were added as a subplatform, token concatenation operator usage was omitted, making INTEL_BMG_IDS not usable with single-argument macros. Fix that by adding the missing operator. Fixes: 78de8f8 ("drm/xe: Handle Wa_22010954014 and Wa_14022085890 as device workarounds") Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patch.msgid.link/20251112132220.516975-25-michal.winiarski@intel.com Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
1 parent 3b358c2 commit aaecfad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/drm/intel/pciids.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@
861861
MACRO__(0xE216, ## __VA_ARGS__)
862862

863863
#define INTEL_BMG_IDS(MACRO__, ...) \
864-
INTEL_BMG_G21_IDS(MACRO__, __VA_ARGS__), \
864+
INTEL_BMG_G21_IDS(MACRO__, ## __VA_ARGS__), \
865865
MACRO__(0xE220, ## __VA_ARGS__), \
866866
MACRO__(0xE221, ## __VA_ARGS__), \
867867
MACRO__(0xE222, ## __VA_ARGS__), \

0 commit comments

Comments
 (0)