freedreno/a6xx: use RESOLVE_TS event
authorJonathan Marek <jonathan@marek.ca>
Fri, 17 Apr 2020 17:01:16 +0000 (13:01 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 18:24:28 +0000 (18:24 +0000)
This is required on a650 to flush the GMEM store.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4611>

src/gallium/drivers/freedreno/a6xx/fd6_gmem.c

index 1abaef699f51aa2034a0dd70a85c22823a4459c6..0e053d62ce38bcd03cf3e417ee00fbb117593cf7 100644 (file)
@@ -1382,7 +1382,7 @@ fd6_emit_tile_fini(struct fd_batch *batch)
 
        fd6_emit_lrz_flush(ring);
 
-       fd6_event_write(batch, ring, CACHE_FLUSH_TS, true);
+       fd6_event_write(batch, ring, PC_CCU_RESOLVE_TS, true);
 
        if (use_hw_binning(batch)) {
                check_vsc_overflow(batch->ctx);