]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe/nvl: Define NVL-S platform
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 17 Oct 2025 02:26:30 +0000 (19:26 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 18 Oct 2025 02:41:10 +0000 (19:41 -0700)
Provide the basic platform definitions and PCI IDs for NVL-S.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://lore.kernel.org/r/20251016-xe3p-v3-11-3dd173a3097a@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_platform_types.h
include/drm/intel/pciids.h

index f3ab19d3ee91c89f5ccf51f2841d8f6113a8d486..6dc5124967a196054f170fa9e60aa32847d97fcb 100644 (file)
@@ -377,6 +377,17 @@ static const struct xe_device_desc ptl_desc = {
        .vm_max_level = 4,
 };
 
+static const struct xe_device_desc nvls_desc = {
+       PLATFORM(NOVALAKE_S),
+       .dma_mask_size = 46,
+       .has_display = true,
+       .has_flat_ccs = 1,
+       .max_gt_per_tile = 2,
+       .require_force_probe = true,
+       .va_bits = 48,
+       .vm_max_level = 4,
+};
+
 #undef PLATFORM
 __diag_pop();
 
@@ -403,6 +414,7 @@ static const struct pci_device_id pciidlist[] = {
        INTEL_LNL_IDS(INTEL_VGA_DEVICE, &lnl_desc),
        INTEL_BMG_IDS(INTEL_VGA_DEVICE, &bmg_desc),
        INTEL_PTL_IDS(INTEL_VGA_DEVICE, &ptl_desc),
+       INTEL_NVLS_IDS(INTEL_VGA_DEVICE, &nvls_desc),
        { }
 };
 MODULE_DEVICE_TABLE(pci, pciidlist);
index 3e332214c7bb45f0360912120a7fa64c3cf502fb..78286285c2495e523ea6c2a24372173418f04531 100644 (file)
@@ -24,6 +24,7 @@ enum xe_platform {
        XE_LUNARLAKE,
        XE_BATTLEMAGE,
        XE_PANTHERLAKE,
+       XE_NOVALAKE_S,
 };
 
 enum xe_subplatform {
index 0cd12616d621cfc64c66db5d0ce9ebef9074bc50..9f095a99d6c9092f8f4750ce962aa1d98b6b36a7 100644 (file)
        MACRO__(0xFD80, ## __VA_ARGS__), \
        MACRO__(0xFD81, ## __VA_ARGS__)
 
+/* NVL-S */
+#define INTEL_NVLS_IDS(MACRO__, ...) \
+       MACRO__(0xD740, ## __VA_ARGS__), \
+       MACRO__(0xD741, ## __VA_ARGS__), \
+       MACRO__(0xD742, ## __VA_ARGS__), \
+       MACRO__(0xD743, ## __VA_ARGS__), \
+       MACRO__(0xD744, ## __VA_ARGS__), \
+       MACRO__(0xD745, ## __VA_ARGS__)
+
 #endif /* __PCIIDS_H__ */