summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-03-17 17:14:10 +0100
committerAlex Deucher <alexander.deucher@amd.com>2016-03-17 12:24:02 -0400
commit35264f6f1c582e01d0b4628acb314232e60b41ee (patch)
treeb73fc2c5551b666e095e7872148fd91d72f02a5a /drivers/gpu/drm
parentd27d49410ea6452679c533d812704de6b9f76021 (diff)
downloadlinux-stable-35264f6f1c582e01d0b4628acb314232e60b41ee.tar.gz
linux-stable-35264f6f1c582e01d0b4628acb314232e60b41ee.tar.bz2
linux-stable-35264f6f1c582e01d0b4628acb314232e60b41ee.zip
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index 5d280f6ae5bf..a72b7f19df6b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/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);
- 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);