drm/nouveau: uvmm: remove incorrect calls to mas_unlock()
authorDanilo Krummrich <dakr@redhat.com>
Mon, 7 Aug 2023 16:32:25 +0000 (18:32 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Tue, 8 Aug 2023 02:47:19 +0000 (04:47 +0200)
commit3cbc772107af4d57a2e2a7eb7fe711c334fd008a
tree1c4d23a169dafdfb301efb8d4715471de446ea31
parente39701e33a438108eefb851cdde1ac1e40d683db
drm/nouveau: uvmm: remove incorrect calls to mas_unlock()

Remove incorrect calls to mas_unlock() in the unwind path of
__nouveau_uvma_region_insert(). The region maple tree uses an external
lock instead, namely the global uvmm lock.

Fixes: b88baab82871 ("drm/nouveau: implement new VM_BIND uAPI")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230807163238.2091-5-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_uvmm.c