freedreno: add debug trace for flush

Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
Rob Clark
2018-01-29 09:53:30 -05:00
parent 9b9a89cd79
commit 7d45e2e39f

View File

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