freedreno: Add a couple debug traces

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10444>
This commit is contained in:
Rob Clark
2021-04-19 11:05:57 -07:00
committed by Marge Bot
parent a8d4302825
commit ecd4793d6c
2 changed files with 9 additions and 0 deletions
@@ -936,6 +936,10 @@ handle_rgba_blit(struct fd_context *ctx,
emit_setup(batch);
DBG("%p: %s (%p) -> %s (%p)", batch,
util_str_tex_target(info->src.resource->target, true), info->src.resource,
util_str_tex_target(info->dst.resource->target, true), info->dst.resource);
trace_start_blit(&batch->trace, info->src.resource->target,
info->dst.resource->target);
@@ -574,6 +574,11 @@ fd_launch_grid(struct pipe_context *pctx,
fd_screen_unlock(ctx->screen);
DBG("%p: work_dim=%u, block=%ux%ux%u, grid=%ux%ux%u",
batch, info->work_dim,
info->block[0], info->block[1], info->block[2],
info->grid[0], info->grid[1], info->grid[2]);
batch->needs_flush = true;
ctx->launch_grid(ctx, info);