From c0cdc148f401c543df64006348b86f4ee79d91ef Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Sat, 1 Oct 2022 08:22:45 -0700 Subject: [PATCH] freedreno: Add perf-debug trace Signed-off-by: Rob Clark Part-of: --- src/gallium/drivers/freedreno/freedreno_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/freedreno/freedreno_resource.c b/src/gallium/drivers/freedreno/freedreno_resource.c index 09391e4e145..ec10b776897 100644 --- a/src/gallium/drivers/freedreno/freedreno_resource.c +++ b/src/gallium/drivers/freedreno/freedreno_resource.c @@ -909,6 +909,7 @@ resource_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, struct fd_resource *staging_rsc = NULL; if (needs_flush) { + perf_debug_ctx(ctx, "flushing: %" PRSC_FMT, PRSC_ARGS(prsc)); flush_resource(ctx, rsc, usage); needs_flush = false; }