Home
last modified time | relevance | path

Searched refs:ttm_device (Results 1 – 25 of 42) sorted by relevance

12

/linux/include/drm/ttm/
A Dttm_device.h35 struct ttm_device;
87 int (*ttm_tt_populate)(struct ttm_device *bdev,
98 void (*ttm_tt_unpopulate)(struct ttm_device *bdev,
110 void (*ttm_tt_destroy)(struct ttm_device *bdev, struct ttm_tt *ttm);
172 int (*io_mem_reserve)(struct ttm_device *bdev,
174 void (*io_mem_free)(struct ttm_device *bdev,
226 struct ttm_device { struct
292 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type()
299 static inline void ttm_set_driver_manager(struct ttm_device *bdev, int type, in ttm_set_driver_manager()
310 void ttm_device_fini(struct ttm_device *bdev);
[all …]
A Dttm_bo_api.h49 struct ttm_device;
125 struct ttm_device *bdev;
327 int ttm_bo_lock_delayed_workqueue(struct ttm_device *bdev);
334 void ttm_bo_unlock_delayed_workqueue(struct ttm_device *bdev, int resched);
382 int ttm_bo_init_reserved(struct ttm_device *bdev,
428 int ttm_bo_init(struct ttm_device *bdev, struct ttm_buffer_object *bo,
537 ssize_t ttm_bo_io(struct ttm_device *bdev, struct file *filp,
573 int ttm_mem_evict_first(struct ttm_device *bdev,
597 bool ttm_bo_delayed_delete(struct ttm_device *bdev, bool remove_all);
A Dttm_tt.h35 struct ttm_device;
171 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm);
181 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm,
193 int ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm,
204 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm);
A Dttm_range_manager.h37 int ttm_range_man_init_nocheck(struct ttm_device *bdev,
40 int ttm_range_man_fini_nocheck(struct ttm_device *bdev,
42 static __always_inline int ttm_range_man_init(struct ttm_device *bdev, in ttm_range_man_init()
50 static __always_inline int ttm_range_man_fini(struct ttm_device *bdev, in ttm_range_man_fini()
A Dttm_resource.h38 struct ttm_device;
274 int ttm_resource_manager_evict_all(struct ttm_device *bdev,
290 struct ttm_device *bdev,
294 struct ttm_device *bdev,
A Dttm_bo_driver.h226 int ttm_mem_io_reserve(struct ttm_device *bdev,
228 void ttm_mem_io_free(struct ttm_device *bdev,
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_ttm.h6 nouveau_bdev(struct ttm_device *bd) in nouveau_bdev()
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);
A Dnouveau_sgdma.c19 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()
A Dnouveau_bo.c46 static int nouveau_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm,
48 static void nouveau_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm);
713 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()
1079 nouveau_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *reg) in nouveau_ttm_io_mem_reserve()
1187 nouveau_ttm_io_mem_free(struct ttm_device *bdev, struct ttm_resource *reg) in nouveau_ttm_io_mem_free()
1247 nouveau_ttm_tt_populate(struct ttm_device *bdev, in nouveau_ttm_tt_populate()
1269 nouveau_ttm_tt_unpopulate(struct ttm_device *bdev, in nouveau_ttm_tt_unpopulate()
1286 nouveau_ttm_tt_destroy(struct ttm_device *bdev, in nouveau_ttm_tt_destroy()
/linux/drivers/gpu/drm/ttm/
A Dttm_device.c126 struct ttm_device *bdev; in ttm_global_swapout()
142 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout()
176 struct ttm_device *bdev = in ttm_device_delayed_workqueue()
177 container_of(work, struct ttm_device, wq.work); in ttm_device_delayed_workqueue()
199 int ttm_device_init(struct ttm_device *bdev, struct ttm_device_funcs *funcs, in ttm_device_init()
233 void ttm_device_fini(struct ttm_device *bdev) in ttm_device_fini()
262 void ttm_device_clear_dma_mappings(struct ttm_device *bdev) in ttm_device_clear_dma_mappings()
A Dttm_bo.c74 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_to_pinned()
84 struct ttm_device *bdev = bo->bdev; in ttm_bo_del_from_lru()
104 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_to_lru_tail()
180 struct ttm_device *bdev = bo->bdev; in ttm_bo_handle_move_mem()
408 struct ttm_device *bdev = bo->bdev; in ttm_bo_release()
521 struct ttm_device *bdev = bo->bdev; in ttm_bo_evict()
669 int ttm_mem_evict_first(struct ttm_device *bdev, in ttm_mem_evict_first()
783 struct ttm_device *bdev = bo->bdev; in ttm_bo_mem_force_space()
818 struct ttm_device *bdev = bo->bdev; in ttm_bo_mem_space()
1028 int ttm_bo_init(struct ttm_device *bdev, in ttm_bo_init()
[all …]
A Dttm_module.h37 struct ttm_device;
41 void ttm_sys_man_init(struct ttm_device *bdev);
A Dttm_tt.c61 struct ttm_device *bdev = bo->bdev; in ttm_tt_create()
129 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_destroy()
249 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm, in ttm_tt_swapout()
296 int ttm_tt_populate(struct ttm_device *bdev, in ttm_tt_populate()
354 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in ttm_tt_unpopulate()
A Dttm_range_manager.c141 int ttm_range_man_init_nocheck(struct ttm_device *bdev, in ttm_range_man_init_nocheck()
176 int ttm_range_man_fini_nocheck(struct ttm_device *bdev, in ttm_range_man_fini_nocheck()
A Dttm_bo_util.c50 int ttm_mem_io_reserve(struct ttm_device *bdev, in ttm_mem_io_reserve()
63 void ttm_mem_io_free(struct ttm_device *bdev, in ttm_mem_io_free()
135 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_memcpy()
522 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_pipeline_evict()
550 struct ttm_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup()
A Dttm_resource.c150 int ttm_resource_manager_evict_all(struct ttm_device *bdev, in ttm_resource_manager_evict_all()
323 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_init()
387 struct ttm_device *bdev, in ttm_kmap_iter_linear_io_fini()
A DMakefile7 ttm_device.o ttm_sys_manager.o
A Dttm_sys_manager.c34 void ttm_sys_man_init(struct ttm_device *bdev) in ttm_sys_man_init()
/linux/drivers/gpu/drm/i915/
A Di915_ttm_buddy_manager.h14 struct ttm_device;
47 int i915_ttm_buddy_man_init(struct ttm_device *bdev,
50 int i915_ttm_buddy_man_fini(struct ttm_device *bdev,
A Di915_ttm_buddy_manager.c180 int i915_ttm_buddy_man_init(struct ttm_device *bdev, in i915_ttm_buddy_man_init()
227 int i915_ttm_buddy_man_fini(struct ttm_device *bdev, unsigned int type) in i915_ttm_buddy_man_fini()
/linux/drivers/gpu/drm/radeon/
A Dradeon_ttm.c56 static int radeon_ttm_tt_bind(struct ttm_device *bdev, struct ttm_tt *ttm,
58 static void radeon_ttm_tt_unbind(struct ttm_device *bdev, struct ttm_tt *ttm);
60 struct radeon_device *radeon_get_rdev(struct ttm_device *bdev) in radeon_get_rdev()
338 static int radeon_ttm_tt_pin_userptr(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_pin_userptr()
435 static int radeon_ttm_backend_bind(struct ttm_device *bdev, in radeon_ttm_backend_bind()
542 static int radeon_ttm_tt_populate(struct ttm_device *bdev, in radeon_ttm_tt_populate()
568 static void radeon_ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
603 bool radeon_ttm_tt_is_bound(struct ttm_device *bdev, in radeon_ttm_tt_is_bound()
614 static int radeon_ttm_tt_bind(struct ttm_device *bdev, in radeon_ttm_tt_bind()
632 static void radeon_ttm_tt_unbind(struct ttm_device *bdev, in radeon_ttm_tt_unbind()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_ttm_buffer.c450 static int vmw_ttm_bind(struct ttm_device *bdev, in vmw_ttm_bind()
494 static void vmw_ttm_unbind(struct ttm_device *bdev, in vmw_ttm_unbind()
520 static void vmw_ttm_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in vmw_ttm_destroy()
534 static int vmw_ttm_populate(struct ttm_device *bdev, in vmw_ttm_populate()
564 static void vmw_ttm_unpopulate(struct ttm_device *bdev, in vmw_ttm_unpopulate()
621 static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem) in vmw_ttm_io_mem_reserve()
A Dvmwgfx_ttm_glue.c30 static struct ttm_buffer_object *vmw_bo_vm_lookup(struct ttm_device *bdev, in vmw_bo_vm_lookup()
68 struct ttm_device *bdev = &dev_priv->bdev; in vmw_mmap()
/linux/include/drm/
A Ddrm_gem_vram_helper.h184 struct ttm_device bdev;
196 struct ttm_device *bdev) in drm_vram_mm_of_bdev()
/linux/drivers/gpu/drm/qxl/
A Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_device *bdev) in qxl_get_qdev()
73 int qxl_ttm_io_mem_reserve(struct ttm_device *bdev, in qxl_ttm_io_mem_reserve()
102 static void qxl_ttm_backend_destroy(struct ttm_device *bdev, struct ttm_tt *ttm) in qxl_ttm_backend_destroy()

Completed in 35 milliseconds

12