From: Rob Clark Date: Mon, 29 Jan 2018 14:53:30 +0000 (-0500) Subject: freedreno: add debug trace for flush X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d45e2e39f3a6fd9afa7bd7c25be58c80b2f44ab;p=mesa.git freedreno: add debug trace for flush Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 0a2f02c5e97..7dd088730d0 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -47,6 +47,8 @@ fd_context_flush(struct pipe_context *pctx, struct pipe_fence_handle **fencep, struct fd_context *ctx = fd_context(pctx); struct pipe_fence_handle *fence = NULL; + DBG("%p: flush: flags=%x\n", ctx->batch, flags); + /* Take a ref to the batch's fence (batch can be unref'd when flushed: */ fd_fence_ref(pctx->screen, &fence, ctx->batch->fence);