Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: intel-xe@lists.freedesktop.org
Subject: [PATCH 3/3] HAX: Try SR-IOV on ADLP/ATSM
Date: Mon,  1 Jul 2024 12:27:38 +0200	[thread overview]
Message-ID: <20240701102738.934-4-michal.wajdeczko@intel.com> (raw)
In-Reply-To: <20240701102738.934-1-michal.wajdeczko@intel.com>

This is for CI only. DO NOT REVIEW. DO NOT MERGE.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
---
 drivers/gpu/drm/xe/xe_module.c | 3 +++
 drivers/gpu/drm/xe/xe_pci.c    | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_module.c b/drivers/gpu/drm/xe/xe_module.c
index 893858a2eea0..66d1089f6021 100644
--- a/drivers/gpu/drm/xe/xe_module.c
+++ b/drivers/gpu/drm/xe/xe_module.c
@@ -18,6 +18,9 @@ struct xe_modparam xe_modparam = {
 	.enable_display = true,
 	.guc_log_level = 5,
 	.force_probe = CONFIG_DRM_XE_FORCE_PROBE,
+#ifdef CONFIG_PCI_IOV
+	.max_vfs = IS_ENABLED(CONFIG_DRM_XE_DEBUG) ? ~0 : 0,
+#endif
 	.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 4b91a9878f41..cdc2f630194b 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


  parent reply	other threads:[~2024-07-01 10:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 10:27 [PATCH 0/3] PF: Provisioning improvements Michal Wajdeczko
2024-07-01 10:27 ` [PATCH 1/3] drm/xe/pf: Skip fair VFs provisioning if already provisioned Michal Wajdeczko
2024-07-01 11:24   ` Piotr Piórkowski
2024-07-01 10:27 ` [PATCH 2/3] drm/xe/pf: Restart VFs provisioning after GT reset Michal Wajdeczko
2024-07-01 11:31   ` Piotr Piórkowski
2024-07-01 10:27 ` Michal Wajdeczko [this message]
2024-07-01 13:26 ` ✓ CI.Patch_applied: success for PF: Provisioning improvements (rev2) Patchwork
2024-07-01 13:26 ` ✓ CI.checkpatch: " Patchwork
2024-07-01 13:28 ` ✓ CI.KUnit: " Patchwork
2024-07-01 13:39 ` ✓ CI.Build: " Patchwork
2024-07-01 13:42 ` ✓ CI.Hooks: " Patchwork
2024-07-01 13:43 ` ✓ CI.checksparse: " Patchwork
2024-07-01 14:06 ` ✓ CI.BAT: " Patchwork
2024-07-01 15:15 ` ✗ CI.FULL: failure " Patchwork
2024-07-01 17:23   ` Michal Wajdeczko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240701102738.934-4-michal.wajdeczko@intel.com \
    --to=michal.wajdeczko@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox