summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2023-08-11 09:06:16 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 11:40:26 -0500
commit3330361543fca2a60b71ebf02cd5e56bb417b159 (patch)
tree35105fd926a17083d01c1518867e1602de014796 /drivers
parent0993b22f93f867b4ed1c1fc3f077fa7e736353d6 (diff)
downloadlinux-stable-3330361543fca2a60b71ebf02cd5e56bb417b159.tar.gz
linux-stable-3330361543fca2a60b71ebf02cd5e56bb417b159.tar.bz2
linux-stable-3330361543fca2a60b71ebf02cd5e56bb417b159.zip
drm/xe/lnl: Add LNL platform definition
LNL is an integrated GPU based on the Xe2 architecture. Bspec: 70821 Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/xe/xe_pci.c6
-rw-r--r--drivers/gpu/drm/xe/xe_platform_types.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 8512cd451887..6c2c6723b1b2 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -319,6 +319,11 @@ static const struct xe_device_desc mtl_desc = {
PLATFORM(XE_METEORLAKE),
};
+static const struct xe_device_desc lnl_desc = {
+ PLATFORM(XE_LUNARLAKE),
+ .require_force_probe = true,
+};
+
#undef PLATFORM
/* Map of GMD_ID values to graphics IP */
@@ -356,6 +361,7 @@ static const struct pci_device_id pciidlist[] = {
XE_ATS_M_IDS(INTEL_VGA_DEVICE, &ats_m_desc),
XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc),
XE_MTL_IDS(INTEL_VGA_DEVICE, &mtl_desc),
+ XE_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
{ }
};
MODULE_DEVICE_TABLE(pci, pciidlist);
diff --git a/drivers/gpu/drm/xe/xe_platform_types.h b/drivers/gpu/drm/xe/xe_platform_types.h
index abbb8a1f29a8..e378a64a0f86 100644
--- a/drivers/gpu/drm/xe/xe_platform_types.h
+++ b/drivers/gpu/drm/xe/xe_platform_types.h
@@ -21,6 +21,7 @@ enum xe_platform {
XE_DG2,
XE_PVC,
XE_METEORLAKE,
+ XE_LUNARLAKE,
};
enum xe_subplatform {