mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
panfrost: Don't use implicit mali_exception_status enum
Fixes ../src/panfrost/pandecode/public.h:53:33: warning: ‘enum mali_exception_access’ declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3543>
This commit is contained in:
parent
4a553212fa
commit
d126515a16
2 changed files with 2 additions and 2 deletions
|
|
@ -480,7 +480,7 @@ pandecode_block_format(enum mali_block_format fmt)
|
|||
|
||||
#define DEFINE_CASE(name) case MALI_EXCEPTION_ACCESS_## name: return ""#name
|
||||
char *
|
||||
pandecode_exception_access(enum mali_exception_access access)
|
||||
pandecode_exception_access(unsigned access)
|
||||
{
|
||||
switch (access) {
|
||||
DEFINE_CASE(NONE);
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ pandecode_inject_mmap(uint64_t gpu_va, void *cpu, unsigned sz, const char *name)
|
|||
int pandecode_jc(uint64_t jc_gpu_va, bool bifrost, unsigned gpu_id);
|
||||
|
||||
char *
|
||||
pandecode_exception_access(enum mali_exception_access access);
|
||||
pandecode_exception_access(unsigned access);
|
||||
|
||||
|
||||
#endif /* __MMAP_TRACE_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue