Commit 33303615 authored by Matt Roper's avatar Matt Roper Committed by Rodrigo Vivi

drm/xe/lnl: Add LNL platform definition

LNL is an integrated GPU based on the Xe2 architecture.

Bspec: 70821
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarBalasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 0993b22f
...@@ -319,6 +319,11 @@ static const struct xe_device_desc mtl_desc = { ...@@ -319,6 +319,11 @@ static const struct xe_device_desc mtl_desc = {
PLATFORM(XE_METEORLAKE), PLATFORM(XE_METEORLAKE),
}; };
static const struct xe_device_desc lnl_desc = {
PLATFORM(XE_LUNARLAKE),
.require_force_probe = true,
};
#undef PLATFORM #undef PLATFORM
/* Map of GMD_ID values to graphics IP */ /* Map of GMD_ID values to graphics IP */
...@@ -356,6 +361,7 @@ static const struct pci_device_id pciidlist[] = { ...@@ -356,6 +361,7 @@ static const struct pci_device_id pciidlist[] = {
XE_ATS_M_IDS(INTEL_VGA_DEVICE, &ats_m_desc), XE_ATS_M_IDS(INTEL_VGA_DEVICE, &ats_m_desc),
XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc), XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc),
XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc), XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
{ } { }
}; };
MODULE_DEVICE_TABLE(pci, pciidlist); MODULE_DEVICE_TABLE(pci, pciidlist);
......
...@@ -21,6 +21,7 @@ enum xe_platform { ...@@ -21,6 +21,7 @@ enum xe_platform {
XE_DG2, XE_DG2,
XE_PVC, XE_PVC,
XE_METEORLAKE, XE_METEORLAKE,
XE_LUNARLAKE,
}; };
enum xe_subplatform { enum xe_subplatform {
......
...@@ -191,4 +191,9 @@ ...@@ -191,4 +191,9 @@
XE_MTL_S_IDS(MACRO__, ## __VA_ARGS__), \ XE_MTL_S_IDS(MACRO__, ## __VA_ARGS__), \
XE_ARL_IDS(MACRO__, ## __VA_ARGS__) XE_ARL_IDS(MACRO__, ## __VA_ARGS__)
#define XE_LNL_IDS(MACRO__, ...) \
MACRO__(0x6420, ## __VA_ARGS__), \
MACRO__(0x64A0, ## __VA_ARGS__), \
MACRO__(0x64B0, ## __VA_ARGS__)
#endif #endif
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