diff options
author | Dave Airlie <airlied@redhat.com> | 2020-08-04 04:56:00 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-08-06 04:32:03 +0200 |
commit | 6fe1c54353f926e59f03aaa11c9271aa92fd0982 (patch) | |
tree | f4e747f8f13f9c1f03f85853d2c1cd54c945d629 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | |
parent | drm/ttm: start allowing drivers to use new takedown path (v2) (diff) | |
download | linux-6fe1c54353f926e59f03aaa11c9271aa92fd0982.tar.xz linux-6fe1c54353f926e59f03aaa11c9271aa92fd0982.zip |
drm/amdgpu/ttm: use new takedown path
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-28-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h index fb45c0a323b0..c01fdb3f0458 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h @@ -68,7 +68,9 @@ struct amdgpu_copy_mem { }; int amdgpu_gtt_mgr_init(struct amdgpu_device *adev, uint64_t gtt_size); +void amdgpu_gtt_mgr_fini(struct amdgpu_device *adev); int amdgpu_vram_mgr_init(struct amdgpu_device *adev); +void amdgpu_vram_mgr_fini(struct amdgpu_device *adev); bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_mem_reg *mem); uint64_t amdgpu_gtt_mgr_usage(struct ttm_mem_type_manager *man); |