turnip: use RESOLVE_TS event
authorJonathan Marek <jonathan@marek.ca>
Fri, 17 Apr 2020 16:41:14 +0000 (12:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 17:42:01 +0000 (17:42 +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/4608>

src/freedreno/vulkan/tu_cmd_buffer.c

index b4539745a8e28b9c5e12f0ffb45ce4ee2e2ae2d2..a9e075ec225c7f433e6f188ae9af8a027035a7da 100644 (file)
@@ -1313,7 +1313,7 @@ tu6_tile_render_end(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
 
    tu6_emit_lrz_flush(cmd, cs);
 
-   tu6_emit_event_write(cmd, cs, CACHE_FLUSH_TS, true);
+   tu6_emit_event_write(cmd, cs, PC_CCU_RESOLVE_TS, true);
 
    tu_cs_sanity_check(cs);
 }