Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/ttm/
Dttm_tt.c98 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
107 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory()
118 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory()
128 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
133 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields()
147 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
161 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
178 int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_sg_tt_init()
197 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin()
249 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, in ttm_tt_swapout()
[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.c149 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local
339 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
497 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
708 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() local
Dttm_bo_vm.c191 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_ttm.c321 struct ttm_tt ttm; member
331 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
392 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
421 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
429 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
464 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
480 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
523 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
536 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
561 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c15 struct ttm_tt ttm; member
20 nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy()
31 nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind()
58 nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
Dnouveau_bo.c765 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
781 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1327 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1349 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1366 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
Dnouveau_drv.h240 } ttm; member
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c639 struct ttm_tt ttm; member
662 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
709 void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
724 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
748 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
762 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
799 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
824 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd()
859 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
880 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
[all …]
Damdgpu_ttm.h182 static inline void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
186 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.c520 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
609 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_sg_bo() local
686 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
732 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_sg_bo() local
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c300 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind()
347 struct ttm_tt *ttm) in vmw_ttm_unbind()
374 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
389 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
403 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c50 struct ttm_tt ttm; member
189 struct ttm_tt *ttm, in i915_ttm_tt_shmem_populate()
247 static void i915_ttm_tt_shmem_unpopulate(struct ttm_tt *ttm) in i915_ttm_tt_shmem_unpopulate()
323 struct ttm_tt *ttm, in i915_ttm_tt_populate()
334 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
350 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
526 static struct i915_refct_sgt *i915_ttm_tt_get_st(struct ttm_tt *ttm) in i915_ttm_tt_get_st()
Di915_gem_ttm_move.c53 struct ttm_tt *ttm) in i915_ttm_cache_level()
579 struct ttm_tt *ttm = bo->ttm; in i915_ttm_move() local
Di915_gem_object_types.h688 } ttm; member
/Linux-v6.6/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()
111 struct ttm_tt *ttm; in qxl_ttm_tt_create() local
/Linux-v6.6/drivers/gpu/drm/ttm/tests/
Dttm_kunit_helpers.c12 struct ttm_device *ttm, in ttm_device_kunit_init()
/Linux-v6.6/include/drm/ttm/
Dttm_tt.h216 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm) in ttm_tt_mark_for_clear()
Dttm_bo.h118 struct ttm_tt *ttm; member
/Linux-v6.6/drivers/gpu/drm/loongson/
Dlsdc_ttm.c114 struct ttm_tt *ttm, in lsdc_ttm_tt_populate()
131 struct ttm_tt *ttm) in lsdc_ttm_tt_unpopulate()
/Linux-v6.6/arch/powerpc/perf/
Dppc970-pmu.c264 unsigned int ttm, grp; in p970_compute_mmcr() local
Dpower5+-pmu.c460 unsigned int ttm; in power5p_compute_mmcr() local
Dpower5-pmu.c391 unsigned int ttm, grp; in power5_compute_mmcr() local