[CI] HAX: Try SR-IOV on ADLP/ATSM
Michal Wajdeczko
michal.wajdeczko at intel.com
Mon Jun 24 12:02:03 UTC 2024
This is for CI only. DO NOT REVIEW. DO NOT MERGE.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
---
drivers/gpu/drm/xe/xe_module.c | 1 +
drivers/gpu/drm/xe/xe_pci.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 893858a2eea0..c0cf3b8ad815 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -18,6 +18,7 @@ struct xe_modparam xe_modparam = {
.enable_display = true,
.guc_log_level = 5,
.force_probe = CONFIG_DRM_XE_FORCE_PROBE,
+ .max_vfs = IS_ENABLED(CONFIG_DRM_XE_DEBUG) ? ~0 : 0,
.wedged_mode = 1,
/* the rest are 0 by default */
};
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index ebff5ea79b1d..488a444b7b5c 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -261,6 +261,7 @@ static const struct xe_device_desc adl_p_desc = {
{ XE_SUBPLATFORM_ALDERLAKE_P_RPLU, "RPLU", adlp_rplu_ids },
{},
},
+ .has_sriov = IS_ENABLED(CONFIG_DRM_XE_DEBUG),
};
static const struct xe_device_desc adl_n_desc = {
@@ -307,6 +308,7 @@ static const struct xe_device_desc ats_m_desc = {
DG2_FEATURES,
.has_display = false,
+ .has_sriov = IS_ENABLED(CONFIG_DRM_XE_DEBUG),
};
static const struct xe_device_desc dg2_desc = {
--
2.43.0
More information about the Intel-xe
mailing list