summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2019-03-18 20:19:36 +0100
committerAlex Deucher <alexander.deucher@amd.com>2019-03-21 13:59:28 -0500
commitc3546695830e7d919f8aadba2c64807c40dad02b (patch)
tree3d52cb445ce99a0d25cd3ccd0a1bd31340d0e662 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parente6899d55904f06f2b5140931816434d114ce3c0a (diff)
drm/amdgpu: use the new VM backend for PTEs
And remove the existing code when it is unused. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@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.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index a99b4caba13c..520122be798b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -199,11 +199,6 @@ struct amdgpu_vm_update_params {
dma_addr_t *pages_addr;
/**
- * @src: address where to copy page table entries from
- */
- uint64_t src;
-
- /**
* @job: job to used for hw submission
*/
struct amdgpu_job *job;
@@ -217,14 +212,6 @@ struct amdgpu_vm_update_params {
* @num_dw_left: number of dw left for the IB
*/
unsigned int num_dw_left;
-
- /**
- * @func: Function which actually does the update
- */
- void (*func)(struct amdgpu_vm_update_params *params,
- struct amdgpu_bo *bo, uint64_t pe,
- uint64_t addr, unsigned count, uint32_t incr,
- uint64_t flags);
};
struct amdgpu_vm_update_funcs {