-
- Downloads
drm/xe: Move survivability entirely to xe_pci
There's an odd split between xe_pci.c and xe_device.c wrt xe_survivability: it's initialized by xe_device, but then finalized by xe_pci. Move it entirely to the outer layer, xe_pci, so it controls the flow entirely. This also allows to stop ignoring some of the errors. E.g.: if there's an -ENOMEM, it shouldn't continue as if it survivability had been enabled. One change worth mentioning is that if "wait for lmem" fails, it will also check the pcode status to decide if it should enter or not in survivability mode, which it was not doing before. The bit from pcode for that decision should remain the same after lmem failed initialization, so it should be fine. Cc: Riana Tauro <riana.tauro@intel.com> Reviewed-by:Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by:
Riana Tauro <riana.tauro@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250222001051.3012936-9-lucas.demarchi@intel.com Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com>
Showing
- drivers/gpu/drm/xe/xe_device.c 1 addition, 6 deletionsdrivers/gpu/drm/xe/xe_device.c
- drivers/gpu/drm/xe/xe_heci_gsc.c 1 addition, 1 deletiondrivers/gpu/drm/xe/xe_heci_gsc.c
- drivers/gpu/drm/xe/xe_pci.c 9 additions, 8 deletionsdrivers/gpu/drm/xe/xe_pci.c
- drivers/gpu/drm/xe/xe_survivability_mode.c 36 additions, 37 deletionsdrivers/gpu/drm/xe/xe_survivability_mode.c
- drivers/gpu/drm/xe/xe_survivability_mode.h 2 additions, 3 deletionsdrivers/gpu/drm/xe/xe_survivability_mode.h
Loading