This will be usable with "VC5_DEBUG=cl" on the vc5 driver to stream a CLIF file (the Broadcom equivalent of i965's AUB) to stderr. I haven't tested that this is actually usable with the internal CLIF-consuming tools, but is close enough as a baseline and is useful for visually inspecting the command stream.
f71364f broadcom: Add vc5 CLIF dumping
src/broadcom/Makefile.sources | 2 +
src/broadcom/clif/clif_dump.c | 268 ++++++++++++++++++++++++++++++++++++++++++
src/broadcom/clif/clif_dump.h | 42 +++++++
3 files changed, 312 insertions(+)