freedreno/a4xx: call fd4_emit_ib() directly from fd4
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
4326eeac97
commit
50e15e1c6f
|
@ -912,12 +912,6 @@ fd4_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring)
|
|||
fd_hw_query_enable(batch, ring);
|
||||
}
|
||||
|
||||
static void
|
||||
fd4_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target)
|
||||
{
|
||||
__OUT_IB(ring, true, target);
|
||||
}
|
||||
|
||||
static void
|
||||
fd4_mem_to_mem(struct fd_ringbuffer *ring, struct pipe_resource *dst,
|
||||
unsigned dst_off, struct pipe_resource *src, unsigned src_off,
|
||||
|
|
|
@ -103,4 +103,10 @@ void fd4_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
|
|||
|
||||
void fd4_emit_init(struct pipe_context *pctx);
|
||||
|
||||
static inline void
|
||||
fd4_emit_ib(struct fd_ringbuffer *ring, struct fd_ringbuffer *target)
|
||||
{
|
||||
__OUT_IB(ring, true, target);
|
||||
}
|
||||
|
||||
#endif /* FD4_EMIT_H */
|
||||
|
|
|
@ -639,7 +639,7 @@ emit_binning_pass(struct fd_batch *batch)
|
|||
}
|
||||
|
||||
/* emit IB to binning drawcmds: */
|
||||
ctx->emit_ib(ring, batch->binning);
|
||||
fd4_emit_ib(ring, batch->binning);
|
||||
|
||||
fd_reset_wfi(batch);
|
||||
fd_wfi(batch, ring);
|
||||
|
|
Loading…
Reference in New Issue