drm/amdgpu: remove pre move wait
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jun 2016 08:17:59 +0000 (10:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:38 +0000 (14:54 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c

index 9b244c5..232f123 100644 (file)
@@ -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))