From 9ebfb3014ea6d2bde9d4322f2537f21be97b280b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 17 Oct 2014 09:43:54 +0100 Subject: vc4: Make some assertions about how many flushes/EOFs the simulator sees. This caught the previous commit's bug in the kernel validator. --- src/gallium/drivers/vc4/vc4_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/vc4/vc4_context.c') diff --git a/src/gallium/drivers/vc4/vc4_context.c b/src/gallium/drivers/vc4/vc4_context.c index 7779c461c76..cc57486e103 100644 --- a/src/gallium/drivers/vc4/vc4_context.c +++ b/src/gallium/drivers/vc4/vc4_context.c @@ -273,9 +273,9 @@ vc4_flush(struct pipe_context *pctx) if (vc4_debug & VC4_DEBUG_CL) { fprintf(stderr, "BCL:\n"); - vc4_dump_cl(&vc4->bcl, false); + vc4_dump_cl(vc4->bcl.base, vc4->bcl.end - vc4->bcl.base, false); fprintf(stderr, "RCL:\n"); - vc4_dump_cl(&vc4->rcl, true); + vc4_dump_cl(vc4->rcl.base, vc4->rcl.end - vc4->rcl.base, true); } struct drm_vc4_submit_cl submit; -- cgit v1.2.3