From: Alyssa Rosenzweig Date: Wed, 5 Aug 2020 20:20:17 +0000 (-0400) Subject: panfrost: Don't export exception_status X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=956b09653cc171f290ccef3da6bbac769cbec470;p=mesa.git panfrost: Don't export exception_status Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 8a99090b0fd..f3ce25e55fb 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -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) { diff --git a/src/panfrost/pandecode/public.h b/src/panfrost/pandecode/public.h index 32e043d52c8..abb18c8750b 100644 --- a/src/panfrost/pandecode/public.h +++ b/src/panfrost/pandecode/public.h @@ -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__ */