diff options
author | Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> | 2023-02-14 07:51:07 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 16:57:29 +0300 |
commit | 6b43e1a05cb764196c5158b2447a9bfad1f2b531 (patch) | |
tree | 30f9d0f0dff5b5702af36f3bed063a5cdb2e37f1 | |
parent | 570de94b9c5d93e1c5bc4e357946efb93c662da9 (diff) | |
download | linux-6b43e1a05cb764196c5158b2447a9bfad1f2b531.tar.xz |
drm/ttm: export ttm_pool_fini for cleanup
ttm_pool_init is exported and used outside of ttm subsystem with
amdgpu_ttm interface, similarly export ttm_pool_fini for proper cleanup.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_pool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index afc4476c446f..668abf63f2bd 100644 --- a/drivers/gpu/drm/ttm/ttm_pool.c +++ b/drivers/gpu/drm/ttm/ttm_pool.c @@ -600,6 +600,7 @@ void ttm_pool_fini(struct ttm_pool *pool) */ synchronize_shrinkers(); } +EXPORT_SYMBOL(ttm_pool_fini); /* As long as pages are available make sure to release at least one */ static unsigned long ttm_pool_shrinker_scan(struct shrinker *shrink, |