Skip to content

drm/xe/display: Fixes to make kexec work.

Maarten Lankhorst intel-xe stable 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v15 patches 0 repliesSuperseded

Changes since previous version from the cover letter

- s/r patches have been merged.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Read out rawclk_freq for displaydrivers/gpu/drm/xe/display/xe_display.c+3 -02 replies
2/3drm/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 +3 more+63 -111 reply
3/3CI-only: Test if FLR is disabled?drivers/gpu/drm/xe/xe_device.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/xe/display: Fixes to make kexec work.

Lets see if we can get away with performing a FLR as shutdown handler. It should work. These are all the patches I have used when testing if I could kexec from Xe with a game running to a new kernel.

Tested with:
kexec --reuse-cmdline --initrd=initrd.img -f vmlinuz

I have tested about 4-5 times successive kexecs on my ADL-P, while having a game actively running to keep the GPU loaded.

With this series xe kept running succesfully. After that I accidentally rebooted, but I see no reason this wouldn't work even more times.

Changes since previous version:
- s/r patches have been merged.

Maarten Lankhorst (3):
drm/xe: Read out rawclk_freq for display
drm/xe: Wire up device shutdown handler
CI-only: Test if FLR is disabled?

 drivers/gpu/drm/xe/display/xe_display.c | 22 +++++++++++--
 drivers/gpu/drm/xe/display/xe_display.h |  3 +-
 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              |  4 +--
 6 files changed, 69 insertions(+), 11 deletions(-)
Signature · 1 line
2.45.2