drm/amdgpu: fix amdgpu_cs_get_threshold_for_moves handling
authorChristian König <christian.koenig@amd.com>
Mon, 21 Dec 2015 18:47:42 +0000 (19:47 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:16:44 +0000 (14:16 -0500)
commitf69f90a113f283b33b7b750204d708711a42b396
tree0727a3adb04e31d3d0b7cd28da9a53b20873168b
parent9e51021cfd1a14486df8575b83f65954c9d4c693
drm/amdgpu: fix amdgpu_cs_get_threshold_for_moves handling

The threshold should only be computed once.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c