Skip to content

drm/xe: Implement device shutdown to make kexec work.

Maarten Lankhorst intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/xe: Fix missing conversion to xe_display_pm_runtime_resumedrivers/gpu/drm/xe/xe_pm.c+1 -12 replies
2/4drm/xe: Remove runtime argument from display s/r functionsdrivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_pm.c+39 -283 replies
3/4drm/xe: Wire up device shutdown handlerdrivers/gpu/drm/xe/display/xe_display.c drivers/gpu/drm/xe/display/xe_display.h drivers/gpu/drm/xe/xe_device.c +2 more+89 -63 replies
4/4CI-only: Test if FLR is disabled?drivers/gpu/drm/xe/xe_device.c+3 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchLucas De MarchiVinod GovindapillaiRodrigo Vivi
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.45.2