projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbc8b11
)
nouveau: fix unlock nouveau_bo_name_ref()
author
Jerome Glisse
<jglisse@redhat.com>
Mon, 16 Feb 2015 19:58:21 +0000
(14:58 -0500)
committer
Jerome Glisse
<jglisse@redhat.com>
Mon, 16 Feb 2015 20:01:30 +0000
(15:01 -0500)
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
nouveau/nouveau.c
patch
|
blob
|
history
diff --git
a/nouveau/nouveau.c
b/nouveau/nouveau.c
index
da49e17
..
c6c153a
100644
(file)
--- a/
nouveau/nouveau.c
+++ b/
nouveau/nouveau.c
@@
-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;
}