~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/gce/mt8186-gce.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/gce/mt8186-gce.h (Version linux-6.12-rc7) and /include/dt-bindings/gce/mt8186-gce.h (Version linux-5.11.22)


  1 /* SPDX-License-Identifier: (GPL-2.0-only OR B      1 
  2 /*                                                
  3  * Copyright (C) 2022 MediaTek Inc.               
  4  * Author: Yongqiang Niu <yongqiang.niu@mediat    
  5  */                                               
  6                                                   
  7 #ifndef _DT_BINDINGS_GCE_MT8186_H                 
  8 #define _DT_BINDINGS_GCE_MT8186_H                 
  9                                                   
 10 /* assign timeout 0 also means default */         
 11 #define CMDQ_NO_TIMEOUT         0xffffffff        
 12 #define CMDQ_TIMEOUT_DEFAULT    1000              
 13                                                   
 14 /* GCE thread priority */                         
 15 #define CMDQ_THR_PRIO_LOWEST    0                 
 16 #define CMDQ_THR_PRIO_1         1                 
 17 #define CMDQ_THR_PRIO_2         2                 
 18 #define CMDQ_THR_PRIO_3         3                 
 19 #define CMDQ_THR_PRIO_4         4                 
 20 #define CMDQ_THR_PRIO_5         5                 
 21 #define CMDQ_THR_PRIO_6         6                 
 22 #define CMDQ_THR_PRIO_HIGHEST   7                 
 23                                                   
 24 /* CPR count in 32bit register */                 
 25 #define GCE_CPR_COUNT           1312              
 26                                                   
 27 /* GCE subsys table */                            
 28 #define SUBSYS_1300XXXX         0                 
 29 #define SUBSYS_1400XXXX         1                 
 30 #define SUBSYS_1401XXXX         2                 
 31 #define SUBSYS_1402XXXX         3                 
 32 #define SUBSYS_1502XXXX         4                 
 33 #define SUBSYS_1582XXXX         5                 
 34 #define SUBSYS_1B00XXXX         6                 
 35 #define SUBSYS_1C00XXXX         7                 
 36 #define SUBSYS_1C10XXXX         8                 
 37 #define SUBSYS_1000XXXX         9                 
 38 #define SUBSYS_1001XXXX         10                
 39 #define SUBSYS_1020XXXX         11                
 40 #define SUBSYS_1021XXXX         12                
 41 #define SUBSYS_1022XXXX         13                
 42 #define SUBSYS_1023XXXX         14                
 43 #define SUBSYS_1060XXXX         15                
 44 #define SUBSYS_1602XXXX         16                
 45 #define SUBSYS_1608XXXX         17                
 46 #define SUBSYS_1700XXXX         18                
 47 #define SUBSYS_1701XXXX         19                
 48 #define SUBSYS_1702XXXX         20                
 49 #define SUBSYS_1703XXXX         21                
 50 #define SUBSYS_1706XXXX         22                
 51 #define SUBSYS_1A00XXXX         23                
 52 #define SUBSYS_1A01XXXX         24                
 53 #define SUBSYS_1A02XXXX         25                
 54 #define SUBSYS_1A03XXXX         26                
 55 #define SUBSYS_1A04XXXX         27                
 56 #define SUBSYS_1A05XXXX         28                
 57 #define SUBSYS_1A06XXXX         29                
 58 #define SUBSYS_NO_SUPPORT       99                
 59                                                   
 60 /* GCE General Purpose Register (GPR) support     
 61  * Leave note for scenario usage here             
 62  */                                               
 63 /* GCE: write mask */                             
 64 #define GCE_GPR_R00             0x00              
 65 #define GCE_GPR_R01             0x01              
 66 /* MDP: P1: JPEG dest */                          
 67 #define GCE_GPR_R02             0x02              
 68 #define GCE_GPR_R03             0x03              
 69 /* MDP: PQ color */                               
 70 #define GCE_GPR_R04             0x04              
 71 /* MDP: 2D sharpness */                           
 72 #define GCE_GPR_R05             0x05              
 73 /* DISP: poll esd */                              
 74 #define GCE_GPR_R06             0x06              
 75 #define GCE_GPR_R07             0x07              
 76 /* MDP: P4: 2D sharpness dst */                   
 77 #define GCE_GPR_R08             0x08              
 78 #define GCE_GPR_R09             0x09              
 79 /* VCU: poll with timeout for GPR timer */        
 80 #define GCE_GPR_R10             0x0A              
 81 #define GCE_GPR_R11             0x0B              
 82 /* CMDQ: debug */                                 
 83 #define GCE_GPR_R12             0x0C              
 84 #define GCE_GPR_R13             0x0D              
 85 /* CMDQ: P7: debug */                             
 86 #define GCE_GPR_R14             0x0E              
 87 #define GCE_GPR_R15             0x0F              
 88                                                   
 89 /* GCE hardware events */                         
 90 /* VDEC */                                        
 91 #define CMDQ_EVENT_LINE_COUNT_THRESHOLD_INTERR    
 92 #define CMDQ_EVENT_VDEC_INT                       
 93 #define CMDQ_EVENT_VDEC_PAUSE                     
 94 #define CMDQ_EVENT_VDEC_DEC_ERROR                 
 95 #define CMDQ_EVENT_MDEC_TIMEOUT                   
 96 #define CMDQ_EVENT_DRAM_ACCESS_DONE               
 97 #define CMDQ_EVENT_INI_FETCH_RDY                  
 98 #define CMDQ_EVENT_PROCESS_FLAG                   
 99 #define CMDQ_EVENT_SEARCH_START_CODE_DONE         
100 #define CMDQ_EVENT_REF_REORDER_DONE               
101 #define CMDQ_EVENT_WP_TBLE_DONE                   
102 #define CMDQ_EVENT_COUNT_SRAM_CLR_DONE            
103 #define CMDQ_EVENT_GCE_CNT_OP_THRESHOLD           
104 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_0          
105 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_1          
106 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_2          
107 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_3          
108 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_4          
109 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_5          
110 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_6          
111 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_7          
112 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_8          
113 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_9          
114 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_10         
115 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_11         
116 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_12         
117 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_13         
118 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_14         
119 #define CMDQ_EVENT_VDEC_MINI_MDP_EVENT_15         
120 #define CMDQ_EVENT_WPE_GCE_FRAME_DONE             
121                                                   
122 /* CAM */                                         
123 #define CMDQ_EVENT_ISP_FRAME_DONE_A               
124 #define CMDQ_EVENT_ISP_FRAME_DONE_B               
125 #define CMDQ_EVENT_CAMSV1_PASS1_DONE              
126 #define CMDQ_EVENT_CAMSV2_PASS1_DONE              
127 #define CMDQ_EVENT_CAMSV3_PASS1_DONE              
128 #define CMDQ_EVENT_MRAW_0_PASS1_DONE              
129 #define CMDQ_EVENT_SENINF_CAM0_FIFO_FULL          
130 #define CMDQ_EVENT_SENINF_CAM1_FIFO_FULL          
131 #define CMDQ_EVENT_SENINF_CAM2_FIFO_FULL          
132 #define CMDQ_EVENT_SENINF_CAM3_FIFO_FULL          
133 #define CMDQ_EVENT_SENINF_CAM4_FIFO_FULL          
134 #define CMDQ_EVENT_SENINF_CAM5_FIFO_FULL          
135 #define CMDQ_EVENT_SENINF_CAM6_FIFO_FULL          
136 #define CMDQ_EVENT_SENINF_CAM7_FIFO_FULL          
137 #define CMDQ_EVENT_SENINF_CAM8_FIFO_FULL          
138 #define CMDQ_EVENT_SENINF_CAM9_FIFO_FULL          
139 #define CMDQ_EVENT_SENINF_CAM10_FIFO_FULL         
140 #define CMDQ_EVENT_SENINF_CAM11_FIFO_FULL         
141 #define CMDQ_EVENT_SENINF_CAM12_FIFO_FULL         
142 #define CMDQ_EVENT_TG_OVRUN_A_INT                 
143 #define CMDQ_EVENT_DMA_R1_ERROR_A_INT             
144 #define CMDQ_EVENT_TG_OVRUN_B_INT                 
145 #define CMDQ_EVENT_DMA_R1_ERROR_B_INT             
146 #define CMDQ_EVENT_TG_OVRUN_M0_INT                
147 #define CMDQ_EVENT_R1_ERROR_M0_INT                
148 #define CMDQ_EVENT_TG_GRABERR_M0_INT              
149 #define CMDQ_EVENT_TG_GRABERR_A_INT               
150 #define CMDQ_EVENT_CQ_VR_SNAP_A_INT               
151 #define CMDQ_EVENT_TG_GRABERR_B_INT               
152 #define CMDQ_EVENT_CQ_VR_SNAP_B_INT               
153 /* VENC */                                        
154 #define CMDQ_EVENT_VENC_CMDQ_FRAME_DONE           
155 #define CMDQ_EVENT_VENC_CMDQ_PAUSE_DONE           
156 #define CMDQ_EVENT_JPGENC_CMDQ_DONE               
157 #define CMDQ_EVENT_VENC_CMDQ_MB_DONE              
158 #define CMDQ_EVENT_VENC_CMDQ_128BYTE_CNT_DONE     
159 #define CMDQ_EVENT_VENC_CMDQ_PPS_DONE             
160 #define CMDQ_EVENT_VENC_CMDQ_SPS_DONE             
161 #define CMDQ_EVENT_VENC_CMDQ_VPS_DONE             
162 /* IPE */                                         
163 #define CMDQ_EVENT_FDVT_DONE                      
164 #define CMDQ_EVENT_FE_DONE                        
165 #define CMDQ_EVENT_RSC_DONE                       
166 #define CMDQ_EVENT_DVS_DONE_ASYNC_SHOT            
167 #define CMDQ_EVENT_DVP_DONE_ASYNC_SHOT            
168 /* IMG2 */                                        
169 #define CMDQ_EVENT_GCE_IMG2_EVENT0                
170 #define CMDQ_EVENT_GCE_IMG2_EVENT1                
171 #define CMDQ_EVENT_GCE_IMG2_EVENT2                
172 #define CMDQ_EVENT_GCE_IMG2_EVENT3                
173 #define CMDQ_EVENT_GCE_IMG2_EVENT4                
174 #define CMDQ_EVENT_GCE_IMG2_EVENT5                
175 #define CMDQ_EVENT_GCE_IMG2_EVENT6                
176 #define CMDQ_EVENT_GCE_IMG2_EVENT7                
177 #define CMDQ_EVENT_GCE_IMG2_EVENT8                
178 #define CMDQ_EVENT_GCE_IMG2_EVENT9                
179 #define CMDQ_EVENT_GCE_IMG2_EVENT10               
180 #define CMDQ_EVENT_GCE_IMG2_EVENT11               
181 #define CMDQ_EVENT_GCE_IMG2_EVENT12               
182 #define CMDQ_EVENT_GCE_IMG2_EVENT13               
183 #define CMDQ_EVENT_GCE_IMG2_EVENT14               
184 #define CMDQ_EVENT_GCE_IMG2_EVENT15               
185 #define CMDQ_EVENT_GCE_IMG2_EVENT16               
186 #define CMDQ_EVENT_GCE_IMG2_EVENT17               
187 #define CMDQ_EVENT_GCE_IMG2_EVENT18               
188 #define CMDQ_EVENT_GCE_IMG2_EVENT19               
189 #define CMDQ_EVENT_GCE_IMG2_EVENT20               
190 #define CMDQ_EVENT_GCE_IMG2_EVENT21               
191 #define CMDQ_EVENT_GCE_IMG2_EVENT22               
192 #define CMDQ_EVENT_GCE_IMG2_EVENT23               
193 /* IMG1 */                                        
194 #define CMDQ_EVENT_GCE_IMG1_EVENT0                
195 #define CMDQ_EVENT_GCE_IMG1_EVENT1                
196 #define CMDQ_EVENT_GCE_IMG1_EVENT2                
197 #define CMDQ_EVENT_GCE_IMG1_EVENT3                
198 #define CMDQ_EVENT_GCE_IMG1_EVENT4                
199 #define CMDQ_EVENT_GCE_IMG1_EVENT5                
200 #define CMDQ_EVENT_GCE_IMG1_EVENT6                
201 #define CMDQ_EVENT_GCE_IMG1_EVENT7                
202 #define CMDQ_EVENT_GCE_IMG1_EVENT8                
203 #define CMDQ_EVENT_GCE_IMG1_EVENT9                
204 #define CMDQ_EVENT_GCE_IMG1_EVENT10               
205 #define CMDQ_EVENT_GCE_IMG1_EVENT11               
206 #define CMDQ_EVENT_GCE_IMG1_EVENT12               
207 #define CMDQ_EVENT_GCE_IMG1_EVENT13               
208 #define CMDQ_EVENT_GCE_IMG1_EVENT14               
209 #define CMDQ_EVENT_GCE_IMG1_EVENT15               
210 #define CMDQ_EVENT_GCE_IMG1_EVENT16               
211 #define CMDQ_EVENT_GCE_IMG1_EVENT17               
212 #define CMDQ_EVENT_GCE_IMG1_EVENT18               
213 #define CMDQ_EVENT_GCE_IMG1_EVENT19               
214 #define CMDQ_EVENT_GCE_IMG1_EVENT20               
215 #define CMDQ_EVENT_GCE_IMG1_EVENT21               
216 #define CMDQ_EVENT_GCE_IMG1_EVENT22               
217 #define CMDQ_EVENT_GCE_IMG1_EVENT23               
218 /* MDP */                                         
219 #define CMDQ_EVENT_MDP_RDMA0_SOF                  
220 #define CMDQ_EVENT_MDP_RDMA1_SOF                  
221 #define CMDQ_EVENT_MDP_AAL0_SOF                   
222 #define CMDQ_EVENT_MDP_AAL1_SOF                   
223 #define CMDQ_EVENT_MDP_HDR0_SOF                   
224 #define CMDQ_EVENT_MDP_RSZ0_SOF                   
225 #define CMDQ_EVENT_MDP_RSZ1_SOF                   
226 #define CMDQ_EVENT_MDP_WROT0_SOF                  
227 #define CMDQ_EVENT_MDP_WROT1_SOF                  
228 #define CMDQ_EVENT_MDP_TDSHP0_SOF                 
229 #define CMDQ_EVENT_MDP_TDSHP1_SOF                 
230 #define CMDQ_EVENT_IMG_DL_RELAY0_SOF              
231 #define CMDQ_EVENT_IMG_DL_RELAY1_SOF              
232 #define CMDQ_EVENT_MDP_COLOR0_SOF                 
233 #define CMDQ_EVENT_MDP_WROT3_FRAME_DONE           
234 #define CMDQ_EVENT_MDP_WROT2_FRAME_DONE           
235 #define CMDQ_EVENT_MDP_WROT1_FRAME_DONE           
236 #define CMDQ_EVENT_MDP_WROT0_FRAME_DONE           
237 #define CMDQ_EVENT_MDP_TDSHP3_FRAME_DONE          
238 #define CMDQ_EVENT_MDP_TDSHP2_FRAME_DONE          
239 #define CMDQ_EVENT_MDP_TDSHP1_FRAME_DONE          
240 #define CMDQ_EVENT_MDP_TDSHP0_FRAME_DONE          
241 #define CMDQ_EVENT_MDP_RSZ3_FRAME_DONE            
242 #define CMDQ_EVENT_MDP_RSZ2_FRAME_DONE            
243 #define CMDQ_EVENT_MDP_RSZ1_FRAME_DONE            
244 #define CMDQ_EVENT_MDP_RSZ0_FRAME_DONE            
245 #define CMDQ_EVENT_MDP_RDMA3_FRAME_DONE           
246 #define CMDQ_EVENT_MDP_RDMA2_FRAME_DONE           
247 #define CMDQ_EVENT_MDP_RDMA1_FRAME_DONE           
248 #define CMDQ_EVENT_MDP_RDMA0_FRAME_DONE           
249 #define CMDQ_EVENT_MDP_HDR1_FRAME_DONE            
250 #define CMDQ_EVENT_MDP_HDR0_FRAME_DONE            
251 #define CMDQ_EVENT_MDP_COLOR0_FRAME_DONE          
252 #define CMDQ_EVENT_MDP_AAL3_FRAME_DONE            
253 #define CMDQ_EVENT_MDP_AAL2_FRAME_DONE            
254 #define CMDQ_EVENT_MDP_AAL1_FRAME_DONE            
255 #define CMDQ_EVENT_MDP_AAL0_FRAME_DONE            
256 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_0    
257 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
258 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_2    
259 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_3    
260 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_4    
261 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_5    
262 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_6    
263 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_7    
264 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_8    
265 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_9    
266 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
267 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
268 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
269 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
270 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
271 #define CMDQ_EVENT_MDP_STREAM_DONE_ENG_EVENT_1    
272 #define CMDQ_EVENT_MDP_WROT3_SW_RST_DONE_ENG_E    
273 #define CMDQ_EVENT_MDP_WROT2_SW_RST_DONE_ENG_E    
274 #define CMDQ_EVENT_MDP_WROT1_SW_RST_DONE_ENG_E    
275 #define CMDQ_EVENT_MDP_WROT0_SW_RST_DONE_ENG_E    
276 #define CMDQ_EVENT_MDP_RDMA3_SW_RST_DONE_ENG_E    
277 #define CMDQ_EVENT_MDP_RDMA2_SW_RST_DONE_ENG_E    
278 #define CMDQ_EVENT_MDP_RDMA1_SW_RST_DONE_ENG_E    
279 #define CMDQ_EVENT_MDP_RDMA0_SW_RST_DONE_ENG_E    
280 /* DISP */                                        
281 #define CMDQ_EVENT_DISP_OVL0_SOF                  
282 #define CMDQ_EVENT_DISP_OVL0_2L_SOF               
283 #define CMDQ_EVENT_DISP_RDMA0_SOF                 
284 #define CMDQ_EVENT_DISP_RSZ0_SOF                  
285 #define CMDQ_EVENT_DISP_COLOR0_SOF                
286 #define CMDQ_EVENT_DISP_CCORR0_SOF                
287 #define CMDQ_EVENT_DISP_CCORR1_SOF                
288 #define CMDQ_EVENT_DISP_AAL0_SOF                  
289 #define CMDQ_EVENT_DISP_GAMMA0_SOF                
290 #define CMDQ_EVENT_DISP_POSTMASK0_SOF             
291 #define CMDQ_EVENT_DISP_DITHER0_SOF               
292 #define CMDQ_EVENT_DISP_CM0_SOF                   
293 #define CMDQ_EVENT_DISP_SPR0_SOF                  
294 #define CMDQ_EVENT_DISP_DSC_WRAP0_SOF             
295 #define CMDQ_EVENT_DSI0_SOF                       
296 #define CMDQ_EVENT_DISP_WDMA0_SOF                 
297 #define CMDQ_EVENT_DISP_PWM0_SOF                  
298 #define CMDQ_EVENT_DSI0_FRAME_DONE                
299 #define CMDQ_EVENT_DISP_WDMA0_FRAME_DONE          
300 #define CMDQ_EVENT_DISP_SPR0_FRAME_DONE           
301 #define CMDQ_EVENT_DISP_RSZ0_FRAME_DONE           
302 #define CMDQ_EVENT_DISP_RDMA0_FRAME_DONE          
303 #define CMDQ_EVENT_DISP_POSTMASK0_FRAME_DONE      
304 #define CMDQ_EVENT_DISP_OVL0_FRAME_DONE           
305 #define CMDQ_EVENT_DISP_OVL0_2L_FRAME_DONE        
306 #define CMDQ_EVENT_DISP_GAMMA0_FRAME_DONE         
307 #define CMDQ_EVENT_DISP_DSC_WRAP0_CORE0_FRAME_    
308 #define CMDQ_EVENT_DISP_DITHER0_FRAME_DONE        
309 #define CMDQ_EVENT_DISP_COLOR0_FRAME_DONE         
310 #define CMDQ_EVENT_DISP_CM0_FRAME_DONE            
311 #define CMDQ_EVENT_DISP_CCORR1_FRAME_DONE         
312 #define CMDQ_EVENT_DISP_CCORR0_FRAME_DONE         
313 #define CMDQ_EVENT_DISP_AAL0_FRAME_DONE           
314 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
315 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
316 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
317 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
318 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
319 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
320 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
321 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
322 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
323 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
324 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
325 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
326 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
327 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
328 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
329 #define CMDQ_EVENT_DISP_STREAM_DONE_ENG_EVENT_    
330 #define CMDQ_EVENT_DSI0_TE_ENG_EVENT              
331 #define CMDQ_EVENT_DSI0_IRQ_ENG_EVENT             
332 #define CMDQ_EVENT_DSI0_DONE_ENG_EVENT            
333 #define CMDQ_EVENT_DISP_WDMA0_SW_RST_DONE_ENG_    
334 #define CMDQ_EVENT_DISP_SMIASSERT_ENG_EVENT       
335 #define CMDQ_EVENT_DISP_POSTMASK0_RST_DONE_ENG    
336 #define CMDQ_EVENT_DISP_OVL0_RST_DONE_ENG_EVEN    
337 #define CMDQ_EVENT_DISP_OVL0_2L_RST_DONE_ENG_E    
338 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_0       
339 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_1       
340 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_2       
341 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_3       
342 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_4       
343 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_5       
344 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_6       
345 #define CMDQ_EVENT_BUF_UNDERRUN_ENG_EVENT_7       
346 #define CMDQ_EVENT_OUT_EVENT_0                    
347                                                   
348 /* CMDQ sw tokens                                 
349  * Following definitions are gce sw token whic    
350  * event operation API.                           
351  * Note that token 512 to 639 may set secure      
352  */                                               
353                                                   
354 /* end of hw event and begin of sw token */       
355 #define CMDQ_MAX_HW_EVENT                         
356                                                   
357 /* Config thread notify trigger thread */         
358 #define CMDQ_SYNC_TOKEN_CONFIG_DIRTY              
359 /* Trigger thread notify config thread */         
360 #define CMDQ_SYNC_TOKEN_STREAM_EOF                
361 /* Block Trigger thread until the ESD check fi    
362 #define CMDQ_SYNC_TOKEN_ESD_EOF                   
363 #define CMDQ_SYNC_TOKEN_STREAM_BLOCK              
364 /* check CABC setup finish */                     
365 #define CMDQ_SYNC_TOKEN_CABC_EOF                  
366                                                   
367 /* Notify normal CMDQ there are some secure ta    
368  * MUST NOT CHANGE, this token sync with secur    
369  */                                               
370 #define CMDQ_SYNC_SECURE_THR_EOF                  
371                                                   
372 /* CMDQ use sw token */                           
373 #define CMDQ_SYNC_TOKEN_USER_0                    
374 #define CMDQ_SYNC_TOKEN_USER_1                    
375 #define CMDQ_SYNC_TOKEN_POLL_MONITOR              
376 #define CMDQ_SYNC_TOKEN_TPR_LOCK                  
377                                                   
378 /* ISP sw token */                                
379 #define CMDQ_SYNC_TOKEN_MSS                       
380 #define CMDQ_SYNC_TOKEN_MSF                       
381                                                   
382 /* DISP sw token */                               
383 #define CMDQ_SYNC_TOKEN_SODI                      
384                                                   
385 /* GPR access tokens (for register backup)        
386  * There are 15 32-bit GPR, 3 GPR form a set      
387  * (64-bit for address, 32-bit for value)         
388  * MUST NOT CHANGE, these tokens sync with MDP    
389  */                                               
390 #define CMDQ_SYNC_TOKEN_GPR_SET_0                 
391 #define CMDQ_SYNC_TOKEN_GPR_SET_1                 
392 #define CMDQ_SYNC_TOKEN_GPR_SET_2                 
393 #define CMDQ_SYNC_TOKEN_GPR_SET_3                 
394 #define CMDQ_SYNC_TOKEN_GPR_SET_4                 
395                                                   
396 /* Resource lock event to control resource in     
397 #define CMDQ_SYNC_RESOURCE_WROT0                  
398 #define CMDQ_SYNC_RESOURCE_WROT1                  
399                                                   
400 /* event for gpr timer, used in sleep and poll    
401 #define CMDQ_TOKEN_GPR_TIMER_R0                   
402 #define CMDQ_TOKEN_GPR_TIMER_R1                   
403 #define CMDQ_TOKEN_GPR_TIMER_R2                   
404 #define CMDQ_TOKEN_GPR_TIMER_R3                   
405 #define CMDQ_TOKEN_GPR_TIMER_R4                   
406 #define CMDQ_TOKEN_GPR_TIMER_R5                   
407 #define CMDQ_TOKEN_GPR_TIMER_R6                   
408 #define CMDQ_TOKEN_GPR_TIMER_R7                   
409 #define CMDQ_TOKEN_GPR_TIMER_R8                   
410 #define CMDQ_TOKEN_GPR_TIMER_R9                   
411 #define CMDQ_TOKEN_GPR_TIMER_R10                  
412 #define CMDQ_TOKEN_GPR_TIMER_R11                  
413 #define CMDQ_TOKEN_GPR_TIMER_R12                  
414 #define CMDQ_TOKEN_GPR_TIMER_R13                  
415 #define CMDQ_TOKEN_GPR_TIMER_R14                  
416 #define CMDQ_TOKEN_GPR_TIMER_R15                  
417                                                   
418 #define CMDQ_EVENT_MAX                            
419 /* CMDQ sw tokens END */                          
420                                                   
421 #endif                                            
422                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php