freedreno/ir3: add more disasm stats
[mesa.git] / src / freedreno / drm / freedreno_priv.h
index 98124b72f2b3f8a20948c5e41aa053aeebcb186e..32ab54fd50c7ee067126a5c273171f29953489c1 100644 (file)
@@ -138,16 +138,6 @@ struct fd_submit {
        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);
@@ -164,6 +154,7 @@ struct fd_bo {
        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;