]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/multi_queue: Fix secondary queue error case
authorNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Mon, 18 May 2026 19:16:40 +0000 (12:16 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 May 2026 15:29:50 +0000 (11:29 -0400)
commit00907da2126ed785451b2a2f0fef282246dad104
tree88d0ff63b6ba06a6d8066288c7d157dba35cc7c9
parent6df5678b6a94ac80e31e847074c4b30c21025b1f
drm/xe/multi_queue: Fix secondary queue error case

If xe_lrc_create() fails, the secondary queue added to the
multi-queue group list is not removed before freeing the
queue. Fix error path handling for secondary queues by
removing it from the multi-queue group list at the right
place.

Reported-by: Sebastian Ă–sterlund <sebastian.osterlund@intel.com>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/work_items/7979
Fixes: d716a5088c88 ("drm/xe/multi_queue: Handle tearing down of a multi queue")
Cc: stable@vger.kernel.org # v7.0+
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260518191639.320890-2-niranjana.vishwanathapura@intel.com
(cherry picked from commit d2d23c12789cf69eddc35b8d38cd8eaabd0168f1)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc_submit.c