drm/xe/pf: Allow to change VFs VRAM quota using sysfs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 6 repliesIn review
- v19 patches 11 repliesSuperseded
Changes in v2 from the cover letter
add global helper for lmtt page size (Michal) add LMTT setup to .test_init (Michal)
allow VRAM changes only when LMTT (Piotr) account for min_spare for PF (Piotr)
fix typos (Piotr) and kernel-doc (CI)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/xe/pf: Expose LMTT page sizedrivers/ drivers/ drivers/ | +19 | 1 reply | |
| 2/10 | drm/xe/pf: Add locked variants of VRAM configuration functionsdrivers/ drivers/ | +74 | 0 replies | |
| 3/10 | drm/xe/pf: Add functions for VRAM provisioningdrivers/ drivers/ | +110 | 0 replies | |
| 4/10 | drm/xe/pf: Allow to change VFs VRAM quota using sysfsdrivers/ | +29 | 1 reply | |
| 5/10 | drm/xe/pf: Use migration-friendly VRAM auto-provisioningdrivers/ | +29 | 0 replies | |
| 6/10 | drm/xe/tests: Add KUnit tests for new VRAM fair provisioningdrivers/ | +95 | 1 reply | |
| 7/10 | drm/xe/pf: Don't check for empty configdrivers/ | +0 | 0 replies | |
| 8/10 | drm/xe/pf: Prefer guard(mutex) when doing fair LMEM provisioningdrivers/ | +3 | 0 replies | |
| 9/10 | drm/xe/pf: Skip VRAM auto-provisioning if already provisioneddrivers/ | +56 | 0 replies | |
| 10/10 | drm/xe/pf: Add documentation for vram_quotaDocumentation/ | +31 | 1 reply |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Piotr Piórkowski | Rodrigo Vivi |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | |
| 3/10 | R-b | |
| 4/10 | R-b | A-b |
| 5/10 | R-b | |
| 6/10 | R-b | |
| 7/10 | R-b | |
| 8/10 | R-b | |
| 9/10 | R-b | |
| 10/10 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] drm/xe/pf: Allow to change VFs VRAM quota using sysfs
Extend Xe driver specific sysfs SR-IOV knobs with VRAM provisioning.
/sys/bus/pci/drivers/xe/BDF/
├── sriov_admin/
├── .bulk_profile
│ └── vram_quota [RW] unsigned integer
├── vf1/
│ └── profile
│ └── vram_quota [RW] unsigned integer
├── vf2/
│ └── profile
│ └── vram_quota [RW] unsigned integerv1: https://patchwork.freedesktop.org/series/161625/#rev1
v2:
add global helper for lmtt page size (Michal) add LMTT setup to .test_init (Michal)
allow VRAM changes only when LMTT (Piotr) account for min_spare for PF (Piotr)
fix typos (Piotr) and kernel-doc (CI)
Michal Wajdeczko (10):
drm/xe/pf: Expose LMTT page size
drm/xe/pf: Add locked variants of VRAM configuration functions drm/xe/pf: Add functions for VRAM provisioning drm/xe/pf: Allow to change VFs VRAM quota using sysfs drm/xe/pf: Use migration-friendly VRAM auto-provisioning drm/xe/tests: Add KUnit tests for new VRAM fair provisioning drm/xe/pf: Don't check for empty config
drm/xe/pf: Prefer guard(mutex) when doing fair LMEM provisioning drm/xe/pf: Skip VRAM auto-provisioning if already provisioned drm/xe/pf: Add documentation for vram_quota
.../ABI/testing/sysfs-driver-intel-xe-sriov | 31 ++++ .../xe/tests/xe_gt_sriov_pf_config_kunit.c | 96 +++++++++- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 172 ++++++++++++++++-- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h | 4 + drivers/gpu/drm/xe/xe_lmtt.c | 17 ++ drivers/gpu/drm/xe/xe_lmtt.h | 1 + drivers/gpu/drm/xe/xe_sriov_pf_provision.c | 119 ++++++++++-- drivers/gpu/drm/xe/xe_sriov_pf_provision.h | 4 + drivers/gpu/drm/xe/xe_sriov_pf_sysfs.c | 31 +++- 9 files changed, 446 insertions(+), 29 deletions(-)
Signature · 1 line
2.47.1