mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
drm/radeon: fix up dereferencing of busy objects.
This could free things twice, just deref the GEM object and hope its enough. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a61f2bc472
commit
91132d6bb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue