summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-01-14 10:06:02 +1300
committerEric Anholt <[email protected]>2015-01-15 22:19:25 +1300
commitd0d6d24723fb368a1bba1b379fd753713f867eca (patch)
tree04d8501bab3357fd54158248a9bcd60f44b028d4 /src/gallium/drivers/vc4
parent0471f7275592da25faf09a0c4e4de940d449e8e4 (diff)
vc4: Fix CL dumping trying to dump too far.
Execution will end at the cl->next, because that's what ct0ea/ct1ea get programmed to.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c
index 6729fa3e074..17520163d18 100644
--- a/src/gallium/drivers/vc4/vc4_context.c
+++ b/src/gallium/drivers/vc4/vc4_context.c
@@ -355,9 +355,9 @@ vc4_flush(struct pipe_context *pctx)
if (vc4_debug & VC4_DEBUG_CL) {
fprintf(stderr, "BCL:\n");
- vc4_dump_cl(vc4->bcl.base, vc4->bcl.size, false);
+ vc4_dump_cl(vc4->bcl.base, vc4->bcl.next - vc4->bcl.base, false);
fprintf(stderr, "RCL:\n");
- vc4_dump_cl(vc4->rcl.base, vc4->rcl.size, true);
+ vc4_dump_cl(vc4->rcl.base, vc4->rcl.next - vc4->rcl.base, true);
}
struct drm_vc4_submit_cl submit;