diff options
author | Christian König <christian.koenig@amd.com> | 2020-09-15 16:29:26 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-09-17 11:44:04 +0200 |
commit | 36183150e086977cadcffba84ecd84cbbeec9324 (patch) | |
tree | 0c10b9fd1a5bee72d1f5e82c032db7cabb29d21f /include/drm/ttm/ttm_memory.h | |
parent | Merge branch 'virtio-shm' of git://git.kernel.org/pub/scm/linux/kernel/git/ms... (diff) | |
download | linux-36183150e086977cadcffba84ecd84cbbeec9324.tar.xz linux-36183150e086977cadcffba84ecd84cbbeec9324.zip |
drm/ttm: some cleanups
Unexport ttm_check_under_lowerlimit.
Make ttm_bo_acc_size static and unexport it.
Remove ttm_get_kernel_zone_memory_size.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/390515/
Diffstat (limited to '')
-rw-r--r-- | include/drm/ttm/ttm_memory.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_memory.h b/include/drm/ttm/ttm_memory.h index c78ea99c42cf..2d468d7c94e6 100644 --- a/include/drm/ttm/ttm_memory.h +++ b/include/drm/ttm/ttm_memory.h @@ -91,7 +91,6 @@ extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, extern void ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page, uint64_t size); extern size_t ttm_round_pot(size_t size); -extern uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob); extern bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob, uint64_t num_pages, struct ttm_operation_ctx *ctx); #endif |