]> git.itanic.dy.fi Git - linux-stable/commit
drm/xe: unlock on error path in xe_vm_add_compute_exec_queue()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 5 Jan 2024 12:20:22 +0000 (15:20 +0300)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 15 Jan 2024 14:36:59 +0000 (15:36 +0100)
commitec32f4f1bed87f0b87b9b0091231c8685db1138c
tree9f8d6cc6a70b866a032948ad82cb597ce084aade
parent616576df35193bbadac31dc42a32d5943e183f45
drm/xe: unlock on error path in xe_vm_add_compute_exec_queue()

Drop the "&vm->lock" before returning.

Fixes: 24f947d58fe5 ("drm/xe: Use DRM GPUVM helpers for external- and evicted objects")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
(cherry picked from commit cf46019e8550a810cc023af7aa020ba43103b44d)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_vm.c