Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Prepare SR-IOV provisioning for VGPU profiles
@ 2026-10-27 10:30 Piórkowski, Piotr
  2026-10-27 10:30 ` [PATCH v1 1/5] drm/xe/pf: Split the bulk priority provisioning function Piórkowski, Piotr
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Piórkowski, Piotr @ 2026-10-27 10:30 UTC (permalink / raw)
  To: intel-xe

From: Piotr Piórkowski <piotr.piorkowski@intel.com>

This series prepares the PF provisioning code for the upcoming VGPU
profiles support, where the provisioning mode will be changed and the
PF and VFs will be provisioned while already holding the master mutex.

It splits the priority and the provisioning mode change functions into
static helpers that expect the caller to hold the master mutex, and it
makes the provisioning mode changes, the VFs auto-provisioning and the
VFs unprovisioning run under the master mutex. This way the provisioning
mode can no longer change between the mode check and the actual
(un)provisioning.

To make the auto-provisioning atomic, the fair VFs provisioning gets
_locked variants. The unlocked fair provisioning functions have no
users left, so they are removed.

No functional change is expected, other than the stricter locking.

Michal Wajdeczko (3):
  drm/xe/pf: Split the bulk priority provisioning function
  drm/xe/pf: Change provisioning mode under mutex
  drm/xe/pf: Split the provisioning mode change function

Piotr Piórkowski (2):
  drm/xe/pf: Add locked variant of the fair VFs provisioning
  drm/xe/pf: Provision VFs under mutex

 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 69 ++++++++---------
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 17 ++--
 drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 90 ++++++++++++++--------
 3 files changed, 98 insertions(+), 78 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-11-10 12:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 10:30 [PATCH v1 0/5] Prepare SR-IOV provisioning for VGPU profiles Piórkowski, Piotr
2026-10-27 10:30 ` [PATCH v1 1/5] drm/xe/pf: Split the bulk priority provisioning function Piórkowski, Piotr
2026-11-10 10:44   ` Bernatowicz, Marcin
2026-10-27 10:30 ` [PATCH v1 2/5] drm/xe/pf: Change provisioning mode under mutex Piórkowski, Piotr
2026-11-10 10:46   ` Bernatowicz, Marcin
2026-10-27 10:30 ` [PATCH v1 3/5] drm/xe/pf: Add locked variant of the fair VFs provisioning Piórkowski, Piotr
2026-11-10 10:47   ` Bernatowicz, Marcin
2026-10-27 10:30 ` [PATCH v1 4/5] drm/xe/pf: Provision VFs under mutex Piórkowski, Piotr
2026-11-10 10:48   ` Bernatowicz, Marcin
2026-10-27 10:30 ` [PATCH v1 5/5] drm/xe/pf: Split the provisioning mode change function Piórkowski, Piotr
2026-11-10 10:49   ` Bernatowicz, Marcin
2026-10-27 10:39 ` ✓ CI.KUnit: success for Prepare SR-IOV provisioning for VGPU profiles Patchwork
2026-10-27 11:15 ` ✓ Xe.CI.BAT: " Patchwork
2026-10-27 13:07 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-11-10 12:36   ` Piotr Piórkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox