summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-06-06 10:17:59 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 14:54:38 -0400
commit99c44632d42c077ddd648025ad43f943fa034a43 (patch)
tree5f1aa42ba447235c4801ca6a833f737795db2106 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parent3cabaa54e7878c9b87dcbf8984c7534688330df3 (diff)
downloadblackbird-op-linux-99c44632d42c077ddd648025ad43f943fa034a43.tar.gz
blackbird-op-linux-99c44632d42c077ddd648025ad43f943fa034a43.zip
drm/amdgpu: remove pre move wait
Not needed any more. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 9b244c5a6295..232f12344f79 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -390,10 +390,6 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo,
struct ttm_mem_reg *old_mem = &bo->mem;
int r;
- r = ttm_bo_wait(bo, interruptible, no_wait_gpu);
- if (r)
- return r;
-
/* Can't move a pinned BO */
abo = container_of(bo, struct amdgpu_bo, tbo);
if (WARN_ON_ONCE(abo->pin_count > 0))
OpenPOWER on IntegriCloud