hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/gpu/arm/bifrost/tl/mali_kbase_timeline.h
....@@ -1,7 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 /*
33 *
4
- * (C) COPYRIGHT 2015-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2015-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -76,9 +76,9 @@
7676
7777 /**
7878 * kbase_timeline_streams_body_reset - reset timeline body streams.
79
+ * @timeline: Timeline instance
7980 *
8081 * Function will discard pending data in all timeline body streams.
81
- * @timeline: Timeline instance
8282 */
8383 void kbase_timeline_streams_body_reset(struct kbase_timeline *timeline);
8484
....@@ -117,4 +117,12 @@
117117 void kbase_timeline_stats(struct kbase_timeline *timeline, u32 *bytes_collected, u32 *bytes_generated);
118118 #endif /* MALI_UNIT_TEST */
119119
120
+/**
121
+ * kbase_timeline_io_debugfs_init - Add a debugfs entry for reading timeline stream data
122
+ *
123
+ * @kbdev: An instance of the GPU platform device, allocated from the probe
124
+ * method of the driver.
125
+ */
126
+void kbase_timeline_io_debugfs_init(struct kbase_device *kbdev);
127
+
120128 #endif /* _KBASE_TIMELINE_H */