Home
last modified time | relevance | path

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

12

/linux-6.14.4/drivers/gpu/drm/ttm/
Dttm_tt.c113 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
122 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory()
133 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory()
143 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
149 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields()
163 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
177 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
194 int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_sg_tt_init()
213 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin()
266 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
345 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
506 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
717 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-6.14.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c313 struct ttm_tt ttm; member
323 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
384 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
413 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
421 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
456 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
472 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
515 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
528 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
553 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/linux-6.14.4/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.c779 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
795 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1340 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1362 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1379 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c677 struct ttm_tt ttm; member
700 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
747 void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
762 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
786 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
800 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
839 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
864 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd()
898 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
920 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
[all …]
Damdgpu_ttm.h203 static inline void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
207 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.c561 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
650 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_sg_bo() local
727 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
773 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_sg_bo() local
/linux-6.14.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c274 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind()
321 struct ttm_tt *ttm) in vmw_ttm_unbind()
348 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
363 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
379 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
/linux-6.14.4/drivers/gpu/drm/ttm/tests/
Dttm_kunit_helpers.c55 static void ttm_tt_simple_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_simple_destroy()
116 struct ttm_device *ttm, in ttm_device_kunit_init_with_funcs()
142 struct ttm_device *ttm, in ttm_device_kunit_init()
161 struct ttm_device *ttm, in ttm_device_kunit_init_bad_evict()
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c50 struct ttm_tt ttm; member
182 struct ttm_tt *ttm, in i915_ttm_tt_shmem_populate()
240 static void i915_ttm_tt_shmem_unpopulate(struct ttm_tt *ttm) in i915_ttm_tt_shmem_unpopulate()
316 struct ttm_tt *ttm, in i915_ttm_tt_populate()
327 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
343 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
519 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
/linux-6.14.4/drivers/gpu/drm/qxl/
Dqxl_ttm.c100 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
109 struct ttm_tt *ttm; in qxl_ttm_tt_create() local
/linux-6.14.4/include/drm/ttm/
Dttm_tt.h228 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm) in ttm_tt_mark_for_clear()
Dttm_bo.h121 struct ttm_tt *ttm; member
/linux-6.14.4/drivers/gpu/drm/loongson/
Dlsdc_ttm.c112 struct ttm_tt *ttm, in lsdc_ttm_tt_populate()
129 struct ttm_tt *ttm) in lsdc_ttm_tt_unpopulate()
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_bo_types.h29 struct ttm_buffer_object ttm; member
Dxe_device.h39 static inline struct xe_device *ttm_to_xe_device(struct ttm_device *ttm) in ttm_to_xe_device()
Dxe_bo.c285 struct ttm_tt ttm; member
665 struct ttm_tt *ttm = ttm_bo->ttm; in xe_bo_move() local
/linux-6.14.4/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-6.14.4/drivers/gpu/drm/xe/tests/
Dxe_bo.c29 struct ttm_tt *ttm; in ccs_test_migrate() local

12