diff options
author | Christian König <christian.koenig@amd.com> | 2017-05-11 10:21:20 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 18:17:58 -0400 |
commit | 05ec3eda8b213ccc7df9645119c06f4d34a6fe2c (patch) | |
tree | 5e7e5cccdf596427f032ee1000a37a4c3dad4c24 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | a340c7bcf1ea01f8bee82d62b521f0c5e4653425 (diff) |
drm/amdgpu: cleanup VM manager init/fini
VM is mandatory for all hw amdgpu supports. So remove the leftovers
to make it optionally.
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 9c7b15925aa7..8309bc7ffd71 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |||
@@ -173,8 +173,6 @@ struct amdgpu_vm_manager { | |||
173 | uint32_t block_size; | 173 | uint32_t block_size; |
174 | /* vram base address for page table entry */ | 174 | /* vram base address for page table entry */ |
175 | u64 vram_base_offset; | 175 | u64 vram_base_offset; |
176 | /* is vm enabled? */ | ||
177 | bool enabled; | ||
178 | /* vm pte handling */ | 176 | /* vm pte handling */ |
179 | const struct amdgpu_vm_pte_funcs *vm_pte_funcs; | 177 | const struct amdgpu_vm_pte_funcs *vm_pte_funcs; |
180 | struct amdgpu_ring *vm_pte_rings[AMDGPU_MAX_RINGS]; | 178 | struct amdgpu_ring *vm_pte_rings[AMDGPU_MAX_RINGS]; |