diff options
| author | 2015-12-21 19:47:42 +0100 | |
|---|---|---|
| committer | 2016-02-10 14:16:44 -0500 | |
| commit | f69f90a113f283b33b7b750204d708711a42b396 (patch) | |
| tree | 0727a3adb04e31d3d0b7cd28da9a53b20873168b /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/powerplay: indent a couple if statements (diff) | |
| download | linux-dev-f69f90a113f283b33b7b750204d708711a42b396.tar.xz linux-dev-f69f90a113f283b33b7b750204d708711a42b396.zip | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index d0fee29ebeba..eaff96afe540 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1261,6 +1261,8 @@ struct amdgpu_cs_parser { struct amdgpu_bo_list_entry vm_pd; struct list_head validated; struct fence *fence; + uint64_t bytes_moved_threshold; + uint64_t bytes_moved; struct amdgpu_ib *ibs; uint32_t num_ibs; |
