Home
last modified time | relevance | path

Searched refs:ttm_tt (Results 1 – 18 of 18) sorted by relevance

/dragonfly/sys/dev/drm/include/drm/ttm/
HDttm_tt.h32 struct ttm_tt;
63 int (*bind) (struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem);
73 int (*unbind) (struct ttm_tt *ttm);
83 void (*destroy) (struct ttm_tt *ttm);
105 struct ttm_tt { struct
133 struct ttm_tt ttm;
161 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
175 void ttm_tt_fini(struct ttm_tt *ttm);
186 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem,
196 void ttm_tt_destroy(struct ttm_tt *ttm);
[all …]
HDttm_page_alloc.h50 int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
59 void ttm_pool_unpopulate(struct ttm_tt *ttm);
HDttm_bo_driver.h236 struct ttm_tt *(*ttm_tt_create)(struct ttm_buffer_object *bo,
248 int (*ttm_tt_populate)(struct ttm_tt *ttm,
258 void (*ttm_tt_unpopulate)(struct ttm_tt *ttm);
HDttm_bo_api.h124 struct ttm_tt;
194 struct ttm_tt *ttm;
/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu_ttm.h106 int amdgpu_ttm_tt_get_user_pages(struct ttm_tt *ttm, struct page **pages);
107 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages);
108 void amdgpu_ttm_tt_mark_user_pages(struct ttm_tt *ttm);
109 int amdgpu_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr,
111 bool amdgpu_ttm_tt_has_userptr(struct ttm_tt *ttm);
112 struct mm_struct *amdgpu_ttm_tt_get_usermm(struct ttm_tt *ttm);
113 bool amdgpu_ttm_tt_affect_userptr(struct ttm_tt *ttm, unsigned long start,
115 bool amdgpu_ttm_tt_userptr_invalidated(struct ttm_tt *ttm,
117 bool amdgpu_ttm_tt_userptr_needs_pages(struct ttm_tt *ttm);
118 bool amdgpu_ttm_tt_is_readonly(struct ttm_tt *ttm);
[all …]
HDamdgpu_ttm.c810 int amdgpu_ttm_tt_get_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_get_user_pages()
893 void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) in amdgpu_ttm_tt_set_user_pages()
912 void amdgpu_ttm_tt_mark_user_pages(struct ttm_tt *ttm) in amdgpu_ttm_tt_mark_user_pages()
935 static int amdgpu_ttm_tt_pin_userptr(struct ttm_tt *ttm) in amdgpu_ttm_tt_pin_userptr()
974 static void amdgpu_ttm_tt_unpin_userptr(struct ttm_tt *ttm) in amdgpu_ttm_tt_unpin_userptr()
1004 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind()
1044 static int amdgpu_ttm_backend_bind(struct ttm_tt *ttm, in amdgpu_ttm_backend_bind()
1168 static int amdgpu_ttm_backend_unbind(struct ttm_tt *ttm) in amdgpu_ttm_backend_unbind()
1189 static void amdgpu_ttm_backend_destroy(struct ttm_tt *ttm) in amdgpu_ttm_backend_destroy()
1213 static struct ttm_tt *amdgpu_ttm_tt_create(struct ttm_buffer_object *bo, in amdgpu_ttm_tt_create()
[all …]
HDamdgpu_cs.c662 struct ttm_tt *ttm = e->robj->tbo.ttm; in amdgpu_cs_parser_bos()
/dragonfly/sys/dev/drm/ttm/
HDttm_tt.c90 static int ttm_tt_alloc_page_directory(struct ttm_tt *ttm) in ttm_tt_alloc_page_directory()
154 static int ttm_tt_set_caching(struct ttm_tt *ttm, in ttm_tt_set_caching()
200 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement) in ttm_tt_set_placement_caching()
215 void ttm_tt_destroy(struct ttm_tt *ttm) in ttm_tt_destroy()
234 void ttm_tt_init_fields(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init_fields()
246 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo, in ttm_tt_init()
259 void ttm_tt_fini(struct ttm_tt *ttm) in ttm_tt_fini()
269 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_tt_init()
285 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_sg_tt_init()
305 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_tt_fini()
[all …]
HDttm_agp_backend.c45 struct ttm_tt ttm;
50 static int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in ttm_agp_bind()
84 static int ttm_agp_unbind(struct ttm_tt *ttm) in ttm_agp_unbind()
97 static void ttm_agp_destroy(struct ttm_tt *ttm) in ttm_agp_destroy()
113 struct ttm_tt *ttm_agp_tt_create(struct ttm_buffer_object *bo, in ttm_agp_tt_create()
136 int ttm_agp_tt_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_agp_tt_populate()
145 void ttm_agp_tt_unpopulate(struct ttm_tt *ttm) in ttm_agp_tt_unpopulate()
HDttm_bo_util.c56 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_ttm()
263 static int ttm_copy_io_ttm_page(struct ttm_tt *ttm, void *src, in ttm_copy_io_ttm_page()
300 static int ttm_copy_ttm_io_page(struct ttm_tt *ttm, void *dst, in ttm_copy_ttm_io_page()
342 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_memcpy()
567 struct ttm_tt *ttm = bo->ttm; in ttm_bo_kmap_ttm()
HDttm_page_alloc_dma.c841 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_get_pages()
861 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_pool_gfp_flags()
891 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_populate()
996 struct ttm_tt *ttm = &ttm_dma->ttm; in ttm_dma_unpopulate()
HDttm_page_alloc.c869 ttm_pool_unpopulate_helper(struct ttm_tt *ttm, unsigned mem_count_update) in ttm_pool_unpopulate_helper()
890 int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_pool_populate()
931 void ttm_pool_unpopulate(struct ttm_tt *ttm) in ttm_pool_unpopulate()
HDttm_bo_vm.c122 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault()
511 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_dfly()
HDttm_bo.c1266 size += ttm_round_pot(sizeof(struct ttm_tt)); in ttm_bo_acc_size()
/dragonfly/sys/dev/drm/radeon/
HDradeon_ttm.c545 static int radeon_ttm_tt_pin_userptr(struct ttm_tt *ttm)
607 static void radeon_ttm_tt_unpin_userptr(struct ttm_tt *ttm)
637 static int radeon_ttm_backend_bind(struct ttm_tt *ttm, in radeon_ttm_backend_bind()
669 static int radeon_ttm_backend_unbind(struct ttm_tt *ttm) in radeon_ttm_backend_unbind()
682 static void radeon_ttm_backend_destroy(struct ttm_tt *ttm) in radeon_ttm_backend_destroy()
696 static struct ttm_tt *radeon_ttm_tt_create(struct ttm_buffer_object *bo, in radeon_ttm_tt_create()
723 static struct radeon_ttm_tt *radeon_ttm_tt_to_gtt(struct ttm_tt *ttm) in radeon_ttm_tt_to_gtt()
730 static int radeon_ttm_tt_populate(struct ttm_tt *ttm, in radeon_ttm_tt_populate()
806 static void radeon_ttm_tt_unpopulate(struct ttm_tt *ttm) in radeon_ttm_tt_unpopulate()
852 bool radeon_ttm_tt_has_userptr(struct ttm_tt *ttm) in radeon_ttm_tt_has_userptr()
[all …]
HDradeon.h2835 extern int radeon_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr,
2837 extern bool radeon_ttm_tt_has_userptr(struct ttm_tt *ttm);
2838 extern bool radeon_ttm_tt_is_readonly(struct ttm_tt *ttm);
/dragonfly/sys/dev/drm/drm/
HDMakefile96 ttm_tt.c \
/dragonfly/sys/conf/
HDfiles2373 dev/drm/ttm/ttm_tt.c optional drm compile-with "${NORMAL_C} -include $…