public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning
@ 2026-03-30 20:40 Michal Wajdeczko
  2026-03-30 20:40 ` [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
                   ` (15 more replies)
  0 siblings, 16 replies; 32+ messages in thread
From: Michal Wajdeczko @ 2026-03-30 20:40 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko

Since some time [1] we allow to change scheduling configurations of
the PF and VFs, what can be done before or after the VFs are enabled.

But while default EQ/PT values give the most flexibility, they don't
protect the PF or other VFs from one VF that could constantly submit
workloads without any gaps that would let GuC do a VF-switch.

To avoid forcing careless users to use sysfs prior to the experiments,
perform some auto-provisioning and preset PF and VFs EQ/PT to 16ms,
which should be fine for most simple usecases.

But before doing that, fix some minor corner cases that could impact
EQ/PT provisioning.

[1] https://gitlab.freedesktop.org/drm/xe/kernel/-/commit/3f984d706d6b

Michal Wajdeczko (13):
  drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation
  drm/xe/pf: Fix pf_get_sched_priority() function signature
  drm/xe/pf: Force new VFs prorities only once
  drm/xe/pf: Print applied policy KLVs
  drm/xe/pf: Reprovision policy settings after GT reset
  drm/xe/pf: Don't reprovision policies if already default
  drm/xe/pf: Encode scheduling priority KLV if needed
  drm/xe/pf: Check EQ/PT/PRIO when testing VF config
  drm/xe/pf: Allow to change sched_if_idle policy under lock
  drm/xe/pf: Reprovision scheduling to default when no VFs
  drm/xe/pf: Extract helper to show which VFs are provisioned
  drm/xe/pf: Extract helpers for bulk EQ/PT provisioning
  drm/xe/pf: Perform fair scheduling auto-provisioning

 drivers/gpu/drm/xe/abi/guc_klvs_abi.h      |   7 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf.c        |   1 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 255 ++++++++++++++++++---
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h |   2 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c | 122 ++++++----
 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h |   4 +-
 drivers/gpu/drm/xe/xe_pci_sriov.c          |   2 +
 drivers/gpu/drm/xe/xe_sriov_pf_provision.c |  41 ++++
 drivers/gpu/drm/xe/xe_sriov_pf_provision.h |   1 +
 9 files changed, 355 insertions(+), 80 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2026-04-02 16:20 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 20:40 [PATCH 00/13] drm/xe/pf: Improve EQ/PT provisioning Michal Wajdeczko
2026-03-30 20:40 ` [PATCH 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
2026-04-02  7:54   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 02/13] drm/xe/pf: Fix pf_get_sched_priority() function signature Michal Wajdeczko
2026-04-02  7:55   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 03/13] drm/xe/pf: Force new VFs prorities only once Michal Wajdeczko
2026-04-02 10:22   ` Piotr Piórkowski
2026-04-02 16:13     ` Michal Wajdeczko
2026-03-30 20:40 ` [PATCH 04/13] drm/xe/pf: Print applied policy KLVs Michal Wajdeczko
2026-04-02 10:56   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 05/13] drm/xe/pf: Reprovision policy settings after GT reset Michal Wajdeczko
2026-04-02 11:23   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 06/13] drm/xe/pf: Don't reprovision policies if already default Michal Wajdeczko
2026-04-02 11:23   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 07/13] drm/xe/pf: Encode scheduling priority KLV if needed Michal Wajdeczko
2026-04-02 13:18   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 08/13] drm/xe/pf: Check EQ/PT/PRIO when testing VF config Michal Wajdeczko
2026-04-02 13:30   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 09/13] drm/xe/pf: Allow to change sched_if_idle policy under lock Michal Wajdeczko
2026-04-02 13:33   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 10/13] drm/xe/pf: Reprovision scheduling to default when no VFs Michal Wajdeczko
2026-04-02 15:22   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 11/13] drm/xe/pf: Extract helper to show which VFs are provisioned Michal Wajdeczko
2026-04-02 15:40   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 12/13] drm/xe/pf: Extract helpers for bulk EQ/PT provisioning Michal Wajdeczko
2026-04-02 15:57   ` Piotr Piórkowski
2026-03-30 20:40 ` [PATCH 13/13] drm/xe/pf: Perform fair scheduling auto-provisioning Michal Wajdeczko
2026-04-02 16:06   ` Piotr Piórkowski
2026-03-30 21:09 ` ✓ CI.KUnit: success for drm/xe/pf: Improve EQ/PT provisioning Patchwork
2026-03-30 21:41 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-31  0:28 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-02 16:20   ` Michal Wajdeczko

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