No reason for the indirection when called from a3xx specific code.
Signed-off-by: Rob Clark <robdclark@chromium.org>
fd_hw_query_enable(batch, ring);
}
-static void
-fd3_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target)
-{
- __OUT_IB(ring, true, target);
-}
-
void
fd3_emit_init(struct pipe_context *pctx)
{
void fd3_emit_init(struct pipe_context *pctx);
+static inline void
+fd3_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target)
+{
+ __OUT_IB(ring, true, target);
+}
+
static inline void
fd3_emit_cache_flush(struct fd_batch *batch, struct fd_ringbuffer *ring)
{
A3XX_PC_VSTREAM_CONTROL_N(0));
/* emit IB to binning drawcmds: */
- ctx->emit_ib(ring, batch->binning);
+ fd3_emit_ib(ring, batch->binning);
fd_reset_wfi(batch);
fd_wfi(batch, ring);