Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/drm/ttm/
Dttm_bo_api.h47 struct ttm_bo_device;
179 struct ttm_bo_device *bdev;
424 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev);
431 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched);
478 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev,
481 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev,
520 int ttm_bo_init_reserved(struct ttm_bo_device *bdev,
569 int ttm_bo_init(struct ttm_bo_device *bdev, struct ttm_buffer_object *bo,
595 int ttm_bo_create(struct ttm_bo_device *bdev, unsigned long size,
615 int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type,
[all …]
Dttm_bo_driver.h171 struct ttm_bo_device *bdev;
271 int (*invalidate_caches)(struct ttm_bo_device *bdev, uint32_t flags);
272 int (*init_mem_type)(struct ttm_bo_device *bdev, uint32_t type,
354 int (*io_mem_reserve)(struct ttm_bo_device *bdev,
356 void (*io_mem_free)(struct ttm_bo_device *bdev,
464 struct ttm_bo_device { struct
559 bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem);
589 int ttm_bo_device_release(struct ttm_bo_device *bdev);
606 int ttm_bo_device_init(struct ttm_bo_device *bdev,
793 int ttm_mem_io_reserve(struct ttm_bo_device *bdev,
[all …]
Dttm_tt.h106 struct ttm_bo_device *bdev;
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo.c79 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, struct drm_printer *p, in ttm_mem_type_debug()
151 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release_list()
173 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_mem_to_lru()
209 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_del_from_lru()
324 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem()
477 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_cleanup_refs_or_queue()
619 static bool ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete()
661 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue()
662 container_of(work, struct ttm_bo_device, wq.work); in ttm_bo_delayed_workqueue()
673 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release()
[all …]
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()
686 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_move_accel_cleanup()
747 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_pipeline_move()
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()
403 static struct ttm_buffer_object *ttm_bo_vm_lookup(struct ttm_bo_device *bdev, in ttm_bo_vm_lookup()
428 struct ttm_bo_device *bdev) in ttm_bo_mmap()
Dttm_tt.c48 struct ttm_bo_device *bdev = bo->bdev; in ttm_tt_create()
/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_ttm.c42 virtio_gpu_device *virtio_gpu_get_vgdev(struct ttm_bo_device *bdev) in virtio_gpu_get_vgdev()
70 static int virtio_gpu_invalidate_caches(struct ttm_bo_device *bdev, in virtio_gpu_invalidate_caches()
115 static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in virtio_gpu_init_mem_type()
159 static int virtio_gpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_reserve()
182 static void virtio_gpu_ttm_io_mem_free(struct ttm_bo_device *bdev, in virtio_gpu_ttm_io_mem_free()
Dvirtgpu_drv.h151 struct ttm_bo_device bdev;
/Linux-v5.4/include/drm/
Ddrm_vram_mm_helper.h44 struct ttm_bo_device bdev;
58 struct ttm_bo_device *bdev) in drm_vram_mm_of_bdev()
Ddrm_gem_vram_helper.h74 struct ttm_bo_device *bdev,
89 struct ttm_bo_device *bdev,
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_ttm.c41 static struct qxl_device *qxl_get_qdev(struct ttm_bo_device *bdev) in qxl_get_qdev()
92 static int qxl_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in qxl_invalidate_caches()
97 static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in qxl_init_mem_type()
162 static int qxl_ttm_io_mem_reserve(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_reserve()
195 static void qxl_ttm_io_mem_free(struct ttm_bo_device *bdev, in qxl_ttm_io_mem_free()
Dqxl_drv.h126 struct ttm_bo_device bdev;
Dqxl_release.c433 struct ttm_bo_device *bdev; in qxl_release_fence_buffer_objects()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_vram_mm_helper.c59 static int bo_driver_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in bo_driver_init_mem_type()
101 static int bo_driver_io_mem_reserve(struct ttm_bo_device *bdev, in bo_driver_io_mem_reserve()
131 static void bo_driver_io_mem_free(struct ttm_bo_device *bdev, in bo_driver_io_mem_free()
Ddrm_gem_vram_helper.c77 struct ttm_bo_device *bdev, in drm_gem_vram_init()
123 struct ttm_bo_device *bdev, in drm_gem_vram_create()
365 struct ttm_bo_device *bdev, in drm_gem_vram_fill_create_dumb()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_ttm.h6 nouveau_bdev(struct ttm_bo_device *bd) in nouveau_bdev()
Dnouveau_drv.h150 struct ttm_bo_device bdev;
Dnouveau_bo.c650 nouveau_bo_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in nouveau_bo_invalidate_caches()
657 nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in nouveau_bo_init_mem_type()
1438 nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *reg) in nouveau_ttm_io_mem_reserve()
1517 nouveau_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *reg) in nouveau_ttm_io_mem_free()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c739 static int vmw_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in vmw_invalidate_caches()
744 static int vmw_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in vmw_init_mem_type()
797 static int vmw_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_reserve()
825 static void vmw_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in vmw_ttm_io_mem_free()
Dvmwgfx_bo.c503 struct ttm_bo_device *bdev = &dev_priv->bdev; in vmw_bo_init()
1004 struct ttm_bo_device *bdev = bo->bdev; in vmw_bo_fence_single()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.h44 struct ttm_bo_device bdev;
Damdgpu_ttm.c68 static int amdgpu_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in amdgpu_invalidate_caches()
84 static int amdgpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in amdgpu_init_mem_type()
704 static int amdgpu_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in amdgpu_ttm_io_mem_reserve()
746 static void amdgpu_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in amdgpu_ttm_io_mem_free()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c59 static struct radeon_device *radeon_get_rdev(struct ttm_bo_device *bdev) in radeon_get_rdev()
69 static int radeon_invalidate_caches(struct ttm_bo_device *bdev, uint32_t flags) in radeon_invalidate_caches()
74 static int radeon_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, in radeon_init_mem_type()
402 static int radeon_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_reserve()
467 static void radeon_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in radeon_ttm_io_mem_free()
/Linux-v5.4/drivers/gpu/drm/cirrus/
Dcirrus_drv.h135 struct ttm_bo_device bdev;

12