summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_batch.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-11-08 10:50:03 -0500
committerRob Clark <[email protected]>2016-11-30 12:35:49 -0500
commit946cf4eb6846767306a221eec7d0f82d20dfb6b5 (patch)
treebb35f2837a125ed66736c7ff96be954685891b09 /src/gallium/drivers/freedreno/freedreno_batch.h
parentfcba3046e1b90ecec6f5f4ad5397cd36e0c740ac (diff)
freedreno/a5xx: initial support
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_batch.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.h b/src/gallium/drivers/freedreno/freedreno_batch.h
index aeeb9c58ad6..1e9545971be 100644
--- a/src/gallium/drivers/freedreno/freedreno_batch.h
+++ b/src/gallium/drivers/freedreno/freedreno_batch.h
@@ -261,17 +261,7 @@ fd_reset_wfi(struct fd_batch *batch)
batch->needs_wfi = true;
}
-/* emit a WAIT_FOR_IDLE only if needed, ie. if there has not already
- * been one since last draw:
- */
-static inline void
-fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring)
-{
- if (batch->needs_wfi) {
- OUT_WFI(ring);
- batch->needs_wfi = false;
- }
-}
+void fd_wfi(struct fd_batch *batch, struct fd_ringbuffer *ring);
/* emit a CP_EVENT_WRITE:
*/