]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Ensure all locks released in exec IOCTL
authorMatthew Brost <matthew.brost@intel.com>
Wed, 6 Nov 2024 22:49:44 +0000 (14:49 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 7 Nov 2024 22:23:08 +0000 (14:23 -0800)
commit9e7aacd8402b88394e6a83cb242901fde77a1773
treeac4f7a10359098300580ba07f0412115673e6e5b
parent44e21ea6dcd5bc9cf7a1c4e3281779987c070373
drm/xe: Ensure all locks released in exec IOCTL

In couple of places the wrong error handling goto was used to release
locks. Fix these to ensure all locks dropped on exec IOCTL errors.

Cc: Francois Dugast <francois.dugast@intel.com>
Fixes: d16ef1a18e39 ("drm/xe/exec: Switch hw engine group execution mode upon job submission")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Francois Dugast <francois.dugast@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241106224944.30130-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_exec.c