Home
last modified time | relevance | path

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

123

/openbmc/linux/include/drm/ttm/
H A 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 …]
H A 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 …]
H A Dttm_device.h151 struct ttm_resource *new_mem,
171 struct ttm_resource *mem);
173 struct ttm_resource *mem);
H A Dttm_range_manager.h20 struct ttm_resource base;
32 to_ttm_range_mgr_node(struct ttm_resource *res) in to_ttm_range_mgr_node()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A 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 *);
H A 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 *);
H A 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()
H A 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()
H A Dnouveau_bo74c1.c37 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nv84_bo_move_exec()
H A 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()
H A Dnouveau_bo90b5.c34 struct ttm_resource *old_reg, struct ttm_resource *new_reg) in nvc0_bo_move_copy()
/openbmc/linux/drivers/gpu/drm/ttm/
H A 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 …]
H A 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()
314 struct ttm_resource *mem = bo->resource; in ttm_bo_ioremap()
340 struct ttm_resource *mem = bo->resource; in ttm_bo_kmap_ttm()
471 struct ttm_resource *mem = bo->resource; in ttm_bo_vmap()
540 struct ttm_resource *mem = bo->resource; in ttm_bo_vunmap()
655 struct ttm_resource *new_mem) in ttm_bo_move_accel_cleanup()
[all …]
H A 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()
H A Dttm_sys_manager.c13 struct ttm_resource **res) in ttm_sys_man_alloc()
24 struct ttm_resource *res) in ttm_sys_man_free()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_region_ttm.h14 struct ttm_resource;
27 struct ttm_resource *res,
31 struct ttm_resource *res);
38 struct ttm_resource *
H A 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()
H A Di915_ttm_buddy_manager.h32 struct ttm_resource base;
47 to_ttm_buddy_resource(struct ttm_resource *res) in to_ttm_buddy_resource()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A 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);
H A Di915_gem_ttm_move.h15 struct ttm_resource;
35 struct ttm_resource *dst_mem,
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.h110 struct ttm_resource *mem;
121 bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *mem);
128 struct ttm_resource *mem,
143 struct ttm_resource *res);
209 uint64_t amdgpu_ttm_tt_pde_flags(struct ttm_tt *ttm, struct ttm_resource *mem);
211 struct ttm_resource *mem);
H A 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()
H A Damdgpu_vram_mgr.h41 struct ttm_resource base;
57 to_amdgpu_vram_mgr_resource(struct ttm_resource *res) in to_amdgpu_vram_mgr_resource()
H A Damdgpu_vram_mgr.c251 struct ttm_resource *res = bo->tbo.resource; in amdgpu_vram_mgr_bo_visible_size()
380 struct ttm_resource *res, in amdgpu_dummy_vram_mgr_compatible()
389 struct ttm_resource *res, in amdgpu_dummy_vram_mgr_intersects()
398 struct ttm_resource *res) in amdgpu_dummy_vram_mgr_del()
406 struct ttm_resource **res) in amdgpu_dummy_vram_mgr_new()
425 struct ttm_resource **res) in amdgpu_vram_mgr_new()
616 struct ttm_resource *res) in amdgpu_vram_mgr_del()
654 struct ttm_resource *res, in amdgpu_vram_mgr_alloc_sgt()
774 struct ttm_resource *res, in amdgpu_vram_mgr_intersects()
807 struct ttm_resource *res, in amdgpu_vram_mgr_compatible()
/openbmc/linux/drivers/gpu/drm/qxl/
H A 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