Home
last modified time | relevance | path

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

/openbsd/src/sys/dev/pci/drm/ttm/
Dttm_tt.c113 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
125 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory()
142 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory()
152 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
158 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields()
175 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
189 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
214 int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_sg_tt_init()
257 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin()
310 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()
91 void ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind()
109 bool ttm_agp_is_bound(struct ttm_tt *ttm) in ttm_agp_is_bound()
124 void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
Dttm_bo_util.c150 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local
356 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
528 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
741 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() local
Dttm_bo_vm.c193 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
490 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
/openbsd/src/sys/dev/pci/drm/radeon/
Dradeon_ttm.c322 struct ttm_tt ttm; member
332 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
397 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr()
429 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound()
437 struct ttm_tt *ttm, in radeon_ttm_backend_bind()
472 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
488 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
531 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
544 struct ttm_tt *ttm, in radeon_ttm_tt_populate()
569 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
[all …]
/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_ttm.c673 struct ttm_tt ttm; member
696 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
743 void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
758 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
782 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct vm_page **pages) in amdgpu_ttm_tt_set_user_pages()
796 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
839 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
867 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd()
901 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
923 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
[all …]
Damdgpu_ttm.h201 static inline void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages()
205 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
/openbsd/src/sys/dev/pci/drm/i915/gem/
Di915_gem_ttm.c50 struct ttm_tt ttm; member
182 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()
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()
353 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
540 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()
582 struct ttm_tt *ttm = bo->ttm; in i915_ttm_move() local
Di915_gem_object_types.h704 } ttm; member
/openbsd/src/sys/dev/pci/drm/include/drm/ttm/
Dttm_tt.h229 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm) in ttm_tt_mark_for_clear()
Dttm_bo.h123 struct ttm_tt *ttm; member