v3dv: Add missing unlocks on errors.
authorVinson Lee <vlee@freedesktop.org>
Sun, 23 Jan 2022 07:22:37 +0000 (23:22 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 28 Jan 2022 04:15:24 +0000 (04:15 +0000)
commita97ec3eb131b0c927dabcd499484688d0023c7ea
tree603287e7558a65942c96262eb6290d78ddb26dd4
parentdc70dd8c7d3e756de5e473583ad19757ea78b966
v3dv: Add missing unlocks on errors.

Fix defects reported by Coverity Scan.

Missing unlock (LOCK)
missing_unlock: Returning without unlocking.

Fixes: a7052dcf2cf ("v3dv: enable multiple semaphores for csd job")
Fixes: ad09e50129e ("v3dv: enable multiple semaphores for tfu job")
Fixes: ff8586c3452 ("v3dv: enable multiple semaphores on cl submission")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14663>
src/broadcom/vulkan/v3dv_queue.c