Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_tt.c97 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
106 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory()
117 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory()
127 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
132 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.c138 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local
319 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
440 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
616 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() local
Dttm_bo_vm.c196 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_ttm.c325 struct ttm_tt ttm; member
335 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
396 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
425 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
433 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
468 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
484 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
527 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
540 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
565 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/linux-6.1.9/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()
30 nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind()
57 nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
Dnouveau_bo.c715 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
731 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1267 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1289 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1306 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
Dnouveau_drv.h170 } ttm; member
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c639 struct ttm_tt ttm; member
661 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
713 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
741 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
755 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
792 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
814 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
849 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
988 struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind()
1016 struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy()
[all …]
Damdgpu_amdkfd_gpuvm.c508 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
594 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_sg_bo() local
671 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
718 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_sg_bo() local
Damdgpu_ttm.h165 static inline bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c382 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind()
429 struct ttm_tt *ttm) in vmw_ttm_unbind()
456 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
471 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
485 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.c50 struct ttm_tt ttm; member
186 struct ttm_tt *ttm, in i915_ttm_tt_shmem_populate()
244 static void i915_ttm_tt_shmem_unpopulate(struct ttm_tt *ttm) in i915_ttm_tt_shmem_unpopulate()
322 struct ttm_tt *ttm, in i915_ttm_tt_populate()
333 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
349 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()
558 struct ttm_tt *ttm = bo->ttm; in i915_ttm_move() local
Di915_gem_object_types.h631 } ttm; member
/linux-6.1.9/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.1.9/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_api.h135 struct ttm_tt *ttm; member
/linux-6.1.9/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