[PATCH 0/5] drm/xe/display: Fixes to make kexec work.
Maarten Lankhorst
maarten.lankhorst at linux.intel.com
Mon Aug 19 11:32:49 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.
Maarten Lankhorst (5):
drm/xe: Read out rawclk_freq for display
drm/xe/display: Match i915 driver suspend/resume sequences better
drm/xe/display: Make display suspend/resume work on discrete
drm/xe: Wire up device shutdown handler
CI-only: Test if FLR is disabled?
drivers/gpu/drm/xe/display/xe_display.c | 64 ++++++++++++++++++++++---
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 | 11 +++--
6 files changed, 110 insertions(+), 19 deletions(-)
--
2.45.2
More information about the Intel-xe
mailing list