[Intel-xe] [PATCH v6 0/5] D3Cold Policy

Anshuman Gupta anshuman.gupta at intel.com
Tue Jul 18 08:06:58 UTC 2023


Adding Xe d3cold policy support.
v5 -> v6:
- No functional change, only code comment and commit log
  improvements.

Anshuman Gupta (5):
  drm/xe/pm: Add pci d3cold_capable support
  drm/xe/pm: Refactor xe_pm_runtime_init
  drm/xe/pm: Add vram_d3cold_threshold Sysfs
  xe/drm/pm: Toggle d3cold_allowed using vram_usages
  drm/xe/pm: Init pcode and restore vram on power lost

 drivers/gpu/drm/xe/Makefile          |  1 +
 drivers/gpu/drm/xe/xe_device_sysfs.c | 89 ++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_device_sysfs.h | 13 ++++
 drivers/gpu/drm/xe/xe_device_types.h | 26 +++++++-
 drivers/gpu/drm/xe/xe_guc.c          | 27 ++++++++
 drivers/gpu/drm/xe/xe_guc.h          |  1 +
 drivers/gpu/drm/xe/xe_pci.c          | 62 +++++++++++++-----
 drivers/gpu/drm/xe/xe_pm.c           | 94 ++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_pm.h           |  6 +-
 9 files changed, 297 insertions(+), 22 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_device_sysfs.c
 create mode 100644 drivers/gpu/drm/xe/xe_device_sysfs.h

-- 
2.38.0



More information about the Intel-xe mailing list