projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61f2bc
)
drm/radeon: fix up dereferencing of busy objects.
author
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 03:40:06 +0000
(13:40 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 1 Mar 2011 05:01:14 +0000
(15:01 +1000)
This could free things twice, just deref the GEM object
and hope its enough.
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_object.c
b/drivers/gpu/drm/radeon/radeon_object.c
index 8758d02cca1a2de121f64eceb8a7aa83c808f9f5..976c3b1b1b6e5aacd053bc1307a8a1313be64a45 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_object.c
+++ b/
drivers/gpu/drm/radeon/radeon_object.c
@@
-278,7
+278,7
@@
void radeon_bo_force_delete(struct radeon_device *rdev)
mutex_lock(&bo->rdev->gem.mutex);
list_del_init(&bo->list);
mutex_unlock(&bo->rdev->gem.mutex);
- radeon_bo_unref(&bo);
+ /* this should unref the ttm bo */
drm_gem_object_unreference(&bo->gem_base);
mutex_unlock(&rdev->ddev->struct_mutex);
}