Browse Source

drm/amdgpu: removing BO_VAs shouldn't be interruptible

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Christian König 9 years ago
parent
commit
35264f6f1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

+ 1 - 1
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

@@ -161,7 +161,7 @@ void amdgpu_gem_object_close(struct drm_gem_object *obj,
 
 
 	amdgpu_vm_get_pd_bo(vm, &list, &vm_pd);
 	amdgpu_vm_get_pd_bo(vm, &list, &vm_pd);
 
 
-	r = ttm_eu_reserve_buffers(&ticket, &list, true, &duplicates);
+	r = ttm_eu_reserve_buffers(&ticket, &list, false, &duplicates);
 	if (r) {
 	if (r) {
 		dev_err(adev->dev, "leaking bo va because "
 		dev_err(adev->dev, "leaking bo va because "
 			"we fail to reserve bo (%d)\n", r);
 			"we fail to reserve bo (%d)\n", r);