hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/trace/events/host1x.h
....@@ -1,23 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * include/trace/events/host1x.h
34 *
45 * host1x event logging to ftrace.
56 *
67 * Copyright (c) 2010-2013, NVIDIA Corporation.
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- *
13
- * This program is distributed in the hope that it will be useful, but WITHOUT
14
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
- * more details.
17
- *
18
- * You should have received a copy of the GNU General Public License along
19
- * with this program; if not, write to the Free Software Foundation, Inc.,
20
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
218 */
229
2310 #undef TRACE_SYSTEM
....@@ -80,6 +67,32 @@
8067 __entry->name, __entry->op1, __entry->op2)
8168 );
8269
70
+TRACE_EVENT(host1x_cdma_push_wide,
71
+ TP_PROTO(const char *name, u32 op1, u32 op2, u32 op3, u32 op4),
72
+
73
+ TP_ARGS(name, op1, op2, op3, op4),
74
+
75
+ TP_STRUCT__entry(
76
+ __field(const char *, name)
77
+ __field(u32, op1)
78
+ __field(u32, op2)
79
+ __field(u32, op3)
80
+ __field(u32, op4)
81
+ ),
82
+
83
+ TP_fast_assign(
84
+ __entry->name = name;
85
+ __entry->op1 = op1;
86
+ __entry->op2 = op2;
87
+ __entry->op3 = op3;
88
+ __entry->op4 = op4;
89
+ ),
90
+
91
+ TP_printk("name=%s, op1=%08x, op2=%08x, op3=%08x op4=%08x",
92
+ __entry->name, __entry->op1, __entry->op2, __entry->op3,
93
+ __entry->op4)
94
+);
95
+
8396 TRACE_EVENT(host1x_cdma_push_gather,
8497 TP_PROTO(const char *name, struct host1x_bo *bo,
8598 u32 words, u32 offset, void *cmdbuf),