Home
last modified time | relevance | path

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

/linux-5.19.10/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
313 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
432 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local
606 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-5.19.10/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-5.19.10/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.c713 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind()
729 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind()
1264 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()
1286 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate()
1303 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
Dnouveau_drv.h171 } ttm; member
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c628 struct ttm_tt ttm; member
650 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local
703 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done()
737 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
751 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
788 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
824 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local
859 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
998 struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind()
1026 struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy()
[all …]
Damdgpu_ttm.h168 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.c460 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() local
540 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() local
/linux-5.19.10/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-5.19.10/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()
340 struct ttm_tt *ttm, in i915_ttm_tt_populate()
351 static void i915_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_unpopulate()
367 static void i915_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in i915_ttm_tt_destroy()
576 static struct i915_refct_sgt *i915_ttm_tt_get_st(struct ttm_tt *ttm) in i915_ttm_tt_get_st()
Di915_gem_ttm_move.c47 struct ttm_tt *ttm) in i915_ttm_cache_level()
488 struct ttm_tt *ttm = bo->ttm; in i915_ttm_move() local
Di915_gem_object_types.h609 } ttm; member
/linux-5.19.10/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-5.19.10/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-5.19.10/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