Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/xe: Improve wedged mode handling
@ 2025-04-24 14:30 Lukasz Laguna
  2025-04-24 14:30 ` [PATCH 1/4] drm/xe: Don't update wedged mode in case of an error Lukasz Laguna
                   ` (11 more replies)
  0 siblings, 12 replies; 22+ messages in thread
From: Lukasz Laguna @ 2025-04-24 14:30 UTC (permalink / raw)
  To: intel-xe; +Cc: michal.wajdeczko, rodrigo.vivi, 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: 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


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

end of thread, other threads:[~2025-05-12  8:29 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 14:30 [PATCH 0/4] drm/xe: Improve wedged mode handling Lukasz Laguna
2025-04-24 14:30 ` [PATCH 1/4] drm/xe: Don't update wedged mode in case of an error Lukasz Laguna
2025-04-24 21:37   ` Matthew Brost
2025-04-25 14:18   ` Rodrigo Vivi
2025-04-24 14:30 ` [PATCH 2/4] drm/xe: Validate wedged_mode modparam input Lukasz Laguna
2025-04-24 21:42   ` Matthew Brost
2025-04-25 14:20   ` Rodrigo Vivi
2025-05-12  8:18   ` Michal Wajdeczko
2025-04-24 14:30 ` [PATCH 3/4] drm/xe/vf: Disallow setting wedged_mode=2 Lukasz Laguna
2025-04-24 21:43   ` Matthew Brost
2025-04-25 14:21   ` Rodrigo Vivi
2025-05-12  8:25   ` Michal Wajdeczko
2025-04-24 14:30 ` [PATCH 4/4] drm/xe/pf: Allow wedged_mode=2 only in debug config Lukasz Laguna
2025-05-12  8:29   ` Michal Wajdeczko
2025-04-24 18:34 ` ✓ CI.Patch_applied: success for drm/xe: Improve wedged mode handling Patchwork
2025-04-24 18:35 ` ✓ CI.checkpatch: " Patchwork
2025-04-24 18:36 ` ✓ CI.KUnit: " Patchwork
2025-04-24 18:44 ` ✓ CI.Build: " Patchwork
2025-04-24 18:46 ` ✗ CI.Hooks: failure " Patchwork
2025-04-24 18:48 ` ✓ CI.checksparse: success " Patchwork
2025-04-24 19:28 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-25 16:27 ` ✗ 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