Home
last modified time | relevance | path

Searched refs:ttm_bo_device (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v4.19/include/drm/ttm/
Dttm_bo_api.h46 struct ttm_bo_device;
174 struct ttm_bo_device *bdev;
422 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
429 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched);
476 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
479 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
518 int ttm_bo_init_reserved(struct ttm_bo_device *bdev,
567 int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
593 int ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size,
613 int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
[all …]
Dttm_bo_driver.h172 struct ttm_bo_device *bdev;
272 int (*invalidate_caches)(struct ttm_bo_device *bdev, uint32_t flags);
273 int (*init_mem_type)(struct ttm_bo_device *bdev, uint32_t type,
355 int (*io_mem_reserve)(struct ttm_bo_device *bdev,
357 void (*io_mem_free)(struct ttm_bo_device *bdev,
456 struct ttm_bo_device { struct
523 bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
556 int ttm_bo_device_release(struct ttm_bo_device *bdev);
573 int ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob,
759 int ttm_mem_io_reserve(struct ttm_bo_device *bdev,
[all …]
Dttm_tt.h106 struct ttm_bo_device *bdev;
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_bo.c72 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) in ttm_mem_type_debug()
143 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release_list()
163 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_to_lru()
230 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem()
383 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_cleanup_refs_or_queue()
525 static bool ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete()
567 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue()
568 container_of(work, struct ttm_bo_device, wq.work); in ttm_bo_delayed_workqueue()
579 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release()
605 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) in ttm_bo_lock_delayed_workqueue()
[all …]
Dttm_bo_vm.c100 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_io_mem_pfn()
114 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_vm_fault()
400 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup()
425 struct ttm_bo_device *bdev) in ttm_bo_mmap()
Dttm_bo_util.c133 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, in ttm_mem_io_reserve()
158 void ttm_mem_io_free(struct ttm_bo_device *bdev, in ttm_mem_io_free()
205 static int ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_ioremap()
237 static void ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_iounmap()
360 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_memcpy()
687 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup()
748 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_pipeline_move()
Dttm_execbuf_util.c189 struct ttm_bo_device *bdev; in ttm_eu_fence_buffer_objects()
/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c43 virtio_gpu_device *virtio_gpu_get_vgdev(struct ttm_bo_device *bdev) in virtio_gpu_get_vgdev()
161 static int virtio_gpu_invalidate_caches(struct ttm_bo_device *bdev, in virtio_gpu_invalidate_caches()
206 static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in virtio_gpu_init_mem_type()
254 static int virtio_gpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_reserve()
277 static void virtio_gpu_ttm_io_mem_free(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_free()
/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_ttm.c33 static inline struct vbox_private *vbox_bdev(struct ttm_bo_device *bd) in vbox_bdev()
112 vbox_bo_init_mem_type(struct ttm_bo_device *bdev, u32 type, in vbox_bo_init_mem_type()
153 static int vbox_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in vbox_ttm_io_mem_reserve()
181 static void vbox_ttm_io_mem_free(struct ttm_bo_device *bdev, in vbox_ttm_io_mem_free()
228 struct ttm_bo_device *bdev = &vbox->ttm.bdev; in vbox_mm_init()
Dvbox_drv.h100 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c34 mgag200_bdev(struct ttm_bo_device *bd) in mgag200_bdev()
114 mgag200_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in mgag200_bo_init_mem_type()
158 static int mgag200_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in mgag200_ttm_io_mem_reserve()
187 static void mgag200_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in mgag200_ttm_io_mem_free()
233 struct ttm_bo_device *bdev = &mdev->ttm.bdev; in mgag200_mm_init()
Dmgag200_drv.h217 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_ttm.c34 ast_bdev(struct ttm_bo_device *bd) in ast_bdev()
114 ast_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in ast_bo_init_mem_type()
158 static int ast_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in ast_ttm_io_mem_reserve()
187 static void ast_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in ast_ttm_io_mem_free()
233 struct ttm_bo_device *bdev = &ast->ttm.bdev; in ast_mm_init()
/Linux-v4.19/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c34 cirrus_bdev(struct ttm_bo_device *bd) in cirrus_bdev()
114 cirrus_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in cirrus_bo_init_mem_type()
158 static int cirrus_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in cirrus_ttm_io_mem_reserve()
187 static void cirrus_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in cirrus_ttm_io_mem_free()
233 struct ttm_bo_device *bdev = &cirrus->ttm.bdev; in cirrus_mm_init()
Dcirrus_drv.h141 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_ttm.c39 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) in qxl_get_qdev()
151 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in qxl_invalidate_caches()
156 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in qxl_init_mem_type()
213 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_reserve()
246 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_free()
/Linux-v4.19/drivers/gpu/drm/bochs/
Dbochs_mm.c14 static inline struct bochs_device *bochs_bdev(struct ttm_bo_device *bd) in bochs_bdev()
90 static int bochs_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in bochs_bo_init_mem_type()
135 static int bochs_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in bochs_ttm_io_mem_reserve()
164 static void bochs_ttm_io_mem_free(struct ttm_bo_device *bdev, in bochs_ttm_io_mem_free()
208 struct ttm_bo_device *bdev = &bochs->ttm.bdev; in bochs_mm_init()
Dbochs.h85 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_ttm.h6 nouveau_bdev(struct ttm_bo_device *bd) in nouveau_bdev()
Dnouveau_drv.h151 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_ttm.c27 hibmc_bdev(struct ttm_bo_device *bd) in hibmc_bdev()
95 hibmc_bo_init_mem_type(struct ttm_bo_device *bdev, u32 type, in hibmc_bo_init_mem_type()
165 static int hibmc_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in hibmc_ttm_io_mem_reserve()
238 struct ttm_bo_device *bdev = &hibmc->bdev; in hibmc_mm_init()
Dhibmc_drm_drv.h55 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c746 static int vmw_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in vmw_invalidate_caches()
751 static int vmw_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in vmw_init_mem_type()
804 static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_reserve()
832 static void vmw_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_free()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.h44 struct ttm_bo_device bdev;
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_ttm.c53 static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) in radeon_get_rdev()
122 static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in radeon_invalidate_caches()
127 static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in radeon_init_mem_type()
459 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_reserve()
524 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_free()

12