Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/xe/vf: Fix up GGTT on S4 resume under SR-IOV
@ 2025-11-18 12:47 Satyanarayana K V P
  2025-11-18 12:47 ` [PATCH v3 1/2] drm/xe/vf: Split GGTT info query and fixup into separate helpers Satyanarayana K V P
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Satyanarayana K V P @ 2025-11-18 12:47 UTC (permalink / raw)
  To: intel-xe; +Cc: Satyanarayana K V P

When SR-IOV is enabled, a VM may suspend on one VF and resume on a
different VF after S4 sleep cycle. Because GGTT space is not virtualized,
this transition can lead to incorrect GGTT references. To address this,
validate the GGTT space during resume and apply necessary fixups if
the VF has changed.

---
V2 -> V3:
- Fixed review comments (Michal).
- Added a new function xe_gt_sriov_vf_resume_fixups() which
handshakes with GUC and does GGTT fixups.
- Updated commit message.

V1 -> V2:
- Rebased to latest drm-tip.


Satyanarayana K V P (2):
  drm/xe/vf: Split GGTT info query and fixup into separate helpers
  drm/xe/vf: Fix up GGTT mappings on S4 resume across VFs.

 drivers/gpu/drm/xe/xe_gt_sriov_vf.c | 83 ++++++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h |  1 +
 drivers/gpu/drm/xe/xe_pm.c          |  7 +++
 drivers/gpu/drm/xe/xe_sriov_vf.c    | 30 +++++++++++
 drivers/gpu/drm/xe/xe_sriov_vf.h    |  1 +
 5 files changed, 108 insertions(+), 14 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-11-19  6:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 12:47 [PATCH v3 0/2] drm/xe/vf: Fix up GGTT on S4 resume under SR-IOV Satyanarayana K V P
2025-11-18 12:47 ` [PATCH v3 1/2] drm/xe/vf: Split GGTT info query and fixup into separate helpers Satyanarayana K V P
2025-11-18 17:17   ` Matthew Brost
2025-11-18 12:47 ` [PATCH v3 2/2] drm/xe/vf: Fix up GGTT mappings on S4 resume across VFs Satyanarayana K V P
2025-11-18 17:08   ` Matthew Brost
2025-11-18 17:26     ` Matthew Brost
2025-11-18 14:59 ` ✓ CI.KUnit: success for drm/xe/vf: Fix up GGTT on S4 resume under SR-IOV (rev3) Patchwork
2025-11-18 19:20 ` ✓ Xe.CI.Full: " Patchwork
2025-11-19  5:05 ` ✓ CI.KUnit: success for drm/xe/vf: Fix up GGTT on S4 resume under SR-IOV (rev4) Patchwork
2025-11-19  5:42 ` ✓ Xe.CI.BAT: " Patchwork
2025-11-19  6:53 ` ✓ 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