From d0dfc4bd5f3711ac48de88aa51fc6f442eaa0b20 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Sep 2017 13:36:54 -0700 Subject: broadcom/vc5: Fix CLIF dumping of lists that aren't capped by a HALT. The HW will halt when you hit a HALT packet, or when you hit the end address. Tell CLIF if there's an end address is so that it can stop correctly. (There was usually a 0 byte after the CL, so it would stop anyway). --- src/gallium/drivers/vc5/vc5_job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/vc5/vc5_job.c') diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c index 57cf96725b9..f90b449aca7 100644 --- a/src/gallium/drivers/vc5/vc5_job.c +++ b/src/gallium/drivers/vc5/vc5_job.c @@ -329,11 +329,11 @@ vc5_clif_dump(struct vc5_context *vc5, struct vc5_job *job) fprintf(stderr, "BCL: 0x%08x..0x%08x\n", job->submit.bcl_start, job->submit.bcl_end); - clif_dump_add_cl(clif, job->submit.bcl_start); + clif_dump_add_cl(clif, job->submit.bcl_start, job->submit.bcl_end); fprintf(stderr, "RCL: 0x%08x..0x%08x\n", job->submit.rcl_start, job->submit.rcl_end); - clif_dump_add_cl(clif, job->submit.rcl_start); + clif_dump_add_cl(clif, job->submit.rcl_start, job->submit.rcl_end); } /** -- cgit v1.2.3