aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2016-10-17 13:08:10 +0000
committerAlex Deucher <[email protected]>2017-03-30 03:55:23 +0000
commit8437a097fe604c81a0fda71017837d0f7e7df8b0 (patch)
tree98bee3e877e6dbbf0a4c42691889e27335500522 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amdgpu: add the VM pointer to the amdgpu_pte_update_params as well (diff)
downloadkernel-8437a097fe604c81a0fda71017837d0f7e7df8b0.tar.gz
kernel-8437a097fe604c81a0fda71017837d0f7e7df8b0.zip
drm/amdgpu: add num_level to the VM manager
Needs to be filled with handling. Signed-off-by: Christian König <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index 69535d9c1ed1..e56df942af8e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -154,6 +154,7 @@ struct amdgpu_vm_manager {
unsigned seqno[AMDGPU_MAX_RINGS];
uint32_t max_pfn;
+ uint32_t num_level;
/* vram base address for page table entry */
u64 vram_base_offset;
/* is vm enabled? */