Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: disable bulk moves for now

The changes to fix those are two invasive for backporting.

Just disable the feature in 4.20 and 5.0.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: <stable@vger.kernel.org> [4.20+]
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Christian König and committed by
Alex Deucher
a213c2c7 4ece61a2

+2
+2
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
··· 638 638 struct ttm_bo_global *glob = adev->mman.bdev.glob; 639 639 struct amdgpu_vm_bo_base *bo_base; 640 640 641 + #if 0 641 642 if (vm->bulk_moveable) { 642 643 spin_lock(&glob->lru_lock); 643 644 ttm_bo_bulk_move_lru_tail(&vm->lru_bulk_move); 644 645 spin_unlock(&glob->lru_lock); 645 646 return; 646 647 } 648 + #endif 647 649 648 650 memset(&vm->lru_bulk_move, 0, sizeof(vm->lru_bulk_move)); 649 651