| /kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
| D | ttm_tt.c | 87 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory() 96 static int ttm_dma_tt_alloc_page_directory(struct ttm_dma_tt *ttm) in ttm_dma_tt_alloc_page_directory() 108 static int ttm_sg_tt_alloc_page_directory(struct ttm_dma_tt *ttm) in ttm_sg_tt_alloc_page_directory() 149 static int ttm_tt_set_caching(struct ttm_tt *ttm, in ttm_tt_set_caching() 195 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) in ttm_tt_set_placement_caching() 210 void ttm_tt_destroy_common(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy_common() 222 void ttm_tt_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy() 227 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields() 239 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init() 252 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini() [all …]
|
| D | ttm_agp_backend.c | 46 struct ttm_tt ttm; member 51 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem) in ttm_agp_bind() 89 void ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind() 104 bool ttm_agp_is_bound(struct ttm_tt *ttm) in ttm_agp_is_bound() 115 void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
|
| D | ttm_bo_util.c | 57 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_ttm() local 173 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, in ttm_copy_io_ttm_page() 195 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, void *dst, in ttm_copy_ttm_io_page() 223 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local 445 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local
|
| D | ttm_bo_vm.c | 188 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vm_insert_huge() local 277 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_reserved() local
|
| D | ttm_page_alloc_dma.c | 838 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_get_pages() local 858 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_gfp_flags() local 889 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_populate() local 994 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_unpopulate() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ttm/ |
| D | ttm_tt.c | 111 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory() 120 static int ttm_dma_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_dma_tt_alloc_page_directory() 131 static int ttm_sg_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_sg_tt_alloc_page_directory() 141 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy() 146 static void ttm_tt_init_fields(struct ttm_tt *ttm, in ttm_tt_init_fields() 160 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init() 174 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini() 191 int ttm_sg_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_sg_tt_init() 210 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin() 262 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, in ttm_tt_swapout() [all …]
|
| D | ttm_agp_backend.c | 45 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()
|
| D | ttm_bo_util.c | 149 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy() local 346 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm() local 507 struct ttm_tt *ttm = bo->ttm; in ttm_bo_vmap() local 718 struct ttm_tt *ttm; in ttm_bo_pipeline_gutting() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_ttm.c | 321 struct ttm_tt ttm; member 331 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr() 392 static void radeon_ttm_tt_unpin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr() 421 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound() 429 struct ttm_tt *ttm, in radeon_ttm_backend_bind() 464 static void radeon_ttm_backend_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind() 480 static void radeon_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy() 523 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt() 536 struct ttm_tt *ttm, in radeon_ttm_tt_populate() 561 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_ttm.c | 421 struct ttm_dma_tt ttm; member 431 static int radeon_ttm_tt_pin_userptr(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr() 492 static void radeon_ttm_tt_unpin_userptr(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpin_userptr() 521 static bool radeon_ttm_backend_is_bound(struct ttm_tt *ttm) in radeon_ttm_backend_is_bound() 529 struct ttm_tt *ttm, in radeon_ttm_backend_bind() 564 static void radeon_ttm_backend_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_unbind() 580 static void radeon_ttm_backend_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy() 617 struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt() 630 struct ttm_tt *ttm, in radeon_ttm_tt_populate() 669 static void radeon_ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_sgdma.c | 13 struct ttm_dma_tt ttm; member 18 nouveau_sgdma_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_destroy() 31 nouveau_sgdma_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg) in nouveau_sgdma_bind() 58 nouveau_sgdma_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_sgdma_unbind()
|
| D | nouveau_bo.c | 720 nouveau_ttm_tt_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind() 736 nouveau_ttm_tt_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind() 1314 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate() 1351 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate() 1383 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| D | nouveau_sgdma.c | 15 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()
|
| D | nouveau_bo.c | 763 nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind() 779 nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind() 1327 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate() 1349 struct ttm_tt *ttm) in nouveau_ttm_tt_unpopulate() 1366 struct ttm_tt *ttm) in nouveau_ttm_tt_destroy()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ttm.c | 655 struct ttm_tt ttm; member 678 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local 725 void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages() 740 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done() 764 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages() 778 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr() 817 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr() 842 struct ttm_tt *ttm, uint64_t flags) in amdgpu_ttm_gart_bind_gfx9_mqd() 877 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local 899 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind() [all …]
|
| D | amdgpu_ttm.h | 185 static inline void amdgpu_ttm_tt_discard_user_pages(struct ttm_tt *ttm, in amdgpu_ttm_tt_discard_user_pages() 189 static inline bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm, in amdgpu_ttm_tt_get_user_pages_done()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ttm.c | 814 struct ttm_dma_tt ttm; member 836 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages() local 938 bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) in amdgpu_ttm_tt_get_user_pages_done() 975 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages() 989 struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr() 1027 struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr() 1064 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind() local 1111 struct ttm_tt *ttm, in amdgpu_ttm_backend_bind() 1251 struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind() 1276 struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy() [all …]
|
| D | amdgpu_gmc.c | 48 struct ttm_dma_tt *ttm; in amdgpu_gmc_get_pde_for_bo() local 125 struct ttm_dma_tt *ttm; in amdgpu_gmc_agp_addr() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_ttm_buffer.c | 306 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() 353 struct ttm_tt *ttm) in vmw_ttm_unbind() 380 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy() 395 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate() 411 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
| D | qxl_ttm.c | 102 struct ttm_tt ttm; member 108 struct ttm_tt *ttm, in qxl_ttm_backend_bind() 123 struct ttm_tt *ttm) in qxl_ttm_backend_unbind() 129 struct ttm_tt *ttm) in qxl_ttm_backend_destroy()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_ttm_buffer.c | 559 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() 603 struct ttm_tt *ttm) in vmw_ttm_unbind() 628 static void vmw_ttm_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy() 649 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate() 678 struct ttm_tt *ttm) in vmw_ttm_unpopulate()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
| D | i915_gem_ttm.c | 50 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/qxl/ |
| D | qxl_ttm.c | 102 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
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/ |
| D | ttm_kunit_helpers.c | 12 struct ttm_device *ttm, in ttm_device_kunit_init()
|
| /kernel/linux/linux-6.6/include/drm/ttm/ |
| D | ttm_tt.h | 223 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm) in ttm_tt_mark_for_clear()
|