[PATCH 0/3] Suspend, resume, and d3cold tweaks

Matthew Brost matthew.brost at intel.com
Tue Oct 29 00:32:21 UTC 2024


Some low hanging issues to improve suspend, resume, and d3cold.

On BMG xe_pm.d3cold-multiple-execs went from taking ~200s to ~60s.

This will also pave the way to spliting GuC CT state into multiple
BOs mixing system and VRAM placememts. 

Matthew Brost (3):
  drm/xe: Add XE_BO_FLAG_PINNED_WONTNEED
  drm/xe: Restore system memory GGTT mappings
  drm/xe: Add XE_BO_FLAG_PINNED_NEED_LOAD

 drivers/gpu/drm/xe/xe_bo.c                 |  44 +++++---
 drivers/gpu/drm/xe/xe_bo.h                 |   2 +
 drivers/gpu/drm/xe/xe_bo_evict.c           | 118 ++++++++++++++++-----
 drivers/gpu/drm/xe/xe_ggtt.c               |   2 +-
 drivers/gpu/drm/xe/xe_gsc.c                |   1 +
 drivers/gpu/drm/xe/xe_gsc_proxy.c          |   1 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c |   1 +
 drivers/gpu/drm/xe/xe_guc_ads.c            |   3 +-
 drivers/gpu/drm/xe/xe_guc_ct.c             |   3 +-
 drivers/gpu/drm/xe/xe_guc_log.c            |   3 +-
 drivers/gpu/drm/xe/xe_guc_pc.c             |   3 +-
 drivers/gpu/drm/xe/xe_huc.c                |   1 +
 drivers/gpu/drm/xe/xe_hw_engine.c          |   1 +
 drivers/gpu/drm/xe/xe_lmtt.c               |   1 +
 drivers/gpu/drm/xe/xe_lrc.c                |   3 +
 drivers/gpu/drm/xe/xe_memirq.c             |   1 +
 drivers/gpu/drm/xe/xe_migrate.c            |   1 +
 drivers/gpu/drm/xe/xe_sa.c                 |   3 +-
 drivers/gpu/drm/xe/xe_uc_fw.c              |   1 +
 19 files changed, 145 insertions(+), 48 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list