]> git.ipfire.org Git - thirdparty/kernel/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)
committerNiranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Mon, 18 May 2026 19:33:05 +0000 (12:33 -0700)
commitd2d23c12789cf69eddc35b8d38cd8eaabd0168f1
tree8a510aef73f023ee229df31ab835306866d0354d
parent058da4a2b164e477b02ca0562f01a9eb9e621cdd
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
drivers/gpu/drm/xe/xe_guc_submit.c