summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_util.h
diff options
context:
space:
mode:
authorAndreas Baierl <[email protected]>2019-10-25 16:38:52 +0200
committerVasily Khoruzhick <[email protected]>2019-11-17 05:39:17 +0000
commitef9635d0bce9383a22bb3a8506da4d55726e5d59 (patch)
tree82371488ea0862513a006946d3c9f2d317d42f28 /src/gallium/drivers/lima/lima_util.h
parentc76eb7ea8490e630451beb056b4294fd846902d2 (diff)
lima: Parse VS and PLBU command stream while making a dump
This makes the streams more readable and comparable with the blob's parser as it parses the VS and PLBU stream and shows the currently known values. Reviewed-by: Qiang Yu <[email protected]> Signed-off-by: Andreas Baierl <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_util.h')
-rw-r--r--src/gallium/drivers/lima/lima_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_util.h b/src/gallium/drivers/lima/lima_util.h
index ad9f42158bf..49fe906e268 100644
--- a/src/gallium/drivers/lima/lima_util.h
+++ b/src/gallium/drivers/lima/lima_util.h
@@ -31,6 +31,8 @@
bool lima_get_absolute_timeout(uint64_t *timeout);
void lima_dump_blob(FILE *fp, void *data, int size, bool is_float);
+void lima_dump_vs_command_stream_print(void *data, int size, uint32_t start);
+void lima_dump_plbu_command_stream_print(void *data, int size, uint32_t start);
void lima_dump_command_stream_print(void *data, int size, bool is_float,
const char *fmt, ...);