[PATCH 0/4] drm/xe: Implement device shutdown to make kexec work.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Thu Sep 5 15:00:48 UTC 2024


Testcase:
kexec --reuse-cmdline --initrd=initrd.img -f vmlinuz

Because we don't shut down xe correctly, we cannot reload xe afterwards.
Implement device shutdown by performing a FLR, then we can load the device
cleanly again afterwards.

Some cleanups come first, those can be merged without the rest.

Maarten Lankhorst (4):
  drm/xe: Fix missing conversion to xe_display_pm_runtime_resume
  drm/xe: Remove runtime argument from display s/r functions
  drm/xe: Wire up device shutdown handler
  CI-only: Test if FLR is disabled?

 drivers/gpu/drm/xe/display/xe_display.c | 90 ++++++++++++++++++++-----
 drivers/gpu/drm/xe/display/xe_display.h | 12 ++--
 drivers/gpu/drm/xe/xe_device.c          | 43 ++++++++++--
 drivers/gpu/drm/xe/xe_gt.c              |  7 ++
 drivers/gpu/drm/xe/xe_gt.h              |  1 +
 drivers/gpu/drm/xe/xe_pm.c              |  8 +--
 6 files changed, 129 insertions(+), 32 deletions(-)

-- 
2.45.2



More information about the Intel-xe mailing list