aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-11-30 09:28:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-12 14:46:00 -0500
commit8f19cd78c986fb0eb24a1847931c096ec9e214a5 (patch)
tree1a2d4ce166110b8491da0e9da796c6f311f9f2a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parente3a1b32a12ef83e260a307e678d053d5f4570acd (diff)
drm/amdgpu: remove last_entry_used from the VM code
Not needed any more. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index 159980414964..2f1d0c8c093a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -142,7 +142,6 @@ struct amdgpu_vm_pt {
142 142
143 /* array of page tables, one for each directory entry */ 143 /* array of page tables, one for each directory entry */
144 struct amdgpu_vm_pt *entries; 144 struct amdgpu_vm_pt *entries;
145 unsigned last_entry_used;
146}; 145};
147 146
148#define AMDGPU_VM_FAULT(pasid, addr) (((u64)(pasid) << 48) | (addr)) 147#define AMDGPU_VM_FAULT(pasid, addr) (((u64)(pasid) << 48) | (addr))