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 2/2] HAX: Try SR-IOV on ADLP/ATSM
Date: Wed, 26 Jun 2024 10:43:04 +0200	[thread overview]
Message-ID: <20240626084304.1345-3-michal.wajdeczko@intel.com> (raw)
In-Reply-To: <20240626084304.1345-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 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


  parent reply	other threads:[~2024-06-26  8:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-26  8:43 [PATCH 0/2] drm/xe/vf: Track writes to inaccessible registers from VF Michal Wajdeczko
2024-06-26  8:43 ` [PATCH 1/2] " Michal Wajdeczko
2024-06-27  9:23   ` Piotr Piórkowski
2024-07-01 16:23     ` Michal Wajdeczko
2024-06-26  8:43 ` Michal Wajdeczko [this message]
2024-06-26  9:25 ` ✓ CI.Patch_applied: success for drm/xe/vf: Track writes to inaccessible registers from VF (rev2) Patchwork
2024-06-26  9:25 ` ✓ CI.checkpatch: " Patchwork
2024-06-26  9:27 ` ✓ CI.KUnit: " Patchwork
2024-06-26  9:38 ` ✓ CI.Build: " Patchwork
2024-06-26  9:41 ` ✓ CI.Hooks: " Patchwork
2024-06-26  9:42 ` ✓ CI.checksparse: " Patchwork
2024-06-26 10:05 ` ✓ CI.BAT: " Patchwork
2024-06-26 12:04 ` ✗ CI.FULL: failure " Patchwork
2024-06-26 20:33   ` Michal Wajdeczko
  -- strict thread matches above, loose matches on Subject: below --
2024-06-26 11:18 [PATCH 0/2] drm/xe/pf: Disable VFs on remove Michal Wajdeczko
2024-06-26 11:18 ` [PATCH 2/2] HAX: Try SR-IOV on ADLP/ATSM Michal Wajdeczko
2024-06-24 20:57 [PATCH 0/2] PF: Trigger explicit FLR while disabling VFs Michal Wajdeczko
2024-06-24 20:57 ` [PATCH 2/2] HAX: Try SR-IOV on ADLP/ATSM 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=20240626084304.1345-3-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