Files
linux/drivers/gpu/drm/xe
Matthew Brost 56b7432b7e drm/xe: Avoid memory allocations in xe_device_declare_wedged()
xe_device_declare_wedged() runs in the DMA-fence signaling path, where
GFP_KERNEL memory allocations are not allowed. However, registering
xe_device_wedged_fini via drmm_add_action_or_reset() triggers a
GFP_KERNEL allocation.

Fix this by deferring the registration of xe_device_wedged_fini until
late in the driver load sequence. Additionally, drop the wedged PM
reference only if the device is actually wedged in
xe_device_wedged_fini.

Fixes: 452bca0edb ("drm/xe: Don't suspend device upon wedge")
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Link: https://patch.msgid.link/[email protected]
(cherry picked from commit b08ceb4438)
Signed-off-by: Rodrigo Vivi <[email protected]>
2026-03-30 08:52:20 -04:00
..
2025-10-15 22:48:54 -07:00
…
…
…
2025-12-22 10:22:00 -08:00
2026-01-26 16:43:06 -05:00
…
…
…
2025-11-12 08:57:27 -08:00
…
…
2026-01-15 07:05:04 -08:00
…
2026-01-15 07:05:04 -08:00
2025-12-24 07:59:35 -08:00
…