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

Jani Nikula jani.nikula at linux.intel.com
Thu Sep 5 17:34:45 UTC 2024


On Thu, 05 Sep 2024, Maarten Lankhorst <maarten.lankhorst at linux.intel.com> wrote:
> 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.

Maybe a silly question, but what's FLR?

BR,
Jani.


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

-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list