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

Anshuman Gupta anshuman.gupta at intel.com
Thu Jul 6 12:02:03 UTC 2023


Adding Xe d3cold policy support.
v3 -> v4:
- changes has been described in patch 3 and 4 commit log.

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 | 86 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_device_sysfs.h | 13 ++++
 drivers/gpu/drm/xe/xe_device_types.h | 23 ++++++-
 drivers/gpu/drm/xe/xe_guc.c          | 17 +++++
 drivers/gpu/drm/xe/xe_guc.h          |  1 +
 drivers/gpu/drm/xe/xe_pci.c          | 53 ++++++++++-----
 drivers/gpu/drm/xe/xe_pm.c           | 98 ++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_pm.h           |  6 +-
 9 files changed, 275 insertions(+), 23 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