Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99c44632 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: remove pre move wait



Not needed any more.

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 3cabaa54
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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))