summaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/mali/common/mali_kernel_subsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/arm/mali/common/mali_kernel_subsystem.h')
-rwxr-xr-xdrivers/gpu/arm/mali/common/mali_kernel_subsystem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/arm/mali/common/mali_kernel_subsystem.h b/drivers/gpu/arm/mali/common/mali_kernel_subsystem.h
index 9efba566bd9d..e8593543974e 100755
--- a/drivers/gpu/arm/mali/common/mali_kernel_subsystem.h
+++ b/drivers/gpu/arm/mali/common/mali_kernel_subsystem.h
@@ -74,8 +74,12 @@ typedef struct mali_kernel_subsystem
#if MALI_STATE_TRACKING
/** Dump the current state of the subsystem */
+#if MALI_STATE_TRACKING_USING_PROC
+ void (*dump_state)(void);
+#else
u32 (*dump_state)(char *buf, u32 size);
#endif
+#endif
} mali_kernel_subsystem;
/* functions used by the subsystems to interact with the core */
@@ -100,8 +104,12 @@ void _mali_kernel_core_broadcast_subsystem_message(mali_core_notification_messag
/**
* Tell all subsystems to dump their current state
*/
+#if MALI_STATE_TRACKING_USING_PROC
+void _mali_kernel_core_dump_state(void);
+#else
u32 _mali_kernel_core_dump_state(char *buf, u32 size);
#endif
+#endif
#endif /* __MALI_KERNEL_SUBSYSTEM_H__ */