]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Trigger queue cleanup if not in wedged mode 2
authorMatthew Brost <matthew.brost@intel.com>
Tue, 10 Mar 2026 22:50:35 +0000 (18:50 -0400)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 14 Mar 2026 01:04:11 +0000 (18:04 -0700)
commite25ba41c8227c5393c16e4aab398076014bd345f
tree096a37d72825f5ba20db7ff58ea2919621c812a1
parenta6ab444a111a59924bd9d0c1e0613a75a0a40b89
drm/xe: Trigger queue cleanup if not in wedged mode 2

The intent of wedging a device is to allow queues to continue running
only in wedged mode 2. In other modes, queues should initiate cleanup
and signal all remaining fences. Fix xe_guc_submit_wedge to correctly
clean up queues when wedge mode != 2.

Fixes: 7dbe8af13c18 ("drm/xe: Wedge the entire device")
Cc: stable@vger.kernel.org
Reviewed-by: Zhanjun Dong <zhanjun.dong@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260310225039.1320161-4-zhanjun.dong@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c