Home
last modified time | relevance | path

Searched defs:ttm (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_tt.c87 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
96 static int ttm_dma_tt_alloc_page_directory(struct ttm_dma_tt *ttm) in ttm_dma_tt_alloc_page_directory()
108 static int ttm_sg_tt_alloc_page_directory(struct ttm_dma_tt *ttm) in ttm_sg_tt_alloc_page_directory()
149 static int ttm_tt_set_caching(struct ttm_tt *ttm, in ttm_tt_set_caching()
195 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) in ttm_tt_set_placement_caching()
210 void ttm_tt_destroy_common(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy_common()
222 void ttm_tt_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
227 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields()
239 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
252 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
[all …]
Dttm_agp_backend.c46 struct ttm_tt ttm; member
51 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem) in ttm_agp_bind()
89 void ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind()
104 bool ttm_agp_is_bound(struct ttm_tt *ttm) in ttm_agp_is_bound()
115 void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
Dttm_bo_util.c57 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_ttm() local
173 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, in ttm_copy_io_ttm_page()
195 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, void *dst, in ttm_copy_ttm_io_page()
223 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local
445 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
Dttm_bo_vm.c188 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vm_insert_huge() local
277 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
Dttm_page_alloc_dma.c838 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_get_pages() local
858 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_gfp_flags() local
889 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_populate() local
994 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_unpopulate() local
Dttm_page_alloc.c1029 ttm_pool_unpopulate_helper(struct ttm_tt *ttm, unsigned mem_count_update) in ttm_pool_unpopulate_helper()
1050 int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_pool_populate()
1091 void ttm_pool_unpopulate(struct ttm_tt *ttm) in ttm_pool_unpopulate()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c13 struct ttm_dma_tt ttm; member
18 nouveau_sgdma_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy()
31 nouveau_sgdma_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind()
58 nouveau_sgdma_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
Dnouveau_bo.c720 nouveau_ttm_tt_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
736 nouveau_ttm_tt_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1305 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1342 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1374 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
Dnouveau_drv.h174 } ttm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c421 struct ttm_dma_tt ttm; member
431 static int radeon_ttm_tt_pin_userptr(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
492 static void radeon_ttm_tt_unpin_userptr(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
521 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
529 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
564 static void radeon_ttm_backend_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
580 static void radeon_ttm_backend_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
617 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
630 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
669 static void radeon_ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c814 struct ttm_dma_tt ttm; member
836 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
938 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done()
975 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
989 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
1027 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
1064 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
1111 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
1251 struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind()
1276 struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy()
[all …]
Damdgpu_gmc.c48 struct ttm_dma_tt *ttm; in amdgpu_gmc_get_pde_for_bo() local
125 struct ttm_dma_tt *ttm; in amdgpu_gmc_agp_addr() local
Damdgpu_ttm.h159 static inline bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done()
Damdgpu_vm.c1799 struct ttm_dma_tt *ttm; in amdgpu_vm_bo_update() local
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c102 struct ttm_tt ttm; member
108 struct ttm_tt *ttm, in qxl_ttm_backend_bind()
123 struct ttm_tt *ttm) in qxl_ttm_backend_unbind()
129 struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c559 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind()
603 struct ttm_tt *ttm) in vmw_ttm_unbind()
628 static void vmw_ttm_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
649 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
678 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_tt.h104 struct ttm_tt ttm; member
Dttm_bo_api.h143 struct ttm_tt *ttm; member
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dppc970-pmu.c263 unsigned int ttm, grp; in p970_compute_mmcr() local
Dpower5-pmu.c390 unsigned int ttm, grp; in power5_compute_mmcr() local
Dpower5+-pmu.c459 unsigned int ttm; in power5p_compute_mmcr() local
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c516 u_int ttm; /* Transmit Threshold Mode for each media */ member