Skip to content

Improve SRIOV VRAM provisioning

Matthew Auld intel-xe 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest7 patches 0 repliesNew
  2. v57 patches 0 repliesSuperseded
  3. v47 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v38 patches3 repliesSuperseded
v27 patches9 repliesSuperseded
v17 patches2 repliesSuperseded

Changes in v6 from the cover letter

- Small fix in patch 4, where I missed restoring the kernel bo late list for igpu, which is needed for hibernation and GGTT restore.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/xe: use backup object for pinned save/restoredrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo_evict.c drivers/gpu/drm/xe/xe_bo_types.h+179 -1640 replies
2/7drm/xe: Add XE_BO_FLAG_PINNED_NORESTOREdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h drivers/gpu/drm/xe/xe_guc.c +5 more+22 -110 replies
3/7drm/xe/migrate: ignore CCS for kernel objectsdrivers/gpu/drm/xe/xe_migrate.c+6 -30 replies
4/7drm/xe: add XE_BO_FLAG_PINNED_LATE_RESTOREdrivers/gpu/drm/xe/tests/xe_bo.c drivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h +6 more+93 -520 replies
5/7drm/xe: unconditionally apply PINNED for pin_map()drivers/gpu/drm/xe/display/intel_fbdev_fb.c drivers/gpu/drm/xe/display/xe_plane_initial.c drivers/gpu/drm/xe/tests/xe_migrate.c +5 more+10 -140 replies
6/7drm/xe: allow non-contig VRAM kernel BOdrivers/gpu/drm/xe/xe_bo.c+8 -10 replies
7/7drm/xe/sriov: support non-contig VRAM provisioningdrivers/gpu/drm/xe/xe_gt_sriov_pf_config.c+14 -60 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchSatyanarayana K V PRodrigo Vivi
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/7] Improve SRIOV VRAM provisioning

Support non-contig VRAM for pinned kernel objects. Main current usecase is when provisioning VRAM for SRIOV usecase (final patch). Currently we are artificially limited to using contig VRAM, however the allocations here are very large and the contig restriction can result in failing to provision the VF, even when there is enough free space (we just need at least 2M pages).

v2:
- Various fixes for CI reported issues.
v3:
- suspend/resume and various other fixes.
v4:
- drop one bogus assert.
- rebase on the newly merged apply-to-pinned infra.
v5:
- rebase on newly merged dma-unmap on unplug, which interacts with the pinned lists.
v6:
- Small fix in patch 4, where I missed restoring the kernel bo late list for igpu, which is needed for hibernation and GGTT restore.

Signature · 1 line
2.49.0