Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm/xe: Improve wedged mode handling
@ 2025-05-12 16:34 Lukasz Laguna
  2025-05-12 16:34 ` [PATCH v2 1/4] drm/xe: Validate wedged_mode parameter and define enum for modes Lukasz Laguna
                   ` (15 more replies)
  0 siblings, 16 replies; 18+ messages in thread
From: Lukasz Laguna @ 2025-05-12 16:34 UTC (permalink / raw)
  To: intel-xe; +Cc: michal.wajdeczko, rodrigo.vivi, matthew.brost, lukasz.laguna

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: Validate wedged_mode parameter and define enum for modes
  drm/xe: Don't update wedged mode in case of an error
  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      |  9 ++++----
 drivers/gpu/drm/xe/xe_device.c       | 31 ++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_device.h       |  1 +
 drivers/gpu/drm/xe/xe_device_types.h |  6 +++++-
 drivers/gpu/drm/xe/xe_guc_ads.c      |  4 ++--
 drivers/gpu/drm/xe/xe_guc_capture.c  |  3 ++-
 drivers/gpu/drm/xe/xe_module.c       |  5 +++--
 drivers/gpu/drm/xe/xe_module.h       |  2 +-
 8 files changed, 48 insertions(+), 13 deletions(-)

-- 
2.40.0


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

end of thread, other threads:[~2025-05-13 15:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-12 16:34 [PATCH v2 0/4] drm/xe: Improve wedged mode handling Lukasz Laguna
2025-05-12 16:34 ` [PATCH v2 1/4] drm/xe: Validate wedged_mode parameter and define enum for modes Lukasz Laguna
2025-05-12 17:05   ` Michal Wajdeczko
2025-05-12 16:34 ` [PATCH v2 2/4] drm/xe: Don't update wedged mode in case of an error Lukasz Laguna
2025-05-12 16:34 ` [PATCH v2 3/4] drm/xe/vf: Disallow setting wedged_mode=2 Lukasz Laguna
2025-05-12 16:34 ` [PATCH v2 4/4] drm/xe/pf: Allow wedged_mode=2 only in debug config Lukasz Laguna
2025-05-12 17:17 ` ✓ CI.Patch_applied: success for drm/xe: Improve wedged mode handling (rev2) Patchwork
2025-05-12 17:17 ` ✓ CI.checkpatch: " Patchwork
2025-05-12 17:18 ` ✓ CI.KUnit: " Patchwork
2025-05-12 17:28 ` ✗ CI.Build: failure " Patchwork
2025-05-13 12:11 ` ✓ CI.Patch_applied: success " Patchwork
2025-05-13 12:12 ` ✓ CI.checkpatch: " Patchwork
2025-05-13 12:14 ` ✓ CI.KUnit: " Patchwork
2025-05-13 12:28 ` ✓ CI.Build: " Patchwork
2025-05-13 12:31 ` ✗ CI.Hooks: failure " Patchwork
2025-05-13 12:32 ` ✓ CI.checksparse: success " Patchwork
2025-05-13 12:58 ` ✓ Xe.CI.BAT: " Patchwork
2025-05-13 15:10 ` ✗ Xe.CI.Full: failure " Patchwork

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