summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-11-15 20:52:06 +0100
committerAlex Deucher <alexander.deucher@amd.com>2015-11-18 11:40:27 -0500
commitea89f8c9e8ba8a7b75446eef36917da50d2186d9 (patch)
tree8ab8a5dadae835605722e6d45efb3369a8afebe0 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent8b4fb00b5db271bb1e117a078d5d7a161d8d8af1 (diff)
downloadlinux-ea89f8c9e8ba8a7b75446eef36917da50d2186d9.tar.gz
linux-ea89f8c9e8ba8a7b75446eef36917da50d2186d9.tar.xz
drm/amdgpu: move VM manager clean into the VM code again
It's not a good idea to duplicate that code. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <davdi1.zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index d1e16726e225..beb74854a8a3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -972,6 +972,7 @@ struct amdgpu_vm_manager {
struct amdgpu_ring *vm_pte_funcs_ring;
};
+void amdgpu_vm_manager_fini(struct amdgpu_device *adev);
int amdgpu_vm_init(struct amdgpu_device *adev, struct amdgpu_vm *vm);
void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm);
struct amdgpu_bo_list_entry *amdgpu_vm_get_bos(struct amdgpu_device *adev,