diff options
| author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2024-09-05 17:00:51 +0200 |
|---|---|---|
| committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2024-09-11 19:07:57 +0200 |
| commit | 501d799a47e2b83b4e41d5306c2266ea5c100a08 (patch) | |
| tree | d28aa9abd49d27f2ac5844651c7505bdd5b1b36e /include | |
| parent | f90491d4b64e302e940133103d3d9908e70e454f (diff) | |
drm/xe: Wire up device shutdown handler
The system is turning off, and we should probably put the device
in a safe power state. We don't need to evict VRAM or suspend running
jobs to a safe state, as the device is rebooted anyway.
This does not imply the system is necessarily reset, as we can
kexec into a new kernel. Without shutting down, things like
USB Type-C may mysteriously start failing.
References: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3500
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[mlankhorst: Add !xe_driver_flr_disabled assert]
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240905150052.174895-4-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
