summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/panfrost/bifrost/bi_print.c2
-rw-r--r--src/panfrost/bifrost/bi_print.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c
index 7a4b73aca2b..0f72cc9e96f 100644
--- a/src/panfrost/bifrost/bi_print.c
+++ b/src/panfrost/bifrost/bi_print.c
@@ -122,7 +122,7 @@ bi_ldst_type_name(enum bifrost_ldst_type type)
/* The remaining functions in this file are for IR-internal
* structures; the disassembler doesn't use them */
-static const char *
+const char *
bi_class_name(enum bi_class cl)
{
switch (cl) {
diff --git a/src/panfrost/bifrost/bi_print.h b/src/panfrost/bifrost/bi_print.h
index 04e3851c11f..f010c9659e9 100644
--- a/src/panfrost/bifrost/bi_print.h
+++ b/src/panfrost/bifrost/bi_print.h
@@ -38,6 +38,7 @@ const char * bi_round_mode_name(enum bifrost_roundmode mod);
const char * bi_csel_cond_name(enum bifrost_csel_cond cond);
const char * bi_interp_mode_name(enum bifrost_interp_mode mode);
const char * bi_ldst_type_name(enum bifrost_ldst_type type);
+const char * bi_class_name(enum bi_class cl);
void bi_print_instruction(bi_instruction *ins, FILE *fp);
void bi_print_bundle(bi_bundle *bundle, FILE *fp);