public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 00/13] drm/xe/pf: Improve EQ/PT provisioning
@ 2026-04-02 19:17 Michal Wajdeczko
  2026-04-02 19:17 ` [PATCH v2 01/13] drm/xe/guc: Update POLICY_SCHED_IF_IDLE documentation Michal Wajdeczko
                   ` (18 more replies)
  0 siblings, 19 replies; 22+ messages in thread
From: Michal Wajdeczko @ 2026-04-02 19:17 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

v1: https://patchwork.freedesktop.org/series/164119/#rev1
v2:
    add explicit lockdep_assert_held (Piotr)
    don't miss to check last VF sched-provisioning (Michal)
    and explicitly check sched_if_idle mode (Michal)

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 | 262 ++++++++++++++++++---
 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, 362 insertions(+), 80 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2026-04-11 18:09 UTC | newest]

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

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