Lines Matching defs:fd_bo
64 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
87 /* tables to keep track of bo's, to avoid "evil-twin" fd_bo objects:
89 * handle_table: maps handle to fd_bo
90 * name_table: maps flink name to fd_bo
111 drm_private struct fd_bo * fd_bo_cache_alloc(struct fd_bo_cache *cache,
113 drm_private int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo);
149 int (*offset)(struct fd_bo *bo, uint64_t *offset);
150 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
151 void (*cpu_fini)(struct fd_bo *bo);
152 int (*madvise)(struct fd_bo *bo, int willneed);
153 uint64_t (*iova)(struct fd_bo *bo);
154 void (*destroy)(struct fd_bo *bo);
157 struct fd_bo {
176 drm_private struct fd_bo *fd_bo_new_ring(struct fd_device *dev,
212 static inline void VG_BO_ALLOC(struct fd_bo *bo)
219 static inline void VG_BO_FREE(struct fd_bo *bo)
229 * Note that the list_head in fd_bo is used to track the buffers in cache
234 static inline void VG_BO_RELEASE(struct fd_bo *bo)
242 static inline void VG_BO_OBTAIN(struct fd_bo *bo)
251 static inline void VG_BO_ALLOC(struct fd_bo *bo) {}
252 static inline void VG_BO_FREE(struct fd_bo *bo) {}
253 static inline void VG_BO_RELEASE(struct fd_bo *bo) {}
254 static inline void VG_BO_OBTAIN(struct fd_bo *bo) {}