drm/amdgpu: removing BO_VAs shouldn't be interruptible
authorChristian König <christian.koenig@amd.com>
Thu, 17 Mar 2016 16:14:10 +0000 (17:14 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Mar 2016 16:24:02 +0000 (12:24 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c

index 5d280f6ae5bf56aa8ddb3a8fc4c64e5cc9b6fe67..a72b7f19df6b6c5a1042d04805fbe99d7b1fd928 100644 (file)
@@ -161,7 +161,7 @@ void amdgpu_gem_object_close(struct drm_gem_object *obj,
 
        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) {
                dev_err(adev->dev, "leaking bo va because "
                        "we fail to reserve bo (%d)\n", r);