diff options
author | Christian König <christian.koenig@amd.com> | 2017-04-06 09:18:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-28 17:32:17 -0400 |
commit | 4f618e737fafed22302d4b660eecfe1dce971b0f (patch) | |
tree | 63e5c415af74d010610887d3c3d6260181f12d71 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | 0eeb68b390377148e31f000db1c533a9a49bf950 (diff) |
drm/amdgpu: drop VMID per ring tracking
David suggested this a long time ago, instead of checking
each ring just walk over all the VMIDs in reverse LRU order.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andres Rodriguez <andresx7@gmail.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_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index d9e57290dc71..ba9c39317dd3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -114,9 +114,6 @@ struct amdgpu_vm { | |||
114 | struct dma_fence *last_dir_update; | 114 | struct dma_fence *last_dir_update; |
115 | uint64_t last_eviction_counter; | 115 | uint64_t last_eviction_counter; |
116 | 116 | ||
117 | /* for id and flush management per ring */ | ||
118 | struct amdgpu_vm_id *ids[AMDGPU_MAX_RINGS]; | ||
119 | |||
120 | /* protecting freed */ | 117 | /* protecting freed */ |
121 | spinlock_t freed_lock; | 118 | spinlock_t freed_lock; |
122 | 119 | ||