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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Mon Aug 19 13:31:34 UTC 2024


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(-)

-- 
2.45.2



More information about the Intel-xe mailing list