diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-08-07 23:28:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 11:33:32 -0400 |
commit | 4e2f0caa3960c1890ca4a7650d5e6bebbcc8ca04 (patch) | |
tree | dfaac1b9a147088cabcdbd0ee21ea2c8fd8efb33 /drivers/gpu/drm/amd/amdgpu | |
parent | 7b8082bc0774b75a8a3f457f2399a85d4d515c56 (diff) |
drm/ttm: Remove unused parameter evict from ttm_bo_move_ttm
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 105bd229fdad..42c9066ccacb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |||
@@ -336,7 +336,7 @@ static int amdgpu_move_vram_ram(struct ttm_buffer_object *bo, | |||
336 | if (unlikely(r)) { | 336 | if (unlikely(r)) { |
337 | goto out_cleanup; | 337 | goto out_cleanup; |
338 | } | 338 | } |
339 | r = ttm_bo_move_ttm(bo, true, interruptible, no_wait_gpu, new_mem); | 339 | r = ttm_bo_move_ttm(bo, interruptible, no_wait_gpu, new_mem); |
340 | out_cleanup: | 340 | out_cleanup: |
341 | ttm_bo_mem_put(bo, &tmp_mem); | 341 | ttm_bo_mem_put(bo, &tmp_mem); |
342 | return r; | 342 | return r; |
@@ -369,7 +369,7 @@ static int amdgpu_move_ram_vram(struct ttm_buffer_object *bo, | |||
369 | if (unlikely(r)) { | 369 | if (unlikely(r)) { |
370 | return r; | 370 | return r; |
371 | } | 371 | } |
372 | r = ttm_bo_move_ttm(bo, true, interruptible, no_wait_gpu, &tmp_mem); | 372 | r = ttm_bo_move_ttm(bo, interruptible, no_wait_gpu, &tmp_mem); |
373 | if (unlikely(r)) { | 373 | if (unlikely(r)) { |
374 | goto out_cleanup; | 374 | goto out_cleanup; |
375 | } | 375 | } |