projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ba70c
)
drm/radeon: double lock typo in radeon_vm_bo_rmv()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 9 Jan 2012 12:45:41 +0000
(15:45 +0300)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 9 Jan 2012 12:49:48 +0000
(12:49 +0000)
The second lock should be an unlock or it causes a deadlock.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_gart.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_gart.c
b/drivers/gpu/drm/radeon/radeon_gart.c
index
a97baf5
..
010dad8
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_gart.c
+++ b/
drivers/gpu/drm/radeon/radeon_gart.c
@@
-603,7
+603,7
@@
int radeon_vm_bo_rmv(struct radeon_device *rdev,
radeon_vm_bo_update_pte(rdev, vm, bo, NULL);
radeon_mutex_unlock(&rdev->cs_mutex);
list_del(&bo_va->vm_list);
- mutex_lock(&vm->mutex);
+ mutex_
un
lock(&vm->mutex);
kfree(bo_va);
return 0;