]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.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)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 19 Mar 2026 13:22:33 +0000 (14:22 +0100)
commite0f82655df6fbb15b318e9d56724cd54b1cfb04d
treea1b4093e789edaa04e31baf155ddfd12af434f3a
parentfb3738693cbdce104bf12615e980a6a37ff9087d
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
(cherry picked from commit e25ba41c8227c5393c16e4aab398076014bd345f)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_guc_submit.c