Mesa (master): panfrost: Don't export exception_status

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Aug 7 00:14:54 UTC 2020


Module: Mesa
Branch: master
Commit: 956b09653cc171f290ccef3da6bbac769cbec470
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=956b09653cc171f290ccef3da6bbac769cbec470

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Wed Aug  5 16:20:17 2020 -0400

panfrost: Don't export exception_status

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6196>

---

 src/panfrost/pandecode/decode.c | 2 +-
 src/panfrost/pandecode/public.h | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

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__ */



More information about the mesa-commit mailing list