aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a3xx/fd3_emit.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-07-31 17:35:11 -0700
committerRob Clark <[email protected]>2019-08-13 08:08:07 -0700
commit4326eeac97a431d0b82fa13c5b4bcf77fd4627f9 (patch)
tree50d8668eacb7cf972f6c49c2f2daaf2f58639c16 /src/gallium/drivers/freedreno/a3xx/fd3_emit.h
parent32014afa44b0604f34a8c8694fe87740eab6e61d (diff)
freedreno/a3xx: call fd3_emit_ib() directly from fd3
No reason for the indirection when called from a3xx specific code. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/fd3_emit.h')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_emit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h
index a2270cbe18e..ece4dabadc2 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h
@@ -95,6 +95,12 @@ void fd3_emit_restore(struct fd_batch *batch, struct fd_ringbuffer *ring);
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)
{
fd_wfi(batch, ring);