From: Alyssa Rosenzweig Date: Wed, 1 Apr 2020 20:23:12 +0000 (-0400) Subject: pan/bi: Export bi_class_name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08fe1081b72b16499329a56a0c5bc8de28168335;p=mesa.git pan/bi: Export bi_class_name For use in naming tests. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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);