drm/i915/display/bmg: Add platform descriptor
Platform descriptor defined and PCI IDs added for Battlemage. Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240604140021.1357502-1-balasubramani.vivekanandan@intel.com
This commit is contained in:
parent
ba9bbbe149
commit
76dbc41608
@ -1110,6 +1110,10 @@ static const struct platform_desc lnl_desc = {
|
||||
PLATFORM(LUNARLAKE),
|
||||
};
|
||||
|
||||
static const struct platform_desc bmg_desc = {
|
||||
PLATFORM(BATTLEMAGE),
|
||||
};
|
||||
|
||||
__diag_pop();
|
||||
|
||||
/*
|
||||
@ -1178,6 +1182,7 @@ static const struct {
|
||||
INTEL_DG2_IDS(INTEL_DISPLAY_DEVICE, &dg2_desc),
|
||||
INTEL_MTL_IDS(INTEL_DISPLAY_DEVICE, &mtl_desc),
|
||||
INTEL_LNL_IDS(INTEL_DISPLAY_DEVICE, &lnl_desc),
|
||||
INTEL_BMG_IDS(INTEL_DISPLAY_DEVICE, &bmg_desc),
|
||||
};
|
||||
|
||||
static const struct {
|
||||
|
@ -68,6 +68,8 @@ enum intel_display_platform {
|
||||
INTEL_DISPLAY_METEORLAKE,
|
||||
/* Display ver 20 (based on GMD ID) */
|
||||
INTEL_DISPLAY_LUNARLAKE,
|
||||
/* Display ver 14.1 (based on GMD ID) */
|
||||
INTEL_DISPLAY_BATTLEMAGE,
|
||||
};
|
||||
|
||||
enum intel_display_subplatform {
|
||||
|
@ -789,4 +789,12 @@
|
||||
MACRO__(0x64A0, ## __VA_ARGS__), \
|
||||
MACRO__(0x64B0, ## __VA_ARGS__)
|
||||
|
||||
/* BMG */
|
||||
#define INTEL_BMG_IDS(MACRO__, ...) \
|
||||
MACRO__(0xE202, ## __VA_ARGS__), \
|
||||
MACRO__(0xE20B, ## __VA_ARGS__), \
|
||||
MACRO__(0xE20C, ## __VA_ARGS__), \
|
||||
MACRO__(0xE20D, ## __VA_ARGS__), \
|
||||
MACRO__(0xE212, ## __VA_ARGS__)
|
||||
|
||||
#endif /* _I915_PCIIDS_H */
|
||||
|
Loading…
Reference in New Issue
Block a user