const struct fd_submit_funcs *funcs;
};
-struct fd_ringbuffer_funcs {
- void (*grow)(struct fd_ringbuffer *ring, uint32_t size);
- void (*emit_reloc)(struct fd_ringbuffer *ring,
- const struct fd_reloc *reloc);
- uint32_t (*emit_reloc_ring)(struct fd_ringbuffer *ring,
- struct fd_ringbuffer *target, uint32_t cmd_idx);
- uint32_t (*cmd_count)(struct fd_ringbuffer *ring);
- void (*destroy)(struct fd_ringbuffer *ring);
-};
-
struct fd_bo_funcs {
int (*offset)(struct fd_bo *bo, uint64_t *offset);
int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
uint32_t handle;
uint32_t name;
int32_t refcnt;
+ uint32_t flags; /* flags like FD_RELOC_DUMP to use for relocs to this BO */
uint64_t iova;
void *map;
const struct fd_bo_funcs *funcs;