Home
last modified time | relevance | path

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

12

/linux-6.8/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-6.8/drivers/gpu/drm/radeon/
Dradeon_ttm.c319 struct ttm_tt ttm; member
329 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
390 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
419 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
427 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
462 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
478 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
521 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
534 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
559 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/linux-6.8/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.c773 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
789 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1337 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1359 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1376 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
/linux-6.8/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c640 struct ttm_tt ttm; member
663 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
710 void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
725 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
749 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
763 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
800 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
825 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd()
860 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
881 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.c553 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
642 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_sg_bo() local
719 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
765 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_sg_bo() local
/linux-6.8/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-6.8/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
/linux-6.8/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-6.8/drivers/gpu/drm/ttm/tests/
Dttm_kunit_helpers.c12 struct ttm_device *ttm, in ttm_device_kunit_init()
/linux-6.8/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-6.8/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-6.8/drivers/gpu/drm/xe/
Dxe_device.h33 static inline struct xe_device *ttm_to_xe_device(struct ttm_device *ttm) in ttm_to_xe_device()
Dxe_bo_types.h28 struct ttm_buffer_object ttm; member
Dxe_bo.c288 struct ttm_tt ttm; member
628 struct ttm_tt *ttm = ttm_bo->ttm; in xe_bo_move() local
/linux-6.8/drivers/gpu/drm/xe/tests/
Dxe_bo.c22 struct ttm_tt *ttm; in ccs_test_migrate() local
/linux-6.8/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

12