summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-11-23 14:56:49 +0100
committerChristian König <christian.koenig@amd.com>2020-11-30 15:00:34 +0100
commit18f7608a67fca8b8305b3557e2c00bca54785acd (patch)
tree30939b533010130abee0f72f88f531e653804afd /drivers
parent2705d14a3145d840d13527e5e04748dd78c442fb (diff)
downloadlinux-18f7608a67fca8b8305b3557e2c00bca54785acd.tar.gz
linux-18f7608a67fca8b8305b3557e2c00bca54785acd.tar.bz2
linux-18f7608a67fca8b8305b3557e2c00bca54785acd.zip
drm/ttm: nuke ttm_dma_tt_init
Not used any more. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/403837/
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/ttm/ttm_tt.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_tt.c b/drivers/gpu/drm/ttm/ttm_tt.c
index da9eeffe0c6d..77ba784425dd 100644
--- a/drivers/gpu/drm/ttm/ttm_tt.c
+++ b/drivers/gpu/drm/ttm/ttm_tt.c
@@ -162,19 +162,6 @@ void ttm_tt_fini(struct ttm_tt *ttm)
}
EXPORT_SYMBOL(ttm_tt_fini);
-int ttm_dma_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
- uint32_t page_flags, enum ttm_caching caching)
-{
- ttm_tt_init_fields(ttm, bo, page_flags, caching);
-
- if (ttm_dma_tt_alloc_page_directory(ttm)) {
- pr_err("Failed allocating page table\n");
- return -ENOMEM;
- }
- return 0;
-}
-EXPORT_SYMBOL(ttm_dma_tt_init);
-
int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
uint32_t page_flags, enum ttm_caching caching)
{