summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-08-08 12:28:26 +0900
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 11:33:33 -0400
commit4499f2acd57b568e8fa2c7908a8a3cf2802629c5 (patch)
treeb6357d9be9a358ddd3d3d08288add6d8386af5c6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parent4e2f0caa3960c1890ca4a7650d5e6bebbcc8ca04 (diff)
downloadblackbird-op-linux-4499f2acd57b568e8fa2c7908a8a3cf2802629c5.tar.gz
blackbird-op-linux-4499f2acd57b568e8fa2c7908a8a3cf2802629c5.zip
drm/ttm: Remove unused parameter evict from ttm_bo_move_memcpy
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/amdgpu_ttm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
index 42c9066ccacb..3cf54c1b21d4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
@@ -436,8 +436,7 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo,
if (r) {
memcpy:
- r = ttm_bo_move_memcpy(bo, evict, interruptible,
- no_wait_gpu, new_mem);
+ r = ttm_bo_move_memcpy(bo, interruptible, no_wait_gpu, new_mem);
if (r) {
return r;
}
OpenPOWER on IntegriCloud