Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/xe/display: Fixes to make kexec work.
@ 2024-08-19 13:31 Maarten Lankhorst
  2024-08-19 13:31 ` [PATCH v2 1/3] drm/xe: Read out rawclk_freq for display Maarten Lankhorst
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Maarten Lankhorst @ 2024-08-19 13:31 UTC (permalink / raw)
  To: intel-xe; +Cc: Maarten Lankhorst

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-20  9:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-19 13:31 [PATCH v2 0/3] drm/xe/display: Fixes to make kexec work Maarten Lankhorst
2024-08-19 13:31 ` [PATCH v2 1/3] drm/xe: Read out rawclk_freq for display Maarten Lankhorst
2024-08-20  7:43   ` Jani Nikula
2024-08-20  9:12     ` Jani Nikula
2024-08-19 13:31 ` [PATCH v2 2/3] drm/xe: Wire up device shutdown handler Maarten Lankhorst
2024-08-19 13:38   ` Lucas De Marchi
2024-08-19 13:31 ` [PATCH v2 3/3] CI-only: Test if FLR is disabled? Maarten Lankhorst
2024-08-19 13:37 ` ✓ CI.Patch_applied: success for drm/xe/display: Fixes to make kexec work. (rev2) Patchwork
2024-08-19 13:37 ` ✗ CI.checkpatch: warning " Patchwork
2024-08-19 13:37 ` ✗ CI.KUnit: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox