| /Linux-v5.10/include/drm/ttm/ |
| D | ttm_bo_driver.h | 80 int (*ttm_tt_populate)(struct ttm_bo_device *bdev, 91 void (*ttm_tt_unpopulate)(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 105 int (*ttm_tt_bind)(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *bo_mem); 116 void (*ttm_tt_unbind)(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 127 void (*ttm_tt_destroy)(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 208 int (*io_mem_reserve)(struct ttm_bo_device *bdev, 210 void (*io_mem_free)(struct ttm_bo_device *bdev, 316 struct ttm_bo_device { struct 355 static inline struct ttm_resource_manager *ttm_manager_type(struct ttm_bo_device *bdev, in ttm_manager_type() argument 361 static inline void ttm_set_driver_manager(struct ttm_bo_device *bdev, in ttm_set_driver_manager() [all …]
|
| D | ttm_bo_api.h | 49 struct ttm_bo_device; 126 struct ttm_bo_device *bdev; 334 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev); 341 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched); 354 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, 393 int ttm_bo_init_reserved(struct ttm_bo_device *bdev, 442 int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo, 468 int ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size, 491 int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type); 560 struct ttm_bo_device *bdev); [all …]
|
| D | ttm_tt.h | 156 void ttm_tt_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 163 void ttm_tt_destroy_common(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 188 int ttm_tt_swapout(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct file *persistent_swap_sto… 197 int ttm_tt_populate(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx); 206 void ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
|
| D | ttm_resource.h | 35 struct ttm_bo_device; 231 int ttm_resource_manager_force_list_clean(struct ttm_bo_device *bdev,
|
| /Linux-v5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_ttm.h | 6 nouveau_bdev(struct ttm_bo_device *bd) in nouveau_bdev() 25 int nouveau_sgdma_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg); 26 void nouveau_sgdma_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm); 27 void nouveau_sgdma_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
|
| D | nouveau_sgdma.c | 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 | 47 static int nouveau_ttm_tt_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, 718 nouveau_ttm_tt_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, in nouveau_ttm_tt_bind() 734 nouveau_ttm_tt_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in nouveau_ttm_tt_unbind() 1147 nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_resource *reg) in nouveau_ttm_io_mem_reserve() 1245 nouveau_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_resource *reg) in nouveau_ttm_io_mem_free() 1302 nouveau_ttm_tt_populate(struct ttm_bo_device *bdev, in nouveau_ttm_tt_populate() 1339 nouveau_ttm_tt_unpopulate(struct ttm_bo_device *bdev, in nouveau_ttm_tt_unpopulate() 1371 nouveau_ttm_tt_destroy(struct ttm_bo_device *bdev, in nouveau_ttm_tt_destroy()
|
| D | nouveau_drv.h | 156 struct ttm_bo_device bdev;
|
| /Linux-v5.10/drivers/gpu/drm/ttm/ |
| D | ttm_bo.c | 115 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_mem_to_lru() 136 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_del_from_lru() 239 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem() 458 static bool ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete() 501 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue() 502 container_of(work, struct ttm_bo_device, wq.work); in ttm_bo_delayed_workqueue() 513 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release() 584 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) in ttm_bo_lock_delayed_workqueue() 590 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) in ttm_bo_unlock_delayed_workqueue() 601 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_evict() [all …]
|
| D | ttm_tt.c | 48 struct ttm_bo_device *bdev = bo->bdev; in ttm_tt_create() 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() 351 int ttm_tt_swapout(struct ttm_bo_device *bdev, in ttm_tt_swapout() 411 static void ttm_tt_add_mapping(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in ttm_tt_add_mapping() 422 int ttm_tt_populate(struct ttm_bo_device *bdev, in ttm_tt_populate() 457 void ttm_tt_unpopulate(struct ttm_bo_device *bdev, in ttm_tt_unpopulate()
|
| D | ttm_bo_util.c | 95 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, in ttm_mem_io_reserve() 108 void ttm_mem_io_free(struct ttm_bo_device *bdev, in ttm_mem_io_free() 121 static int ttm_resource_ioremap(struct ttm_bo_device *bdev, in ttm_resource_ioremap() 151 static void ttm_resource_iounmap(struct ttm_bo_device *bdev, in ttm_resource_iounmap() 221 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_memcpy() 586 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_pipeline_evict() 612 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup()
|
| D | ttm_range_manager.c | 115 int ttm_range_man_init(struct ttm_bo_device *bdev, in ttm_range_man_init() 142 int ttm_range_man_fini(struct ttm_bo_device *bdev, in ttm_range_man_fini()
|
| D | ttm_bo_vm.c | 99 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_io_mem_pfn() 273 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_vm_fault_reserved() 533 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup() 580 struct ttm_bo_device *bdev) in ttm_bo_mmap()
|
| D | ttm_resource.c | 86 int ttm_resource_manager_force_list_clean(struct ttm_bo_device *bdev, in ttm_resource_manager_force_list_clean()
|
| /Linux-v5.10/drivers/gpu/drm/qxl/ |
| D | qxl_ttm.c | 41 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) in qxl_get_qdev() 74 int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_reserve() 107 static int qxl_ttm_backend_bind(struct ttm_bo_device *bdev, in qxl_ttm_backend_bind() 122 static void qxl_ttm_backend_unbind(struct ttm_bo_device *bdev, in qxl_ttm_backend_unbind() 128 static void qxl_ttm_backend_destroy(struct ttm_bo_device *bdev, in qxl_ttm_backend_destroy()
|
| D | qxl_drv.h | 127 struct ttm_bo_device bdev; 352 int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev,
|
| D | qxl_release.c | 432 struct ttm_bo_device *bdev; in qxl_release_fence_buffer_objects()
|
| /Linux-v5.10/drivers/gpu/drm/radeon/ |
| D | radeon_ttm.c | 59 static int radeon_ttm_tt_bind(struct ttm_bo_device *bdev, 63 struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) in radeon_get_rdev() 361 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_resource *mem) in radeon_ttm_io_mem_reserve() 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() 528 static int radeon_ttm_backend_bind(struct ttm_bo_device *bdev, 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() 579 static void radeon_ttm_backend_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_backend_destroy() 628 static int radeon_ttm_tt_populate(struct ttm_bo_device *bdev, in radeon_ttm_tt_populate() 668 static void radeon_ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate() [all …]
|
| /Linux-v5.10/include/drm/ |
| D | drm_gem_vram_helper.h | 178 struct ttm_bo_device bdev; 190 struct ttm_bo_device *bdev) in drm_vram_mm_of_bdev()
|
| /Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_ttm_buffer.c | 558 static int vmw_ttm_bind(struct ttm_bo_device *bdev, in vmw_ttm_bind() 602 static void vmw_ttm_unbind(struct ttm_bo_device *bdev, in vmw_ttm_unbind() 628 static void vmw_ttm_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy() 648 static int vmw_ttm_populate(struct ttm_bo_device *bdev, in vmw_ttm_populate() 677 static void vmw_ttm_unpopulate(struct ttm_bo_device *bdev, in vmw_ttm_unpopulate() 742 static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_resource *mem) in vmw_ttm_io_mem_reserve()
|
| D | vmwgfx_bo.c | 510 struct ttm_bo_device *bdev = &dev_priv->bdev; in vmw_bo_init() 1017 struct ttm_bo_device *bdev = bo->bdev; in vmw_bo_fence_single()
|
| D | vmwgfx_resource.c | 861 struct ttm_bo_device *bdev = bo->bdev; in vmw_query_move_notify()
|
| /Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ttm.c | 66 static int amdgpu_ttm_backend_bind(struct ttm_bo_device *bdev, 742 static int amdgpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_resource *mem) in amdgpu_ttm_io_mem_reserve() 988 static int amdgpu_ttm_tt_pin_userptr(struct ttm_bo_device *bdev, in amdgpu_ttm_tt_pin_userptr() 1026 static void amdgpu_ttm_tt_unpin_userptr(struct ttm_bo_device *bdev, in amdgpu_ttm_tt_unpin_userptr() 1110 static int amdgpu_ttm_backend_bind(struct ttm_bo_device *bdev, in amdgpu_ttm_backend_bind() 1250 static void amdgpu_ttm_backend_unbind(struct ttm_bo_device *bdev, in amdgpu_ttm_backend_unbind() 1275 static void amdgpu_ttm_backend_destroy(struct ttm_bo_device *bdev, in amdgpu_ttm_backend_destroy() 1321 static int amdgpu_ttm_tt_populate(struct ttm_bo_device *bdev, in amdgpu_ttm_tt_populate() 1376 static void amdgpu_ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm) in amdgpu_ttm_tt_unpopulate()
|
| D | amdgpu_ttm.h | 56 struct ttm_bo_device bdev;
|
| /Linux-v5.10/drivers/gpu/drm/ |
| D | drm_gem_vram_helper.c | 179 struct ttm_bo_device *bdev; in drm_gem_vram_init() 923 static void bo_driver_ttm_tt_destroy(struct ttm_bo_device *bdev, struct ttm_tt *tt) in bo_driver_ttm_tt_destroy() 984 static int bo_driver_io_mem_reserve(struct ttm_bo_device *bdev, in bo_driver_io_mem_reserve()
|