diff options
author | Christian König <christian.koenig@amd.com> | 2017-07-31 09:32:40 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-17 15:46:05 -0400 |
commit | 0f4b3c68626199cd5ce619e2a3105d44b81f2753 (patch) | |
tree | 138bbebec60074a45000a2e14ab6204c02270350 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | c0573af349f649516863254fad386175777d5672 (diff) |
drm/amdgpu: cleanup static CSA handling
Move the CSA bo_va from the VM to the fpriv structure.
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_vm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 6e94cd2e610c..9c309c5a86f1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -141,8 +141,6 @@ struct amdgpu_vm { | |||
141 | u64 client_id; | 141 | u64 client_id; |
142 | /* dedicated to vm */ | 142 | /* dedicated to vm */ |
143 | struct amdgpu_vm_id *reserved_vmid[AMDGPU_MAX_VMHUBS]; | 143 | struct amdgpu_vm_id *reserved_vmid[AMDGPU_MAX_VMHUBS]; |
144 | /* each VM will map on CSA */ | ||
145 | struct amdgpu_bo_va *csa_bo_va; | ||
146 | 144 | ||
147 | /* Flag to indicate if VM tables are updated by CPU or GPU (SDMA) */ | 145 | /* Flag to indicate if VM tables are updated by CPU or GPU (SDMA) */ |
148 | bool use_cpu_for_update; | 146 | bool use_cpu_for_update; |