From 7d45e2e39f3a6fd9afa7bd7c25be58c80b2f44ab Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Mon, 29 Jan 2018 09:53:30 -0500 Subject: [PATCH] freedreno: add debug trace for flush Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_context.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2