aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2015-06-03 19:31:20 +0000
committerAlex Deucher <[email protected]>2015-06-05 14:59:32 +0000
commit9298e52f8b51d1e4acd68f502832f3a97f8cf892 (patch)
tree050267683a1abd4a50b5520a891eb7ae97ab45cc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: add zero timeout check in amdgpu_fence_wait_seq_timeout (diff)
downloadkernel-9298e52f8b51d1e4acd68f502832f3a97f8cf892.tar.gz
kernel-9298e52f8b51d1e4acd68f502832f3a97f8cf892.zip
drm/amdgpu: fix user ptr race condition
Signed-off-by: Christian König <[email protected]> Reviewed-by: monk liu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 7d801e016e31..8da64245b31b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -95,7 +95,6 @@ static void amdgpu_ttm_bo_destroy(struct ttm_buffer_object *tbo)
bo = container_of(tbo, struct amdgpu_bo, tbo);
amdgpu_update_memory_usage(bo->adev, &bo->tbo.mem, NULL);
- amdgpu_mn_unregister(bo);
mutex_lock(&bo->adev->gem.mutex);
list_del_init(&bo->list);