]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf91c88e9f0b4d7ea8ee9f533dda4d1ead707293e
tree0727a3adb04e31d3d0b7cd28da9a53b20873168b
parentc047b65fb35d9cb42814d4f6d28c0c45410d6252
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