]> 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)
commita0229e85cfcabb9e65fba72ab087fbf34f77f62c
tree0727a3adb04e31d3d0b7cd28da9a53b20873168b
parentcac96a17f208c708d79a5bbf04ef8ef234043d41
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