panfrost: Don't export exception_status
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 5 Aug 2020 20:20:17 +0000 (16:20 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 6 Aug 2020 23:54:24 +0000 (23:54 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6196>

src/panfrost/pandecode/decode.c
src/panfrost/pandecode/public.h

index 8a99090b0fdb4d723515d8f2943a2058152fbcb5..f3ce25e55fbb5a858cf857b9d752df355f47ad54 100644 (file)
@@ -641,7 +641,7 @@ pandecode_block_format(enum mali_block_format fmt)
 #undef DEFINE_CASE
 
 #define DEFINE_CASE(name) case MALI_EXCEPTION_ACCESS_## name: return ""#name
-char *
+static char *
 pandecode_exception_access(unsigned access)
 {
         switch (access) {
index 32e043d52c8bff6e18f80c530777506f0193cbf1..abb18c8750bbfd3e6384cba182f2da48c14dbcce 100644 (file)
@@ -53,8 +53,4 @@ pandecode_inject_mmap(uint64_t gpu_va, void *cpu, unsigned sz, const char *name)
 
 void pandecode_jc(uint64_t jc_gpu_va, bool bifrost, unsigned gpu_id, bool minimal);
 
-char *
-pandecode_exception_access(unsigned access);
-
-
 #endif /* __MMAP_TRACE_H__ */