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/
This commit is contained in:
Родитель
2705d14a31
Коммит
18f7608a67
|
@ -162,19 +162,6 @@ void ttm_tt_fini(struct ttm_tt *ttm)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ttm_tt_fini);
|
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,
|
int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
||||||
uint32_t page_flags, enum ttm_caching caching)
|
uint32_t page_flags, enum ttm_caching caching)
|
||||||
{
|
{
|
||||||
|
|
|
@ -99,8 +99,6 @@ int ttm_tt_create(struct ttm_buffer_object *bo, bool zero_alloc);
|
||||||
*/
|
*/
|
||||||
int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
|
||||||
uint32_t page_flags, enum ttm_caching caching);
|
uint32_t page_flags, enum ttm_caching caching);
|
||||||
int ttm_dma_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,
|
|
||||||
uint32_t page_flags, enum ttm_caching caching);
|
|
||||||
int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,
|
int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,
|
||||||
uint32_t page_flags, enum ttm_caching caching);
|
uint32_t page_flags, enum ttm_caching caching);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче