Home
last modified time | relevance | path

Searched refs:ttm_tt (Results 1 – 22 of 22) sorted by relevance

/linux-4.1.27/include/drm/ttm/
Dttm_bo_driver.h57 int (*bind) (struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem);
67 int (*unbind) (struct ttm_tt *ttm);
77 void (*destroy) (struct ttm_tt *ttm);
114 struct ttm_tt { struct
145 struct ttm_tt ttm;
331 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev,
345 int (*ttm_tt_populate)(struct ttm_tt *ttm);
354 void (*ttm_tt_unpopulate)(struct ttm_tt *ttm);
579 extern int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
593 extern void ttm_tt_fini(struct ttm_tt *ttm);
[all …]
Dttm_page_alloc.h50 extern int ttm_pool_populate(struct ttm_tt *ttm);
59 extern void ttm_pool_unpopulate(struct ttm_tt *ttm);
Dttm_bo_api.h149 struct ttm_tt;
220 struct ttm_tt *ttm;
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_tt.c51 static void ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
106 static int ttm_tt_set_caching(struct ttm_tt *ttm, in ttm_tt_set_caching()
152 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) in ttm_tt_set_placement_caching()
167 void ttm_tt_destroy(struct ttm_tt *ttm) in ttm_tt_destroy()
187 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev, in ttm_tt_init()
210 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
221 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_tt_init()
245 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_tt_fini()
254 void ttm_tt_unbind(struct ttm_tt *ttm) in ttm_tt_unbind()
265 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in ttm_tt_bind()
[all …]
Dttm_agp_backend.c46 struct ttm_tt ttm;
51 static int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in ttm_agp_bind()
84 static int ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind()
97 static void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
113 struct ttm_tt *ttm_agp_tt_create(struct ttm_bo_device *bdev, in ttm_agp_tt_create()
137 int ttm_agp_tt_populate(struct ttm_tt *ttm) in ttm_agp_tt_populate()
146 void ttm_agp_tt_unpopulate(struct ttm_tt *ttm) in ttm_agp_tt_unpopulate()
DMakefile5 ttm-y := ttm_agp_backend.o ttm_memory.o ttm_tt.o ttm_bo.o \
Dttm_bo_util.c51 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_ttm()
250 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, in ttm_copy_io_ttm_page()
287 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, void *dst, in ttm_copy_ttm_io_page()
329 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy()
534 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm()
Dttm_page_alloc_dma.c849 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_get_pages()
875 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_populate()
934 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_unpopulate()
Dttm_page_alloc.c864 int ttm_pool_populate(struct ttm_tt *ttm) in ttm_pool_populate()
903 void ttm_pool_unpopulate(struct ttm_tt *ttm) in ttm_pool_unpopulate()
Dttm_bo_vm.c94 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault()
Dttm_bo.c1188 size += ttm_round_pot(sizeof(struct ttm_tt)); in ttm_bo_acc_size()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c16 nouveau_sgdma_destroy(struct ttm_tt *ttm) in nouveau_sgdma_destroy()
27 nv04_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *mem) in nv04_sgdma_bind()
47 nv04_sgdma_unbind(struct ttm_tt *ttm) in nv04_sgdma_unbind()
61 nv50_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *mem) in nv50_sgdma_bind()
79 nv50_sgdma_unbind(struct ttm_tt *ttm) in nv50_sgdma_unbind()
91 struct ttm_tt *
Dnouveau_ttm.h14 struct ttm_tt *nouveau_sgdma_create_ttm(struct ttm_bo_device *,
Dnouveau_bo.c578 static struct ttm_tt *
1466 nouveau_ttm_tt_populate(struct ttm_tt *ttm) in nouveau_ttm_tt_populate()
1540 nouveau_ttm_tt_unpopulate(struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c200 static void cirrus_ttm_backend_destroy(struct ttm_tt *tt) in cirrus_ttm_backend_destroy()
211 static struct ttm_tt *cirrus_ttm_tt_create(struct ttm_bo_device *bdev, in cirrus_ttm_tt_create()
215 struct ttm_tt *tt; in cirrus_ttm_tt_create()
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL); in cirrus_ttm_tt_create()
228 static int cirrus_ttm_tt_populate(struct ttm_tt *ttm) in cirrus_ttm_tt_populate()
233 static void cirrus_ttm_tt_unpopulate(struct ttm_tt *ttm) in cirrus_ttm_tt_unpopulate()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c200 static void mgag200_ttm_backend_destroy(struct ttm_tt *tt) in mgag200_ttm_backend_destroy()
211 static struct ttm_tt *mgag200_ttm_tt_create(struct ttm_bo_device *bdev, in mgag200_ttm_tt_create()
215 struct ttm_tt *tt; in mgag200_ttm_tt_create()
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL); in mgag200_ttm_tt_create()
228 static int mgag200_ttm_tt_populate(struct ttm_tt *ttm) in mgag200_ttm_tt_populate()
233 static void mgag200_ttm_tt_unpopulate(struct ttm_tt *ttm) in mgag200_ttm_tt_unpopulate()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_ttm.c200 static void ast_ttm_backend_destroy(struct ttm_tt *tt) in ast_ttm_backend_destroy()
211 static struct ttm_tt *ast_ttm_tt_create(struct ttm_bo_device *bdev, in ast_ttm_tt_create()
215 struct ttm_tt *tt; in ast_ttm_tt_create()
217 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL); in ast_ttm_tt_create()
228 static int ast_ttm_tt_populate(struct ttm_tt *ttm) in ast_ttm_tt_populate()
233 static void ast_ttm_tt_unpopulate(struct ttm_tt *ttm) in ast_ttm_tt_unpopulate()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_ttm.c263 static int qxl_ttm_backend_bind(struct ttm_tt *ttm, in qxl_ttm_backend_bind()
277 static int qxl_ttm_backend_unbind(struct ttm_tt *ttm) in qxl_ttm_backend_unbind()
283 static void qxl_ttm_backend_destroy(struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
297 static int qxl_ttm_tt_populate(struct ttm_tt *ttm) in qxl_ttm_tt_populate()
311 static void qxl_ttm_tt_unpopulate(struct ttm_tt *ttm) in qxl_ttm_tt_unpopulate()
316 static struct ttm_tt *qxl_ttm_tt_create(struct ttm_bo_device *bdev, in qxl_ttm_tt_create()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ttm.c530 static int radeon_ttm_tt_pin_userptr(struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
592 static void radeon_ttm_tt_unpin_userptr(struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
621 static int radeon_ttm_backend_bind(struct ttm_tt *ttm, in radeon_ttm_backend_bind()
651 static int radeon_ttm_backend_unbind(struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
663 static void radeon_ttm_backend_destroy(struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
677 static struct ttm_tt *radeon_ttm_tt_create(struct ttm_bo_device *bdev, in radeon_ttm_tt_create()
705 static struct radeon_ttm_tt *radeon_ttm_tt_to_gtt(struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
712 static int radeon_ttm_tt_populate(struct ttm_tt *ttm) in radeon_ttm_tt_populate()
775 static void radeon_ttm_tt_unpopulate(struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
816 int radeon_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr, in radeon_ttm_tt_set_userptr()
[all …]
Dradeon.h2987 extern int radeon_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr,
2989 extern bool radeon_ttm_tt_has_userptr(struct ttm_tt *ttm);
2990 extern bool radeon_ttm_tt_is_readonly(struct ttm_tt *ttm);
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c547 static int vmw_ttm_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in vmw_ttm_bind()
581 static int vmw_ttm_unbind(struct ttm_tt *ttm) in vmw_ttm_unbind()
604 static void vmw_ttm_destroy(struct ttm_tt *ttm) in vmw_ttm_destroy()
622 static int vmw_ttm_populate(struct ttm_tt *ttm) in vmw_ttm_populate()
649 static void vmw_ttm_unpopulate(struct ttm_tt *ttm) in vmw_ttm_unpopulate()
679 static struct ttm_tt *vmw_ttm_tt_create(struct ttm_bo_device *bdev, in vmw_ttm_tt_create()
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_mm.c177 static void bochs_ttm_backend_destroy(struct ttm_tt *tt) in bochs_ttm_backend_destroy()
187 static struct ttm_tt *bochs_ttm_tt_create(struct ttm_bo_device *bdev, in bochs_ttm_tt_create()
192 struct ttm_tt *tt; in bochs_ttm_tt_create()
194 tt = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL); in bochs_ttm_tt_create()