| /linux/include/drm/ttm/ |
| H A D | ttm_tt.h | 37 struct ttm_tt; 48 struct ttm_tt { struct 139 struct ttm_tt *tt; 143 static inline bool ttm_tt_is_populated(struct ttm_tt *tt) in ttm_tt_is_populated() 154 static inline bool ttm_tt_is_swapped(const struct ttm_tt *tt) in ttm_tt_is_swapped() 165 static inline bool ttm_tt_is_backed_up(const struct ttm_tt *tt) in ttm_tt_is_backed_up() 177 static inline void ttm_tt_clear_backed_up(struct ttm_tt *tt) in ttm_tt_clear_backed_up() 207 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, 210 int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo, 220 void ttm_tt_fini(struct ttm_tt *ttm); [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_ttm.h | 15 struct ttm_tt *nouveau_sgdma_create_ttm(struct ttm_buffer_object *bo, 24 int nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg); 25 void nouveau_sgdma_unbind(struct ttm_device *bdev, struct ttm_tt *ttm); 26 void nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm);
|
| H A D | nouveau_sgdma.c | 15 struct ttm_tt ttm; 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() 67 struct ttm_tt *
|
| H A D | nouveau_mem.h | 4 struct ttm_tt; 35 int nouveau_mem_host(struct ttm_resource *, struct ttm_tt *);
|
| H A D | nouveau_bo.c | 47 static int nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, 49 static void nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm); 695 struct ttm_tt *ttm_dma = (struct ttm_tt *)nvbo->bo.ttm; in nouveau_bo_sync_for_device() 731 struct ttm_tt *ttm_dma = (struct ttm_tt *)nvbo->bo.ttm; in nouveau_bo_sync_for_cpu() 841 static struct ttm_tt * 856 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind() 872 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind() 1420 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate() 1422 struct ttm_tt *ttm_dma = (void *)ttm; in nouveau_ttm_tt_populate() 1442 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate() [all …]
|
| H A D | nouveau_mem.c | 89 nouveau_mem_host(struct ttm_resource *reg, struct ttm_tt *tt) in nouveau_mem_host()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_tt_test.c | 43 struct ttm_tt *tt; in ttm_tt_init_basic() 70 struct ttm_tt *tt; in ttm_tt_init_misaligned() 93 struct ttm_tt *tt; in ttm_tt_fini_basic() 113 struct ttm_tt *tt; in ttm_tt_fini_sg() 133 struct ttm_tt *tt; in ttm_tt_fini_shmem() 191 struct ttm_tt *tt; in ttm_tt_create_ttm_exists() 213 static struct ttm_tt *ttm_tt_null_create(struct ttm_buffer_object *bo, in ttm_tt_null_create() 274 struct ttm_tt *tt; in ttm_tt_populate_populated_ttm() 299 struct ttm_tt *tt; in ttm_tt_unpopulate_basic() 322 struct ttm_tt *tt; in ttm_tt_unpopulate_empty_ttm() [all …]
|
| H A D | ttm_bo_validate_test.c | 529 struct ttm_tt *old_tt; in ttm_bo_validate_no_placement_signaled()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_ttm_buffer.c | 274 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() 400 static struct ttm_tt *vmw_ttm_tt_create(struct ttm_buffer_object *bo, in vmw_ttm_tt_create()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 69 struct ttm_tt *ttm, 72 struct ttm_tt *ttm); 682 struct ttm_tt ttm; 706 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() 757 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct amdgpu_hmm_range *range) in amdgpu_ttm_tt_set_user_pages() 771 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr() 810 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr() 835 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd() 869 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() 891 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind() [all …]
|
| H A D | amdgpu_amdkfd_gpuvm.c | 569 struct ttm_tt *src_ttm = mem->bo->tbo.ttm; in kfd_mem_dmamap_userptr() 570 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_userptr() 653 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmamap_sg_bo() 730 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_userptr() 776 struct ttm_tt *ttm = bo->tbo.ttm; in kfd_mem_dmaunmap_sg_bo()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm_move.h | 16 struct ttm_tt;
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo_util.c | 153 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() 350 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() 537 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() 772 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() 1101 struct ttm_tt *tt = bo->ttm; in ttm_bo_shrink()
|
| H A D | ttm_bo_vm.c | 193 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved()
|
| H A D | ttm_bo.c | 1264 struct ttm_tt *tt = bo->ttm; in ttm_bo_populate()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 376 struct ttm_tt ttm; 383 static int xe_tt_map_sg(struct xe_device *xe, struct ttm_tt *tt) in xe_tt_map_sg() 415 static void xe_tt_unmap_sg(struct xe_device *xe, struct ttm_tt *tt) in xe_tt_unmap_sg() 429 struct ttm_tt *tt = bo->ttm.ttm; in xe_bo_sg() 439 static void xe_ttm_tt_account_add(struct xe_device *xe, struct ttm_tt *tt) in xe_ttm_tt_account_add() 449 static void xe_ttm_tt_account_subtract(struct xe_device *xe, struct ttm_tt *tt) in xe_ttm_tt_account_subtract() 472 static struct ttm_tt *xe_ttm_tt_create(struct ttm_buffer_object *ttm_bo, in xe_ttm_tt_create() 478 struct ttm_tt *tt; in xe_ttm_tt_create() 554 static int xe_ttm_tt_populate(struct ttm_device *ttm_dev, struct ttm_tt *tt, in xe_ttm_tt_populate() 584 static void xe_ttm_tt_unpopulate(struct ttm_device *ttm_dev, struct ttm_tt *tt) in xe_ttm_tt_unpopulate() [all …]
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_bo.c | 29 struct ttm_tt *ttm; in ccs_test_migrate()
|
| /linux/Documentation/gpu/ |
| H A D | drm-mm.rst | 64 .. kernel-doc:: include/drm/ttm/ttm_tt.h 67 .. kernel-doc:: drivers/gpu/drm/ttm/ttm_tt.c
|