Commit 812ec747 authored by Lucas De Marchi's avatar Lucas De Marchi Committed by Rodrigo Vivi

drm/xe: Sync MTL PCI IDs with i915

For Xe1 platforms, it's better to follow the way i915 adds the PCI IDs
to the header, so it's easier to catch up when there is an update. This
brings the same logic applied in commit 2e3c369f ("drm/i915/mtl:
Eliminate subplatforms") to the equivalent xe header.

The end result of this header for Xe1 platforms is now in sync with i915
as of commit 5032c607 ("drm/i915: ATS-M device ID update"). This can
be seen by

	$ git show 5032c607:include/drm/i915_pciids.h > a.h
	$ git diff --color-words  --no-index a.h include/drm/xe_pciids.h
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20231121195209.802235-2-lucas.demarchi@intel.comSigned-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent fdb6a053
......@@ -173,33 +173,14 @@
XE_ATS_M150_IDS(MACRO__, ## __VA_ARGS__),\
XE_ATS_M75_IDS(MACRO__, ## __VA_ARGS__)
/* MTL */
#define XE_MTL_M_IDS(MACRO__, ...) \
/* MTL / ARL */
#define XE_MTL_IDS(MACRO__, ...) \
MACRO__(0x7D40, ## __VA_ARGS__), \
MACRO__(0x7D43, ## __VA_ARGS__), \
MACRO__(0x7DC0, ## __VA_ARGS__)
#define XE_MTL_P_IDS(MACRO__, ...) \
MACRO__(0x7D45, ## __VA_ARGS__), \
MACRO__(0x7D47, ## __VA_ARGS__), \
MACRO__(0x7D50, ## __VA_ARGS__), \
MACRO__(0x7D55, ## __VA_ARGS__), \
MACRO__(0x7DC5, ## __VA_ARGS__), \
MACRO__(0x7DD0, ## __VA_ARGS__), \
MACRO__(0x7DD5, ## __VA_ARGS__)
#define XE_MTL_S_IDS(MACRO__, ...) \
MACRO__(0x7D60, ## __VA_ARGS__), \
MACRO__(0x7DE0, ## __VA_ARGS__)
#define XE_ARL_IDS(MACRO__, ...) \
MACRO__(0x7D67, ## __VA_ARGS__)
#define XE_MTL_IDS(MACRO__, ...) \
XE_MTL_M_IDS(MACRO__, ## __VA_ARGS__), \
XE_MTL_P_IDS(MACRO__, ## __VA_ARGS__), \
XE_MTL_S_IDS(MACRO__, ## __VA_ARGS__), \
XE_ARL_IDS(MACRO__, ## __VA_ARGS__)
MACRO__(0x7D67, ## __VA_ARGS__), \
MACRO__(0x7DD5, ## __VA_ARGS__)
#define XE_LNL_IDS(MACRO__, ...) \
MACRO__(0x6420, ## __VA_ARGS__), \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment