pan/decode: Flush the dump stream after decoding
authorIcecream95 <ixn@disroot.org>
Mon, 31 May 2021 11:18:48 +0000 (23:18 +1200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Jun 2021 13:27:54 +0000 (13:27 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11104>

src/panfrost/lib/decode.c

index 8857beb..6593280 100644 (file)
@@ -1130,6 +1130,7 @@ pandecode_jc(mali_ptr jc_gpu_va, bool bifrost, unsigned gpu_id)
                 }
         } while ((jc_gpu_va = next_job));
 
+        fflush(pandecode_dump_stream);
         pandecode_map_read_write();
 }