diff options
author | Icecream95 <[email protected]> | 2020-01-23 10:32:18 +1300 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-23 20:46:38 +0000 |
commit | cf2c5a56a1bc9f14e4c84db7a08739a195156844 (patch) | |
tree | e08de7be2386844bbf9a0c83ef903744ec98fbe5 /src/gallium/drivers | |
parent | c1952779d68fdaea153d762fe2d83810b346085b (diff) |
pan/decode: Rotate trace files
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3525>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3525>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index 6c4a510f955..aa28e341a20 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -52,6 +52,7 @@ #include "pan_blending.h" #include "pan_blend_shaders.h" #include "pan_util.h" +#include "pandecode/decode.h" struct midgard_tiler_descriptor panfrost_emit_midg_tiler(struct panfrost_batch *batch, unsigned vertex_count) @@ -1327,6 +1328,9 @@ panfrost_flush( util_dynarray_fini(&fences); } + + if (pan_debug & PAN_DBG_TRACE) + pandecode_next_frame(); } #define DEFINE_CASE(c) case PIPE_PRIM_##c: return MALI_##c; |