/dragonfly/sys/dev/drm/include/drm/ttm/ |
H A D | ttm_tt.h | 32 struct ttm_tt; 73 int (*unbind) (struct ttm_tt *ttm); 83 void (*destroy) (struct ttm_tt *ttm); 105 struct ttm_tt { struct 133 struct ttm_tt ttm; 175 void ttm_tt_fini(struct ttm_tt *ttm); 196 void ttm_tt_destroy(struct ttm_tt *ttm); 205 void ttm_tt_unbind(struct ttm_tt *ttm); 214 int ttm_tt_swapin(struct ttm_tt *ttm); 248 void ttm_tt_unpopulate(struct ttm_tt *ttm); [all …]
|
H A D | ttm_page_alloc.h | 50 int ttm_pool_populate(struct ttm_tt *ttm, struct ttm_operation_ctx *ctx); 59 void ttm_pool_unpopulate(struct ttm_tt *ttm);
|
H A D | ttm_bo_driver.h | 236 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);
|
H A D | ttm_bo_api.h | 124 struct ttm_tt; 194 struct ttm_tt *ttm;
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.h | 106 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 …]
|
H A D | amdgpu_ttm.c | 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() 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() 1241 static int amdgpu_ttm_tt_populate(struct ttm_tt *ttm, in amdgpu_ttm_tt_populate() 1284 static void amdgpu_ttm_tt_unpopulate(struct ttm_tt *ttm) in amdgpu_ttm_tt_unpopulate() 1410 bool amdgpu_ttm_tt_userptr_invalidated(struct ttm_tt *ttm, in amdgpu_ttm_tt_userptr_invalidated() 1437 bool amdgpu_ttm_tt_is_readonly(struct ttm_tt *ttm) in amdgpu_ttm_tt_is_readonly() [all …]
|
H A D | amdgpu_cs.c | 662 struct ttm_tt *ttm = e->robj->tbo.ttm; in amdgpu_cs_parser_bos()
|
/dragonfly/sys/dev/drm/ttm/ |
H A D | ttm_tt.c | 154 static int ttm_tt_set_caching(struct ttm_tt *ttm, in ttm_tt_set_caching() 215 void ttm_tt_destroy(struct ttm_tt *ttm) in ttm_tt_destroy() 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() 316 void ttm_tt_unbind(struct ttm_tt *ttm) in ttm_tt_unbind() 352 int ttm_tt_swapin(struct ttm_tt *ttm) in ttm_tt_swapin() 451 static void ttm_tt_add_mapping(struct ttm_tt *ttm) in ttm_tt_add_mapping() 481 static void ttm_tt_clear_mapping(struct ttm_tt *ttm) in ttm_tt_clear_mapping() [all …]
|
H A D | ttm_agp_backend.c | 45 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()
|
H A D | ttm_bo_util.c | 56 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()
|
H A D | ttm_page_alloc_dma.c | 841 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()
|
H A D | ttm_page_alloc.c | 869 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()
|
H A D | ttm_bo_vm.c | 122 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault() 511 struct ttm_tt *ttm = NULL; in ttm_bo_vm_fault_dfly()
|
H A D | ttm_bo.c | 1266 size += ttm_round_pot(sizeof(struct ttm_tt)); in ttm_bo_acc_size()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_ttm.c | 545 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 …]
|
H A D | radeon.h | 2835 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/ |
H A D | Makefile | 96 ttm_tt.c \
|
/dragonfly/sys/conf/ |
H A D | files | 2373 dev/drm/ttm/ttm_tt.c optional drm compile-with "${NORMAL_C} -include $S/dev/drm/kconfig.h ${WERRO…
|