Home
last modified time | relevance | path

Searched refs:lsdc_bo (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/loongson/
Dlsdc_ttm.h23 struct lsdc_bo { struct
52 static inline struct lsdc_bo *to_lsdc_bo(struct ttm_buffer_object *tbo) in to_lsdc_bo() argument
54 return container_of(tbo, struct lsdc_bo, tbo); in to_lsdc_bo()
57 static inline struct lsdc_bo *gem_to_lsdc_bo(struct drm_gem_object *gem) in gem_to_lsdc_bo()
59 return container_of(gem, struct lsdc_bo, tbo.base); in gem_to_lsdc_bo()
65 struct lsdc_bo *lsdc_bo_create(struct drm_device *ddev,
72 struct lsdc_bo *lsdc_bo_create_kernel_pinned(struct drm_device *ddev,
76 void lsdc_bo_free_kernel_pinned(struct lsdc_bo *lbo);
78 int lsdc_bo_reserve(struct lsdc_bo *lbo);
79 void lsdc_bo_unreserve(struct lsdc_bo *lbo);
[all …]
Dlsdc_benchmark.c13 typedef void (*lsdc_copy_proc_t)(struct lsdc_bo *src_bo,
14 struct lsdc_bo *dst_bo,
18 static void lsdc_copy_gtt_to_vram_cpu(struct lsdc_bo *src_bo, in lsdc_copy_gtt_to_vram_cpu()
19 struct lsdc_bo *dst_bo, in lsdc_copy_gtt_to_vram_cpu()
33 static void lsdc_copy_vram_to_gtt_cpu(struct lsdc_bo *src_bo, in lsdc_copy_vram_to_gtt_cpu()
34 struct lsdc_bo *dst_bo, in lsdc_copy_vram_to_gtt_cpu()
48 static void lsdc_copy_gtt_to_gtt_cpu(struct lsdc_bo *src_bo, in lsdc_copy_gtt_to_gtt_cpu()
49 struct lsdc_bo *dst_bo, in lsdc_copy_gtt_to_gtt_cpu()
72 struct lsdc_bo *src_bo; in lsdc_benchmark_copy()
73 struct lsdc_bo *dst_bo; in lsdc_benchmark_copy()
Dlsdc_ttm.c47 static void lsdc_bo_set_placement(struct lsdc_bo *lbo, u32 domain) in lsdc_bo_set_placement()
145 struct lsdc_bo *lbo = to_lsdc_bo(tbo); in lsdc_bo_evict_flags()
168 struct lsdc_bo *lbo = to_lsdc_bo(tbo); in lsdc_bo_move()
254 u64 lsdc_bo_gpu_offset(struct lsdc_bo *lbo) in lsdc_bo_gpu_offset()
271 size_t lsdc_bo_size(struct lsdc_bo *lbo) in lsdc_bo_size()
278 int lsdc_bo_reserve(struct lsdc_bo *lbo) in lsdc_bo_reserve()
283 void lsdc_bo_unreserve(struct lsdc_bo *lbo) in lsdc_bo_unreserve()
288 int lsdc_bo_pin(struct lsdc_bo *lbo, u32 domain, u64 *gpu_addr) in lsdc_bo_pin()
324 void lsdc_bo_unpin(struct lsdc_bo *lbo) in lsdc_bo_unpin()
344 void lsdc_bo_ref(struct lsdc_bo *lbo) in lsdc_bo_ref()
[all …]
Dlsdc_gem.c19 struct lsdc_bo *lbo = gem_to_lsdc_bo(obj); in lsdc_gem_prime_pin()
37 struct lsdc_bo *lbo = gem_to_lsdc_bo(obj); in lsdc_gem_prime_unpin()
75 struct lsdc_bo *lbo = to_lsdc_bo(tbo); in lsdc_gem_object_vmap()
107 struct lsdc_bo *lbo = to_lsdc_bo(tbo); in lsdc_gem_object_vunmap()
158 struct lsdc_bo *lbo; in lsdc_gem_object_create()
191 struct lsdc_bo *lbo; in lsdc_prime_import_sg_table()
287 struct lsdc_bo *lbo; in lsdc_show_buffer_object()
Dlsdc_plane.c45 struct lsdc_bo *lbo = gem_to_lsdc_bo(fb->obj[0]); in lsdc_fb_base_addr()
104 struct lsdc_bo *lbo; in lsdc_plane_prepare_fb()
142 struct lsdc_bo *lbo; in lsdc_plane_cleanup_fb()
Dlsdc_drv.c333 struct lsdc_bo *lbo; in lsdc_drm_freeze()