drm/xe: Enable SR-IOV for TGL
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 22 Jul 2025 18:26:18 +0000 (20:26 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 23 Jul 2025 18:49:49 +0000 (11:49 -0700)
While we don't have official CI SR-IOV coverage for the Tigerlake
platforms, we were using this platform for the feature enabling
and Xe driver already has all required changes to support it.

Since TGL platforms are guarded by the xe.require_force_probe flag
enable SR-IOV feature on them, like we recently did for ADL/ATSM.

Suggested-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250722182618.30811-5-michal.wajdeczko@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_pci.c

index c672af4..053faa7 100644 (file)
@@ -169,6 +169,7 @@ static const struct xe_device_desc tgl_desc = {
        .dma_mask_size = 39,
        .has_display = true,
        .has_llc = true,
+       .has_sriov = true,
        .max_gt_per_tile = 1,
        .require_force_probe = true,
 };