summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h')
-rw-r--r--omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h119
1 files changed, 0 insertions, 119 deletions
diff --git a/omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h b/omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h
deleted file mode 100644
index 24bc484..0000000
--- a/omap5/sgx_src/eurasia_km/services4/srvkm/include/ttrace_tokens.h
+++ /dev/null
@@ -1,119 +0,0 @@
1/*************************************************************************/ /*!
2@Title Timed Trace header
3@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
4@Description Timed Trace token header. Contains defines for all the tokens
5 used.
6@License Dual MIT/GPLv2
7
8The contents of this file are subject to the MIT license as set out below.
9
10Permission is hereby granted, free of charge, to any person obtaining a copy
11of this software and associated documentation files (the "Software"), to deal
12in the Software without restriction, including without limitation the rights
13to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14copies of the Software, and to permit persons to whom the Software is
15furnished to do so, subject to the following conditions:
16
17The above copyright notice and this permission notice shall be included in
18all copies or substantial portions of the Software.
19
20Alternatively, the contents of this file may be used under the terms of
21the GNU General Public License Version 2 ("GPL") in which case the provisions
22of GPL are applicable instead of those above.
23
24If you wish to allow use of your version of this file only under the terms of
25GPL, and not to allow others to use your version of this file under the terms
26of the MIT license, indicate your decision by deleting the provisions above
27and replace them with the notice and other provisions required by GPL as set
28out in the file called "GPL-COPYING" included in this distribution. If you do
29not delete the provisions above, a recipient may use your version of this file
30under the terms of either the MIT license or GPL.
31
32This License is also included in this distribution in the file called
33"MIT-COPYING".
34
35EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
36PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
37BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
38PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
39COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
40IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
41CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
42*/ /**************************************************************************/
43
44#ifndef __TTRACE_TOKENS_H__
45#define __TTRACE_TOKENS_H__
46
47/* All defines should use decimal so to not confuse the post processing tool */
48
49/* Trace groups */
50#define PVRSRV_TRACE_GROUP_KICK 0
51#define PVRSRV_TRACE_GROUP_TRANSFER 1
52#define PVRSRV_TRACE_GROUP_QUEUE 2
53#define PVRSRV_TRACE_GROUP_POWER 3
54#define PVRSRV_TRACE_GROUP_MKSYNC 4
55
56#define PVRSRV_TRACE_GROUP_PADDING 255
57
58/* Trace classes */
59#define PVRSRV_TRACE_CLASS_FUNCTION_ENTER 0
60#define PVRSRV_TRACE_CLASS_FUNCTION_EXIT 1
61#define PVRSRV_TRACE_CLASS_SYNC 2
62#define PVRSRV_TRACE_CLASS_CCB 3
63#define PVRSRV_TRACE_CLASS_CMD_START 4
64#define PVRSRV_TRACE_CLASS_CMD_END 5
65#define PVRSRV_TRACE_CLASS_CMD_COMP_START 6
66#define PVRSRV_TRACE_CLASS_CMD_COMP_END 7
67#define PVRSRV_TRACE_CLASS_FLAGS 8
68
69#define PVRSRV_TRACE_CLASS_NONE 255
70
71/* Operation about to happen on the sync object */
72#define PVRSRV_SYNCOP_SAMPLE 0
73#define PVRSRV_SYNCOP_COMPLETE 1
74#define PVRSRV_SYNCOP_DUMP 2
75
76/*
77 * Trace tokens
78 * ------------
79 * These only need to unique within a group.
80 */
81
82/* Kick group tokens */
83#define KICK_TOKEN_DOKICK 0
84#define KICK_TOKEN_CCB_OFFSET 1
85#define KICK_TOKEN_TA3D_SYNC 2
86#define KICK_TOKEN_TA_SYNC 3
87#define KICK_TOKEN_3D_SYNC 4
88#define KICK_TOKEN_SRC_SYNC 5
89#define KICK_TOKEN_DST_SYNC 6
90#define KICK_TOKEN_FIRST_KICK 7
91#define KICK_TOKEN_LAST_KICK 8
92
93/* Transfer Queue group tokens */
94#define TRANSFER_TOKEN_SUBMIT 0
95#define TRANSFER_TOKEN_TA_SYNC 1
96#define TRANSFER_TOKEN_3D_SYNC 2
97#define TRANSFER_TOKEN_SRC_SYNC 3
98#define TRANSFER_TOKEN_DST_SYNC 4
99#define TRANSFER_TOKEN_CCB_OFFSET 5
100
101/* Queue group tokens */
102#define QUEUE_TOKEN_GET_SPACE 0
103#define QUEUE_TOKEN_INSERTKM 1
104#define QUEUE_TOKEN_SUBMITKM 2
105#define QUEUE_TOKEN_PROCESS_COMMAND 3
106#define QUEUE_TOKEN_PROCESS_QUEUES 4
107#define QUEUE_TOKEN_COMMAND_COMPLETE 5
108#define QUEUE_TOKEN_UPDATE_DST 6
109#define QUEUE_TOKEN_UPDATE_SRC 7
110#define QUEUE_TOKEN_SRC_SYNC 8
111#define QUEUE_TOKEN_DST_SYNC 9
112#define QUEUE_TOKEN_COMMAND_TYPE 10
113
114/* uKernel Sync tokens */
115#define MKSYNC_TOKEN_KERNEL_CCB_OFFSET 0
116#define MKSYNC_TOKEN_CORE_CLK 1
117#define MKSYNC_TOKEN_UKERNEL_CLK 2
118
119#endif /* __TTRACE_TOKENS_H__ */