Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_tt.c93 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
102 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory()
115 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory()
125 void ttm_tt_destroy_common(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy_common()
136 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
141 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields()
155 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
168 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
179 int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_sg_tt_init()
198 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin()
[all …]
Dttm_agp_backend.c45 struct ttm_tt ttm; member
50 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem) in ttm_agp_bind()
87 void ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind()
102 bool ttm_agp_is_bound(struct ttm_tt *ttm) in ttm_agp_is_bound()
113 void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
Dttm_bo_util.c96 struct ttm_tt *ttm = bo->ttm; in ttm_move_memcpy() local
142 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local
305 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
424 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
589 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() local
Dttm_bo_vm.c198 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vm_insert_huge() local
287 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_ttm.c328 struct ttm_tt ttm; member
338 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
399 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
428 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
436 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
471 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
487 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
533 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
546 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
571 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c14 struct ttm_tt ttm; member
19 nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy()
32 nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind()
59 nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
Dnouveau_bo.c713 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
729 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1248 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1272 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1289 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
Dnouveau_drv.h166 } ttm; member
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c638 struct ttm_tt ttm; member
660 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
710 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done()
744 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
758 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
795 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
831 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
877 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
1033 struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind()
1065 struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy()
[all …]
Damdgpu_ttm.h173 static inline bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done()
Damdgpu_amdkfd_gpuvm.c476 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
556 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c451 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind()
495 struct ttm_tt *ttm) in vmw_ttm_unbind()
520 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
541 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
571 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c48 struct ttm_tt ttm; member
107 struct ttm_tt *ttm) in i915_ttm_cache_level()
199 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
213 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
379 static struct sg_table *i915_ttm_tt_get_st(struct ttm_tt *ttm) in i915_ttm_tt_get_st()
440 struct ttm_tt *ttm = bo->ttm; in i915_ttm_accel_move() local
Di915_gem_object_types.h538 } ttm; member
/Linux-v5.15/drivers/gpu/drm/qxl/
Dqxl_ttm.c102 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
112 struct ttm_tt *ttm; in qxl_ttm_tt_create() local
/Linux-v5.15/include/drm/ttm/
Dttm_tt.h182 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm) in ttm_tt_mark_for_clear()
Dttm_bo_api.h140 struct ttm_tt *ttm; member
/Linux-v5.15/arch/powerpc/perf/
Dppc970-pmu.c264 unsigned int ttm, grp; in p970_compute_mmcr() local
Dpower5-pmu.c391 unsigned int ttm, grp; in power5_compute_mmcr() local
Dpower5+-pmu.c460 unsigned int ttm; in power5p_compute_mmcr() local
/Linux-v5.15/drivers/net/ethernet/dec/tulip/
Dde4x5.c517 u_int ttm; /* Transmit Threshold Mode for each media */ member