diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 7d7d7e532246..d12bffa5f70c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |||
@@ -297,9 +297,9 @@ int amdgpu_vm_validate_pt_bos(struct amdgpu_device *adev, struct amdgpu_vm *vm, | |||
297 | 297 | ||
298 | if (bo->parent) { | 298 | if (bo->parent) { |
299 | spin_lock(&glob->lru_lock); | 299 | spin_lock(&glob->lru_lock); |
300 | ttm_bo_move_to_lru_tail(&bo->tbo); | 300 | ttm_bo_move_to_lru_tail(&bo->tbo, NULL); |
301 | if (bo->shadow) | 301 | if (bo->shadow) |
302 | ttm_bo_move_to_lru_tail(&bo->shadow->tbo); | 302 | ttm_bo_move_to_lru_tail(&bo->shadow->tbo, NULL); |
303 | spin_unlock(&glob->lru_lock); | 303 | spin_unlock(&glob->lru_lock); |
304 | } | 304 | } |
305 | 305 | ||
@@ -319,9 +319,9 @@ int amdgpu_vm_validate_pt_bos(struct amdgpu_device *adev, struct amdgpu_vm *vm, | |||
319 | if (!bo->parent) | 319 | if (!bo->parent) |
320 | continue; | 320 | continue; |
321 | 321 | ||
322 | ttm_bo_move_to_lru_tail(&bo->tbo); | 322 | ttm_bo_move_to_lru_tail(&bo->tbo, NULL); |
323 | if (bo->shadow) | 323 | if (bo->shadow) |
324 | ttm_bo_move_to_lru_tail(&bo->shadow->tbo); | 324 | ttm_bo_move_to_lru_tail(&bo->shadow->tbo, NULL); |
325 | } | 325 | } |
326 | spin_unlock(&glob->lru_lock); | 326 | spin_unlock(&glob->lru_lock); |
327 | 327 | ||