summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2016-05-26 15:34:19 -0400
committerFelix Kuehling <Felix.Kuehling@amd.com>2016-05-26 16:03:15 -0400
commit15e4905fe4a43406e87c1cc527c4edfba386528b (patch)
treee0a1dcc7c13eebbd27e5b034f3521a3039178dcf
parent30a5f46dc46d12d132d8008a2d6e12cbae25e9a7 (diff)
Revert "drm/amdgpu: Remove KFD PT BOs from TTM LRU list"roc-1.1.1
This reverts commit 462774260b4e349698bb43ea39b9190cb0e932d1. Change-Id: I67500c37780f076b12f2b40a5281e0e82f6bce4b
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
index 7064f5b30455..7eef95496379 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
@@ -685,9 +685,6 @@ static int map_bo_to_gpuvm(struct amdgpu_device *adev, struct amdgpu_bo *bo,
goto err_failed_to_vm_clear_invalids;
}
- /* Remove PTs from LRU list (reservation removed PD only) */
- amdgpu_vm_move_pt_bos_in_lru(adev, vm);
-
return 0;
err_failed_to_vm_clear_invalids: