[PATCH 0/4] drm/xe: Improve wedged mode handling

Lukasz Laguna lukasz.laguna at intel.com
Thu Apr 24 14:30:39 UTC 2025


Prevent the VF from attempting to update the GuC reset policy when
changing the wedged mode, as this operation is not supported on VFs.

Additionally, validate the wedged_mode module parameter input, update
the internal wedged.mode state only on success, and allow setting
wedged_mode=2 only in debug builds if running as PF.

Lukasz Laguna (4):
  drm/xe: Don't update wedged mode in case of an error
  drm/xe: Validate wedged_mode modparam input
  drm/xe/vf: Disallow setting wedged_mode=2
  drm/xe/pf: Allow wedged_mode=2 only in debug config

 drivers/gpu/drm/xe/xe_debugfs.c     |  6 +++++-
 drivers/gpu/drm/xe/xe_device.c      | 13 ++++++++++++-
 drivers/gpu/drm/xe/xe_guc_capture.c |  2 +-
 drivers/gpu/drm/xe/xe_module.c      |  2 +-
 4 files changed, 19 insertions(+), 4 deletions(-)

-- 
2.40.0



More information about the Intel-xe mailing list