Lines Matching refs:lsdc_bo
23 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);
81 int lsdc_bo_pin(struct lsdc_bo *lbo, u32 domain, u64 *gpu_addr);
82 void lsdc_bo_unpin(struct lsdc_bo *lbo);
84 void lsdc_bo_ref(struct lsdc_bo *lbo);
85 void lsdc_bo_unref(struct lsdc_bo *lbo);
87 u64 lsdc_bo_gpu_offset(struct lsdc_bo *lbo);
88 size_t lsdc_bo_size(struct lsdc_bo *lbo);
90 int lsdc_bo_kmap(struct lsdc_bo *lbo);
91 void lsdc_bo_kunmap(struct lsdc_bo *lbo);
92 void lsdc_bo_clear(struct lsdc_bo *lbo);