Home
last modified time | relevance | path

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

/linux-4.1.27/include/drm/ttm/
Dttm_bo_api.h44 struct ttm_bo_device;
201 struct ttm_bo_device *bdev;
394 extern int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
401 extern void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev,
439 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
442 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
481 extern int ttm_bo_init(struct ttm_bo_device *bdev,
519 extern int ttm_bo_create(struct ttm_bo_device *bdev,
544 extern int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
573 extern int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type);
[all …]
Dttm_bo_driver.h115 struct ttm_bo_device *bdev;
271 struct ttm_bo_device *bdev;
331 struct ttm_tt *(*ttm_tt_create)(struct ttm_bo_device *bdev,
368 int (*invalidate_caches) (struct ttm_bo_device *bdev, uint32_t flags);
369 int (*init_mem_type) (struct ttm_bo_device *bdev, uint32_t type,
435 int (*io_mem_reserve)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
436 void (*io_mem_free)(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
512 struct ttm_bo_device { struct
579 extern int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
582 extern int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
[all …]
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_bo.c70 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) in ttm_mem_type_debug()
140 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release_list()
166 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_to_lru()
236 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_ttm()
281 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem()
428 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_cleanup_refs_or_queue()
554 static int ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete()
612 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue()
613 container_of(work, struct ttm_bo_device, wq.work); in ttm_bo_delayed_workqueue()
625 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release()
[all …]
Dttm_bo_util.c119 int ttm_mem_io_reserve(struct ttm_bo_device *bdev, in ttm_mem_io_reserve()
144 void ttm_mem_io_free(struct ttm_bo_device *bdev, in ttm_mem_io_free()
191 static int ttm_mem_reg_ioremap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_ioremap()
223 static void ttm_mem_reg_iounmap(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem, in ttm_mem_reg_iounmap()
327 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_memcpy()
639 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup()
Dttm_bo_vm.c90 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_vm_fault()
284 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup()
309 struct ttm_bo_device *bdev) in ttm_bo_mmap()
Dttm_tt.c187 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev, in ttm_tt_init()
217 int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev, in ttm_dma_tt_init()
Dttm_agp_backend.c113 struct ttm_tt *ttm_agp_tt_create(struct ttm_bo_device *bdev, in ttm_agp_tt_create()
Dttm_execbuf_util.c188 struct ttm_bo_device *bdev; in ttm_eu_fence_buffer_objects()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_ttm.h5 nouveau_bdev(struct ttm_bo_device *bd) in nouveau_bdev()
14 struct ttm_tt *nouveau_sgdma_create_ttm(struct ttm_bo_device *,
Dnouveau_sgdma.c92 nouveau_sgdma_create_ttm(struct ttm_bo_device *bdev, in nouveau_sgdma_create_ttm()
Dnouveau_drm.h125 struct ttm_bo_device bdev;
Dnouveau_bo.c579 nouveau_ttm_tt_create(struct ttm_bo_device *bdev, unsigned long size, in nouveau_ttm_tt_create()
596 nouveau_bo_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in nouveau_bo_invalidate_caches()
603 nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in nouveau_bo_init_mem_type()
1355 nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in nouveau_ttm_io_mem_reserve()
1407 nouveau_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in nouveau_ttm_io_mem_free()
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_ttm.c33 cirrus_bdev(struct ttm_bo_device *bd) in cirrus_bdev()
113 cirrus_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in cirrus_bo_init_mem_type()
156 static int cirrus_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in cirrus_ttm_io_mem_reserve()
185 static void cirrus_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in cirrus_ttm_io_mem_free()
211 static struct ttm_tt *cirrus_ttm_tt_create(struct ttm_bo_device *bdev, in cirrus_ttm_tt_create()
254 struct ttm_bo_device *bdev = &cirrus->ttm.bdev; in cirrus_mm_init()
Dcirrus_drv.h147 struct ttm_bo_device bdev;
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_ttm.c33 mgag200_bdev(struct ttm_bo_device *bd) in mgag200_bdev()
113 mgag200_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in mgag200_bo_init_mem_type()
156 static int mgag200_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in mgag200_ttm_io_mem_reserve()
185 static void mgag200_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in mgag200_ttm_io_mem_free()
211 static struct ttm_tt *mgag200_ttm_tt_create(struct ttm_bo_device *bdev, in mgag200_ttm_tt_create()
254 struct ttm_bo_device *bdev = &mdev->ttm.bdev; in mgag200_mm_init()
Dmgag200_drv.h214 struct ttm_bo_device bdev;
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_ttm.c33 ast_bdev(struct ttm_bo_device *bd) in ast_bdev()
113 ast_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in ast_bo_init_mem_type()
156 static int ast_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in ast_ttm_io_mem_reserve()
185 static void ast_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in ast_ttm_io_mem_free()
211 static struct ttm_tt *ast_ttm_tt_create(struct ttm_bo_device *bdev, in ast_ttm_tt_create()
254 struct ttm_bo_device *bdev = &ast->ttm.bdev; in ast_mm_init()
Dast_drv.h106 struct ttm_bo_device bdev;
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) in qxl_get_qdev()
155 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in qxl_invalidate_caches()
160 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in qxl_init_mem_type()
216 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_reserve()
249 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_free()
316 static struct ttm_tt *qxl_ttm_tt_create(struct ttm_bo_device *bdev, in qxl_ttm_tt_create()
Dqxl_release.c437 struct ttm_bo_device *bdev; in qxl_release_fence_buffer_objects()
Dqxl_drv.h162 struct ttm_bo_device bdev;
/linux-4.1.27/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()
134 static int bochs_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in bochs_ttm_io_mem_reserve()
163 static void bochs_ttm_io_mem_free(struct ttm_bo_device *bdev, in bochs_ttm_io_mem_free()
187 static struct ttm_tt *bochs_ttm_tt_create(struct ttm_bo_device *bdev, in bochs_ttm_tt_create()
219 struct ttm_bo_device *bdev = &bochs->ttm.bdev; in bochs_mm_init()
Dbochs.h84 struct ttm_bo_device bdev;
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c679 static struct ttm_tt *vmw_ttm_tt_create(struct ttm_bo_device *bdev, in vmw_ttm_tt_create()
709 static int vmw_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in vmw_invalidate_caches()
714 static int vmw_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in vmw_init_mem_type()
767 static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_reserve()
795 static void vmw_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_free()
Dvmwgfx_resource.c418 struct ttm_bo_device *bdev = &dev_priv->bdev; in vmw_dmabuf_init()
1443 struct ttm_bo_device *bdev = bo->bdev; in vmw_fence_single_bo()
Dvmwgfx_drv.h374 struct ttm_bo_device bdev;
/linux-4.1.27/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()
449 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_reserve()
512 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_free()
677 static struct ttm_tt *radeon_ttm_tt_create(struct ttm_bo_device *bdev, in radeon_ttm_tt_create()
Dradeon.h447 struct ttm_bo_device bdev;