diff options
author | Rob Clark <[email protected]> | 2018-01-29 09:53:30 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-02-10 14:54:58 -0500 |
commit | 7d45e2e39f3a6fd9afa7bd7c25be58c80b2f44ab (patch) | |
tree | e6c2b34235be46ec8e170938d0afd169f9402ebe /src/gallium/drivers/freedreno | |
parent | 9b9a89cd795fda462a6ee898ef6e5135ca79d94e (diff) |
freedreno: add debug trace for flush
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |