Home
last modified time | relevance | path

Searched refs:ttm_resource (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.6.21/include/drm/ttm/
Dttm_resource.h43 struct ttm_resource;
77 struct ttm_resource **res);
89 struct ttm_resource *res);
103 struct ttm_resource *res,
119 struct ttm_resource *res,
209 struct ttm_resource { struct
243 struct ttm_resource *first; argument
244 struct ttm_resource *last;
348 void ttm_resource_add_bulk_move(struct ttm_resource *res,
350 void ttm_resource_del_bulk_move(struct ttm_resource *res,
[all …]
Dttm_bo.h50 struct ttm_resource;
117 struct ttm_resource *resource;
299 struct ttm_resource *new_mem) in ttm_bo_assign_mem()
313 struct ttm_resource *new_mem) in ttm_bo_move_null()
399 struct ttm_resource **mem,
407 struct ttm_resource *mem);
409 struct ttm_resource *mem);
415 struct ttm_resource *new_mem);
419 struct ttm_resource *new_mem);
421 struct ttm_resource *new_mem);
[all …]
Dttm_device.h151 struct ttm_resource *new_mem,
171 struct ttm_resource *mem);
173 struct ttm_resource *mem);
Dttm_range_manager.h20 struct ttm_resource base;
32 to_ttm_range_mgr_node(struct ttm_resource *res) in to_ttm_range_mgr_node()
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_mem.h10 struct ttm_resource base;
19 nouveau_mem(struct ttm_resource *reg) in nouveau_mem()
25 struct ttm_resource **);
27 struct ttm_resource *);
28 bool nouveau_mem_intersects(struct ttm_resource *res,
31 bool nouveau_mem_compatible(struct ttm_resource *res,
34 int nouveau_mem_vram(struct ttm_resource *, bool contig, u8 page);
35 int nouveau_mem_host(struct ttm_resource *, struct ttm_tt *);
Dnouveau_bo.h143 struct ttm_resource *, struct ttm_resource *);
147 struct ttm_resource *, struct ttm_resource *);
150 struct ttm_resource *, struct ttm_resource *);
153 struct ttm_resource *, struct ttm_resource *);
157 struct ttm_resource *, struct ttm_resource *);
160 struct ttm_resource *, struct ttm_resource *);
164 struct ttm_resource *, struct ttm_resource *);
Dnouveau_mem.c89 nouveau_mem_host(struct ttm_resource *reg, struct ttm_tt *tt) in nouveau_mem_host()
126 nouveau_mem_vram(struct ttm_resource *reg, bool contig, u8 page) in nouveau_mem_vram()
166 nouveau_mem_del(struct ttm_resource_manager *man, struct ttm_resource *reg) in nouveau_mem_del()
177 struct ttm_resource **res) in nouveau_mem_new()
193 nouveau_mem_intersects(struct ttm_resource *res, in nouveau_mem_intersects()
208 nouveau_mem_compatible(struct ttm_resource *res, in nouveau_mem_compatible()
Dnouveau_bo0039.c39 struct nouveau_channel *chan, struct ttm_resource *reg) in nouveau_bo_mem_ctxdma()
48 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv04_bo_move_m2mf()
Dnouveau_bo74c1.c37 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv84_bo_move_exec()
Dnouveau_ttm.c40 struct ttm_resource *reg) in nouveau_manager_del()
47 struct ttm_resource *res, in nouveau_manager_intersects()
56 struct ttm_resource *res, in nouveau_manager_compatible()
67 struct ttm_resource **res) in nouveau_vram_manager_new()
102 struct ttm_resource **res) in nouveau_gart_manager_new()
128 struct ttm_resource **res) in nv04_gart_manager_new()
Dnouveau_bo85b5.c41 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nva3_bo_move_copy()
Dnouveau_bo90b5.c34 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_copy()
/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_resource.c79 ttm_lru_bulk_move_pos(struct ttm_lru_bulk_move *bulk, struct ttm_resource *res) in ttm_lru_bulk_move_pos()
86 struct ttm_resource *res) in ttm_lru_bulk_move_pos_tail()
98 struct ttm_resource *res) in ttm_lru_bulk_move_add()
112 struct ttm_resource *res) in ttm_lru_bulk_move_del()
130 void ttm_resource_add_bulk_move(struct ttm_resource *res, in ttm_resource_add_bulk_move()
138 void ttm_resource_del_bulk_move(struct ttm_resource *res, in ttm_resource_del_bulk_move()
146 void ttm_resource_move_to_lru_tail(struct ttm_resource *res) in ttm_resource_move_to_lru_tail()
179 struct ttm_resource *res) in ttm_resource_init()
215 struct ttm_resource *res) in ttm_resource_fini()
228 struct ttm_resource **res_ptr) in ttm_resource_alloc()
[all …]
Dttm_bo_util.c46 struct ttm_resource *mem) in ttm_mem_io_reserve()
59 struct ttm_resource *mem) in ttm_mem_io_free()
144 struct ttm_resource *dst_mem) in ttm_bo_move_memcpy()
150 struct ttm_resource *src_mem = bo->resource; in ttm_bo_move_memcpy()
290 pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res, in ttm_io_prot()
308 struct ttm_resource *mem = bo->resource; in ttm_bo_ioremap()
334 struct ttm_resource *mem = bo->resource; in ttm_bo_kmap_ttm()
462 struct ttm_resource *mem = bo->resource; in ttm_bo_vmap()
531 struct ttm_resource *mem = bo->resource; in ttm_bo_vunmap()
646 struct ttm_resource *new_mem) in ttm_bo_move_accel_cleanup()
[all …]
Dttm_range_manager.c61 struct ttm_resource **res) in ttm_range_man_alloc()
103 struct ttm_resource *res) in ttm_range_man_free()
117 struct ttm_resource *res, in ttm_range_man_intersects()
133 struct ttm_resource *res, in ttm_range_man_compatible()
Dttm_sys_manager.c13 struct ttm_resource **res) in ttm_sys_man_alloc()
24 struct ttm_resource *res) in ttm_sys_man_free()
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_region_ttm.h14 struct ttm_resource;
27 struct ttm_resource *res,
31 struct ttm_resource *res);
38 struct ttm_resource *
Dintel_region_ttm.c164 struct ttm_resource *res, in intel_region_ttm_resource_to_rsgt()
197 struct ttm_resource *
206 struct ttm_resource *res; in intel_region_ttm_resource_alloc()
256 struct ttm_resource *res) in intel_region_ttm_resource_free()
Di915_ttm_buddy_manager.h32 struct ttm_resource base;
47 to_ttm_buddy_resource(struct ttm_resource *res) in to_ttm_buddy_resource()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_ttm.h75 struct ttm_resource *res);
88 static inline bool i915_ttm_gtt_binds_lmem(struct ttm_resource *mem) in i915_ttm_gtt_binds_lmem()
99 static inline bool i915_ttm_cpu_maps_iomem(struct ttm_resource *mem) in i915_ttm_cpu_maps_iomem()
105 bool i915_ttm_resource_mappable(struct ttm_resource *res);
Di915_gem_ttm_move.h15 struct ttm_resource;
35 struct ttm_resource *dst_mem,
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.h110 struct ttm_resource *mem;
121 bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *mem);
128 struct ttm_resource *mem,
206 uint64_t amdgpu_ttm_tt_pde_flags(struct ttm_tt *ttm, struct ttm_resource *mem);
208 struct ttm_resource *mem);
Damdgpu_gtt_mgr.c96 bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *res) in amdgpu_gtt_mgr_has_gart_addr()
116 struct ttm_resource **res) in amdgpu_gtt_mgr_new()
169 struct ttm_resource *res) in amdgpu_gtt_mgr_del()
218 struct ttm_resource *res, in amdgpu_gtt_mgr_intersects()
236 struct ttm_resource *res, in amdgpu_gtt_mgr_compatible()
Damdgpu_vram_mgr.h41 struct ttm_resource base;
57 to_amdgpu_vram_mgr_resource(struct ttm_resource *res) in to_amdgpu_vram_mgr_resource()
/linux-6.6.21/drivers/gpu/drm/qxl/
Dqxl_ttm.c74 struct ttm_resource *mem) in qxl_ttm_io_mem_reserve()
124 struct ttm_resource *new_mem) in qxl_bo_move_notify()
140 struct ttm_resource *new_mem, in qxl_bo_move()
143 struct ttm_resource *old_mem = bo->resource; in qxl_bo_move()

123