Commit 69f08e68 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: revert "disable bulk moves for now"



This reverts commit a213c2c7.

The changes to fix this should have landed in 5.1.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarZhou, David(ChunMing) <David1.Zhou@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 54ecb8f7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -603,14 +603,12 @@ void amdgpu_vm_move_to_lru_tail(struct amdgpu_device *adev,
	struct ttm_bo_global *glob = adev->mman.bdev.glob;
	struct amdgpu_vm_bo_base *bo_base;

#if 0
	if (vm->bulk_moveable) {
		spin_lock(&glob->lru_lock);
		ttm_bo_bulk_move_lru_tail(&vm->lru_bulk_move);
		spin_unlock(&glob->lru_lock);
		return;
	}
#endif

	memset(&vm->lru_bulk_move, 0, sizeof(vm->lru_bulk_move));