All of lore.kernel.org
 help / color / mirror / Atom feed
* [ONLY FOR INTERNAL REVIEW 0/3] CCS save restore for IGPU
@ 2025-05-16 11:48 Satyanarayana K V P
  2025-05-16 11:38 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Satyanarayana K V P @ 2025-05-16 11:48 UTC (permalink / raw)
  To: intel-xe; +Cc: Satyanarayana K V P

Prior IGPU design had compression supported in GPU VA domain. For
Virtualization, this makes compression Meta data save/restore for VF as not
necessary (i.e. Compression Meta data space is automatically save/restore with
normal guest/VM memory).

With latest Xe2 architecture, compression is supported by Flat, physical domain.
Meta data/compression control surface (Aka CCS) and association is in physical
domain and data is located in BIOS/firmware-reserved CCS pool. In
virtualization/SRIOV when VF save/restore now have to account for save/restore
VF associated CCS. Without this feature any restore of compressed resource in
IGPU VF domain will have corruption as Meta data will not be restore correctly
as a part of VF save/restore flow. Making it must have/functional feature if we
are supporting compression and Save/restore of VF on IGPU platform.

This is the first in series which adds support for CCS save/restore for IGPU.

Satyanarayana K V P (3):
  drm/xe/vf: Create contexts for CCS read write
  drm/xe/vf: Attach and detach CCS copy commands with BO.
  drm/xe/vf: Register CCS read/write contexts with Guc

 drivers/gpu/drm/xe/Makefile          |   3 +-
 drivers/gpu/drm/xe/xe_bb.c           |  33 +++
 drivers/gpu/drm/xe/xe_bb.h           |   1 +
 drivers/gpu/drm/xe/xe_bo.c           |  13 ++
 drivers/gpu/drm/xe/xe_bo_types.h     |   3 +
 drivers/gpu/drm/xe/xe_device.c       |   2 +
 drivers/gpu/drm/xe/xe_device_types.h |  15 ++
 drivers/gpu/drm/xe/xe_gt_debugfs.c   |  17 +-
 drivers/gpu/drm/xe/xe_guc_fwif.h     |   5 +
 drivers/gpu/drm/xe/xe_guc_submit.c   |  37 ++-
 drivers/gpu/drm/xe/xe_guc_submit.h   |   1 +
 drivers/gpu/drm/xe/xe_migrate.c      | 192 +++++++++++++---
 drivers/gpu/drm/xe/xe_migrate.h      |  44 +++-
 drivers/gpu/drm/xe/xe_pm.c           |   3 +
 drivers/gpu/drm/xe/xe_sriov.c        |  17 ++
 drivers/gpu/drm/xe/xe_sriov.h        |   1 +
 drivers/gpu/drm/xe/xe_sriov_vf_ccs.c | 327 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_sriov_vf_ccs.h |  16 ++
 18 files changed, 692 insertions(+), 38 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_vf_ccs.h

-- 
2.43.0


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

end of thread, other threads:[~2025-05-17  4:31 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16 11:48 [ONLY FOR INTERNAL REVIEW 0/3] CCS save restore for IGPU Satyanarayana K V P
2025-05-16 11:38 ` ✓ CI.Patch_applied: success for " Patchwork
2025-05-16 11:38 ` ✗ CI.checkpatch: warning " Patchwork
2025-05-16 11:39 ` ✓ CI.KUnit: success " Patchwork
2025-05-16 11:48 ` [ONLY FOR INTERNAL REVIEW 1/3] drm/xe/vf: Create contexts for CCS read write Satyanarayana K V P
2025-05-16 16:45   ` Michal Wajdeczko
2025-05-16 11:48 ` [ONLY FOR INTERNAL REVIEW 2/3] drm/xe/vf: Attach and detach CCS copy commands with BO Satyanarayana K V P
2025-05-16 13:48   ` Matthew Auld
2025-05-16 11:48 ` [ONLY FOR INTERNAL REVIEW 3/3] drm/xe/vf: Register CCS read/write contexts with Guc Satyanarayana K V P
2025-05-16 11:50 ` ✓ CI.Build: success for CCS save restore for IGPU Patchwork
2025-05-16 11:52 ` ✗ CI.Hooks: failure " Patchwork
2025-05-16 11:54 ` ✓ CI.checksparse: success " Patchwork
2025-05-16 12:17 ` ✓ Xe.CI.BAT: " Patchwork
2025-05-17  4:31 ` ✗ Xe.CI.Full: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.