diff options
author | Christian König <christian.koenig@amd.com> | 2017-12-18 11:10:01 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-27 11:34:09 -0500 |
commit | 0e36b9b2f99b17f2bfbf1d2dab1c2808f658d634 (patch) | |
tree | 975788b917b5f1f41ca5b47797b618afd814f87f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | c4f46f22c448ff571eb8fdbe4ab71a25805228d1 (diff) |
drm/amdgpu: drop client_id from VM
Use the fence context from the scheduler entity.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 78296d1a5b2f..21a80f1bb2b9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -191,8 +191,6 @@ struct amdgpu_vm { | |||
191 | /* Scheduler entity for page table updates */ | 191 | /* Scheduler entity for page table updates */ |
192 | struct drm_sched_entity entity; | 192 | struct drm_sched_entity entity; |
193 | 193 | ||
194 | /* client id and PASID (TODO: replace client_id with PASID) */ | ||
195 | u64 client_id; | ||
196 | unsigned int pasid; | 194 | unsigned int pasid; |
197 | /* dedicated to vm */ | 195 | /* dedicated to vm */ |
198 | struct amdgpu_vmid *reserved_vmid[AMDGPU_MAX_VMHUBS]; | 196 | struct amdgpu_vmid *reserved_vmid[AMDGPU_MAX_VMHUBS]; |
@@ -230,8 +228,6 @@ struct amdgpu_vm_manager { | |||
230 | struct amdgpu_ring *vm_pte_rings[AMDGPU_MAX_RINGS]; | 228 | struct amdgpu_ring *vm_pte_rings[AMDGPU_MAX_RINGS]; |
231 | unsigned vm_pte_num_rings; | 229 | unsigned vm_pte_num_rings; |
232 | atomic_t vm_pte_next_ring; | 230 | atomic_t vm_pte_next_ring; |
233 | /* client id counter */ | ||
234 | atomic64_t client_counter; | ||
235 | 231 | ||
236 | /* partial resident texture handling */ | 232 | /* partial resident texture handling */ |
237 | spinlock_t prt_lock; | 233 | spinlock_t prt_lock; |