summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5/vc5_job.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-09-28 13:36:54 -0700
committerEric Anholt <[email protected]>2017-10-10 11:42:05 -0700
commitd0dfc4bd5f3711ac48de88aa51fc6f442eaa0b20 (patch)
tree5123ba9af772a20efa43c0e9b21207e711dac437 /src/gallium/drivers/vc5/vc5_job.c
parent7f3b8906979ba5f2c1876b4eb2c0b85314107511 (diff)
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).
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_job.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_job.c4
1 files changed, 2 insertions, 2 deletions
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);
}
/**