aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-10-13 13:56:05 -0400
committerRob Clark <[email protected]>2018-10-17 12:44:49 -0400
commit24d57a6d8f72156aa81dce89683bd16e771c7ea2 (patch)
tree1425874cdb6c8d349d8f7a9312358becf39b92fe /src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
parent72f6164fefd796f6b0ffdc86b22e02de61835709 (diff)
freedreno/a6xx: single cmdstream for draw+binning
Now that state which is different for draw vs binning pass is split out into different state-groups with appropriate enable_mask (so the appropriate one is chosen for draw vs binning), switch over to using a single cmdstream for both passes. This should significantly lower draw overhead for CPU bound benchmarks. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx/fd6_gmem.c')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_gmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
index 279f02ba549..c2f2a03d18a 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
@@ -408,7 +408,7 @@ emit_binning_pass(struct fd_batch *batch)
A6XX_SP_TP_WINDOW_OFFSET_Y(0));
/* emit IB to binning drawcmds: */
- ctx->emit_ib(ring, batch->binning);
+ ctx->emit_ib(ring, batch->draw);
fd_reset_wfi(batch);