From 24b4172375d29dd20363aeba0664486ea6f154f3 Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Thu, 24 Jan 2019 11:38:51 -0800 Subject: [PATCH] freedreno: Log number of draw for sysmem passes Reviewed-by: Rob Clark Signed-off-by: Kristian H. Kristensen --- src/gallium/drivers/freedreno/freedreno_gmem.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/freedreno_gmem.c b/src/gallium/drivers/freedreno/freedreno_gmem.c index be82a1eed87..41fc1d0a0d4 100644 --- a/src/gallium/drivers/freedreno/freedreno_gmem.c +++ b/src/gallium/drivers/freedreno/freedreno_gmem.c @@ -443,10 +443,11 @@ fd_gmem_render_tiles(struct fd_batch *batch) DBG("%p: rendering non-draw", batch); ctx->stats.batch_nondraw++; } else if (sysmem) { - DBG("%p: rendering sysmem %ux%u (%s/%s)", + DBG("%p: rendering sysmem %ux%u (%s/%s), num_draws=%u", batch, pfb->width, pfb->height, util_format_short_name(pipe_surface_format(pfb->cbufs[0])), - util_format_short_name(pipe_surface_format(pfb->zsbuf))); + util_format_short_name(pipe_surface_format(pfb->zsbuf)), + batch->num_draws); if (ctx->query_prepare) ctx->query_prepare(batch, 1); render_sysmem(batch); -- 2.30.2