freedreno: Add perf-debug trace

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18926>
This commit is contained in:
Rob Clark 2022-10-01 08:22:45 -07:00 committed by Marge Bot
parent f6f72b5629
commit c0cdc148f4

View file

@ -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;
}