freedreno: add debug trace for flush
authorRob Clark <robdclark@gmail.com>
Mon, 29 Jan 2018 14:53:30 +0000 (09:53 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 10 Feb 2018 19:54:58 +0000 (14:54 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.c

index 0a2f02c5e97abd3d7e23ee66701ede1f20cbda46..7dd088730d0d7783bcf177a41a0cf22147394a6f 100644 (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);