diff options
author | Rob Clark <[email protected]> | 2016-12-09 18:23:10 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-12-18 13:47:54 -0500 |
commit | 6f93c75a47d80f3067e19fa3de4d54e5593a9d55 (patch) | |
tree | 4f7587fe5b0dd69ea49ea953006b6f50d896e043 /src/gallium/drivers/freedreno/freedreno_gmem.c | |
parent | d35022f24d5e53daa439fb5f024e81858e698a76 (diff) |
freedreno/a5xx: cargo-cult end-batch sequence more faithfully
Fixes some issues at least with GMEM bypass mode, where we'd sometimes
end up with some FS quads not hitting memory.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_gmem.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_gmem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index c7ac0a23a29..d9f707d9c9a 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -358,6 +358,9 @@ render_sysmem(struct fd_batch *batch) /* emit IB to drawcmds: */ ctx->emit_ib(batch->gmem, batch->draw); fd_reset_wfi(batch); + + if (ctx->emit_sysmem_fini) + ctx->emit_sysmem_fini(batch); } static void |