mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-02 00:28:00 +02:00
nouveau: fix unlock nouveau_bo_name_ref()
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
This commit is contained in:
parent
dbc8b11db6
commit
7cb1d6e2d6
1 changed files with 1 additions and 1 deletions
|
|
@ -486,9 +486,9 @@ nouveau_bo_name_ref(struct nouveau_device *dev, uint32_t name,
|
|||
if (ret == 0) {
|
||||
ret = nouveau_bo_wrap_locked(dev, req.handle, pbo);
|
||||
nouveau_bo((*pbo))->name = name;
|
||||
pthread_mutex_unlock(&nvdev->lock);
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&nvdev->lock);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue