freedreno: Fix think-o in fd_resource_wait()

Fixes: dabec19b05 ("freedreno: Add perf_debug logging for bo stalls")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9264>
This commit is contained in:
Rob Clark 2021-02-24 10:58:15 -08:00 committed by Marge Bot
parent 97b7786e6b
commit 1b2a35509e
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ __fd_resource_wait(struct fd_context *ctx, struct fd_resource *rsc,
elapsed += os_time_get_nano();
if (elapsed > 10000) /* 0.01ms */ {
perf_debug_ctx(ctx, "%s: a busy \"%"PRSC_FMT"\" BO stalled and took %.03f ms.\n",
func, PRSC_ARGS(&rsc->base), 1000000 * (double)elapsed);
func, PRSC_ARGS(&rsc->base), (double)elapsed / 1000000.0);
}
return ret;