diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 6 | 
1 files changed, 0 insertions, 6 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index c0d8f40a5b45..9b12cab5e606 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -226,12 +226,6 @@ static void amdgpu_gem_object_close(struct drm_gem_object *obj,  	if (!amdgpu_vm_ready(vm))  		goto out_unlock; -	fence = dma_resv_excl_fence(bo->tbo.base.resv); -	if (fence) { -		amdgpu_bo_fence(bo, fence, true); -		fence = NULL; -	} -  	r = amdgpu_vm_clear_freed(adev, vm, &fence);  	if (r || !fence)  		goto out_unlock; | 
