1*6c982cf8SHawking Zhang /*
2*6c982cf8SHawking Zhang  * Copyright 2021 Advanced Micro Devices, Inc.
3*6c982cf8SHawking Zhang  *
4*6c982cf8SHawking Zhang  * Permission is hereby granted, free of charge, to any person obtaining a
5*6c982cf8SHawking Zhang  * copy of this software and associated documentation files (the "Software"),
6*6c982cf8SHawking Zhang  * to deal in the Software without restriction, including without limitation
7*6c982cf8SHawking Zhang  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8*6c982cf8SHawking Zhang  * and/or sell copies of the Software, and to permit persons to whom the
9*6c982cf8SHawking Zhang  * Software is furnished to do so, subject to the following conditions:
10*6c982cf8SHawking Zhang  *
11*6c982cf8SHawking Zhang  * The above copyright notice and this permission notice shall be included in
12*6c982cf8SHawking Zhang  * all copies or substantial portions of the Software.
13*6c982cf8SHawking Zhang  *
14*6c982cf8SHawking Zhang  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*6c982cf8SHawking Zhang  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*6c982cf8SHawking Zhang  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17*6c982cf8SHawking Zhang  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18*6c982cf8SHawking Zhang  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19*6c982cf8SHawking Zhang  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20*6c982cf8SHawking Zhang  * OTHER DEALINGS IN THE SOFTWARE.
21*6c982cf8SHawking Zhang  *
22*6c982cf8SHawking Zhang  */
23*6c982cf8SHawking Zhang #ifndef __CLEARSTATE_GFX11_H_
24*6c982cf8SHawking Zhang #define __CLEARSTATE_GFX11_H_
25*6c982cf8SHawking Zhang 
26*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_1[] =
27*6c982cf8SHawking Zhang {
28*6c982cf8SHawking Zhang     0x00000000, // DB_RENDER_CONTROL
29*6c982cf8SHawking Zhang     0x00000000, // DB_COUNT_CONTROL
30*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_VIEW
31*6c982cf8SHawking Zhang     0x00000000, // DB_RENDER_OVERRIDE
32*6c982cf8SHawking Zhang     0x00000000, // DB_RENDER_OVERRIDE2
33*6c982cf8SHawking Zhang     0x00000000, // DB_HTILE_DATA_BASE
34*6c982cf8SHawking Zhang     0, // HOLE
35*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_SIZE_XY
36*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_BOUNDS_MIN
37*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_BOUNDS_MAX
38*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_CLEAR
39*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_CLEAR
40*6c982cf8SHawking Zhang     0x00000000, // PA_SC_SCREEN_SCISSOR_TL
41*6c982cf8SHawking Zhang     0x40004000, // PA_SC_SCREEN_SCISSOR_BR
42*6c982cf8SHawking Zhang     0x00000000, // DB_DFSM_CONTROL
43*6c982cf8SHawking Zhang     0x00000000, // DB_RESERVED_REG_2
44*6c982cf8SHawking Zhang     0x00000000, // DB_Z_INFO
45*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_INFO
46*6c982cf8SHawking Zhang     0x00000000, // DB_Z_READ_BASE
47*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_READ_BASE
48*6c982cf8SHawking Zhang     0x00000000, // DB_Z_WRITE_BASE
49*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_WRITE_BASE
50*6c982cf8SHawking Zhang     0x00000000, // DB_RESERVED_REG_1
51*6c982cf8SHawking Zhang     0x00000000, // DB_RESERVED_REG_3
52*6c982cf8SHawking Zhang     0x00000000, // DB_SPI_VRS_CENTER_LOCATION
53*6c982cf8SHawking Zhang     0x00000000, // DB_VRS_OVERRIDE_CNTL
54*6c982cf8SHawking Zhang     0x00000000, // DB_Z_READ_BASE_HI
55*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_READ_BASE_HI
56*6c982cf8SHawking Zhang     0x00000000, // DB_Z_WRITE_BASE_HI
57*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_WRITE_BASE_HI
58*6c982cf8SHawking Zhang     0x00000000, // DB_HTILE_DATA_BASE_HI
59*6c982cf8SHawking Zhang     0x00150055, // DB_RMI_L2_CACHE_CONTROL
60*6c982cf8SHawking Zhang     0x00000000, // TA_BC_BASE_ADDR
61*6c982cf8SHawking Zhang     0x00000000, // TA_BC_BASE_ADDR_HI
62*6c982cf8SHawking Zhang     0, // HOLE
63*6c982cf8SHawking Zhang     0, // HOLE
64*6c982cf8SHawking Zhang     0, // HOLE
65*6c982cf8SHawking Zhang     0, // HOLE
66*6c982cf8SHawking Zhang     0, // HOLE
67*6c982cf8SHawking Zhang     0, // HOLE
68*6c982cf8SHawking Zhang     0, // HOLE
69*6c982cf8SHawking Zhang     0, // HOLE
70*6c982cf8SHawking Zhang     0, // HOLE
71*6c982cf8SHawking Zhang     0, // HOLE
72*6c982cf8SHawking Zhang     0, // HOLE
73*6c982cf8SHawking Zhang     0, // HOLE
74*6c982cf8SHawking Zhang     0, // HOLE
75*6c982cf8SHawking Zhang     0, // HOLE
76*6c982cf8SHawking Zhang     0, // HOLE
77*6c982cf8SHawking Zhang     0, // HOLE
78*6c982cf8SHawking Zhang     0, // HOLE
79*6c982cf8SHawking Zhang     0, // HOLE
80*6c982cf8SHawking Zhang     0, // HOLE
81*6c982cf8SHawking Zhang     0, // HOLE
82*6c982cf8SHawking Zhang     0, // HOLE
83*6c982cf8SHawking Zhang     0, // HOLE
84*6c982cf8SHawking Zhang     0, // HOLE
85*6c982cf8SHawking Zhang     0, // HOLE
86*6c982cf8SHawking Zhang     0, // HOLE
87*6c982cf8SHawking Zhang     0, // HOLE
88*6c982cf8SHawking Zhang     0, // HOLE
89*6c982cf8SHawking Zhang     0, // HOLE
90*6c982cf8SHawking Zhang     0, // HOLE
91*6c982cf8SHawking Zhang     0, // HOLE
92*6c982cf8SHawking Zhang     0, // HOLE
93*6c982cf8SHawking Zhang     0, // HOLE
94*6c982cf8SHawking Zhang     0, // HOLE
95*6c982cf8SHawking Zhang     0, // HOLE
96*6c982cf8SHawking Zhang     0, // HOLE
97*6c982cf8SHawking Zhang     0, // HOLE
98*6c982cf8SHawking Zhang     0, // HOLE
99*6c982cf8SHawking Zhang     0, // HOLE
100*6c982cf8SHawking Zhang     0, // HOLE
101*6c982cf8SHawking Zhang     0, // HOLE
102*6c982cf8SHawking Zhang     0, // HOLE
103*6c982cf8SHawking Zhang     0, // HOLE
104*6c982cf8SHawking Zhang     0, // HOLE
105*6c982cf8SHawking Zhang     0, // HOLE
106*6c982cf8SHawking Zhang     0, // HOLE
107*6c982cf8SHawking Zhang     0, // HOLE
108*6c982cf8SHawking Zhang     0, // HOLE
109*6c982cf8SHawking Zhang     0, // HOLE
110*6c982cf8SHawking Zhang     0, // HOLE
111*6c982cf8SHawking Zhang     0, // HOLE
112*6c982cf8SHawking Zhang     0, // HOLE
113*6c982cf8SHawking Zhang     0, // HOLE
114*6c982cf8SHawking Zhang     0, // HOLE
115*6c982cf8SHawking Zhang     0, // HOLE
116*6c982cf8SHawking Zhang     0, // HOLE
117*6c982cf8SHawking Zhang     0, // HOLE
118*6c982cf8SHawking Zhang     0, // HOLE
119*6c982cf8SHawking Zhang     0, // HOLE
120*6c982cf8SHawking Zhang     0, // HOLE
121*6c982cf8SHawking Zhang     0, // HOLE
122*6c982cf8SHawking Zhang     0, // HOLE
123*6c982cf8SHawking Zhang     0, // HOLE
124*6c982cf8SHawking Zhang     0, // HOLE
125*6c982cf8SHawking Zhang     0, // HOLE
126*6c982cf8SHawking Zhang     0, // HOLE
127*6c982cf8SHawking Zhang     0, // HOLE
128*6c982cf8SHawking Zhang     0, // HOLE
129*6c982cf8SHawking Zhang     0, // HOLE
130*6c982cf8SHawking Zhang     0, // HOLE
131*6c982cf8SHawking Zhang     0, // HOLE
132*6c982cf8SHawking Zhang     0, // HOLE
133*6c982cf8SHawking Zhang     0, // HOLE
134*6c982cf8SHawking Zhang     0, // HOLE
135*6c982cf8SHawking Zhang     0, // HOLE
136*6c982cf8SHawking Zhang     0, // HOLE
137*6c982cf8SHawking Zhang     0, // HOLE
138*6c982cf8SHawking Zhang     0, // HOLE
139*6c982cf8SHawking Zhang     0, // HOLE
140*6c982cf8SHawking Zhang     0, // HOLE
141*6c982cf8SHawking Zhang     0, // HOLE
142*6c982cf8SHawking Zhang     0, // HOLE
143*6c982cf8SHawking Zhang     0, // HOLE
144*6c982cf8SHawking Zhang     0, // HOLE
145*6c982cf8SHawking Zhang     0, // HOLE
146*6c982cf8SHawking Zhang     0, // HOLE
147*6c982cf8SHawking Zhang     0, // HOLE
148*6c982cf8SHawking Zhang     0, // HOLE
149*6c982cf8SHawking Zhang     0, // HOLE
150*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_HI_0
151*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_HI_1
152*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_HI_2
153*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_HI_3
154*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_2
155*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_3
156*6c982cf8SHawking Zhang     0x00000000, // PA_SC_WINDOW_OFFSET
157*6c982cf8SHawking Zhang     0x80000000, // PA_SC_WINDOW_SCISSOR_TL
158*6c982cf8SHawking Zhang     0x40004000, // PA_SC_WINDOW_SCISSOR_BR
159*6c982cf8SHawking Zhang     0x0000ffff, // PA_SC_CLIPRECT_RULE
160*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CLIPRECT_0_TL
161*6c982cf8SHawking Zhang     0x40004000, // PA_SC_CLIPRECT_0_BR
162*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CLIPRECT_1_TL
163*6c982cf8SHawking Zhang     0x40004000, // PA_SC_CLIPRECT_1_BR
164*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CLIPRECT_2_TL
165*6c982cf8SHawking Zhang     0x40004000, // PA_SC_CLIPRECT_2_BR
166*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CLIPRECT_3_TL
167*6c982cf8SHawking Zhang     0x40004000, // PA_SC_CLIPRECT_3_BR
168*6c982cf8SHawking Zhang     0xaa99aaaa, // PA_SC_EDGERULE
169*6c982cf8SHawking Zhang     0x00000000, // PA_SU_HARDWARE_SCREEN_OFFSET
170*6c982cf8SHawking Zhang     0xffffffff, // CB_TARGET_MASK
171*6c982cf8SHawking Zhang     0xffffffff, // CB_SHADER_MASK
172*6c982cf8SHawking Zhang     0x80000000, // PA_SC_GENERIC_SCISSOR_TL
173*6c982cf8SHawking Zhang     0x40004000, // PA_SC_GENERIC_SCISSOR_BR
174*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_0
175*6c982cf8SHawking Zhang     0x00000000, // COHER_DEST_BASE_1
176*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_0_TL
177*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_0_BR
178*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_1_TL
179*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_1_BR
180*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_2_TL
181*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_2_BR
182*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_3_TL
183*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_3_BR
184*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_4_TL
185*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_4_BR
186*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_5_TL
187*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_5_BR
188*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_6_TL
189*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_6_BR
190*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_7_TL
191*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_7_BR
192*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_8_TL
193*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_8_BR
194*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_9_TL
195*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_9_BR
196*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_10_TL
197*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_10_BR
198*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_11_TL
199*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_11_BR
200*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_12_TL
201*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_12_BR
202*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_13_TL
203*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_13_BR
204*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_14_TL
205*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_14_BR
206*6c982cf8SHawking Zhang     0x80000000, // PA_SC_VPORT_SCISSOR_15_TL
207*6c982cf8SHawking Zhang     0x40004000, // PA_SC_VPORT_SCISSOR_15_BR
208*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_0
209*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_0
210*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_1
211*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_1
212*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_2
213*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_2
214*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_3
215*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_3
216*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_4
217*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_4
218*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_5
219*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_5
220*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_6
221*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_6
222*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_7
223*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_7
224*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_8
225*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_8
226*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_9
227*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_9
228*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_10
229*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_10
230*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_11
231*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_11
232*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_12
233*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_12
234*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_13
235*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_13
236*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_14
237*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_14
238*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VPORT_ZMIN_15
239*6c982cf8SHawking Zhang     0x3f800000, // PA_SC_VPORT_ZMAX_15
240*6c982cf8SHawking Zhang     0x00000000, // PA_SC_RASTER_CONFIG
241*6c982cf8SHawking Zhang     0x00000000, // PA_SC_RASTER_CONFIG_1
242*6c982cf8SHawking Zhang     0x00000000, // PA_SC_SCREEN_EXTENT_CONTROL
243*6c982cf8SHawking Zhang };
244*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_2[] =
245*6c982cf8SHawking Zhang {
246*6c982cf8SHawking Zhang     0x00000000, // CP_PERFMON_CNTX_CNTL
247*6c982cf8SHawking Zhang     0x00000000, // CP_PIPEID
248*6c982cf8SHawking Zhang     0x00000000, // CP_VMID
249*6c982cf8SHawking Zhang     0x00000000, // CONTEXT_RESERVED_REG0
250*6c982cf8SHawking Zhang     0x00000000, // CONTEXT_RESERVED_REG1
251*6c982cf8SHawking Zhang     0, // HOLE
252*6c982cf8SHawking Zhang     0, // HOLE
253*6c982cf8SHawking Zhang     0, // HOLE
254*6c982cf8SHawking Zhang     0, // HOLE
255*6c982cf8SHawking Zhang     0, // HOLE
256*6c982cf8SHawking Zhang     0, // HOLE
257*6c982cf8SHawking Zhang     0, // HOLE
258*6c982cf8SHawking Zhang     0, // HOLE
259*6c982cf8SHawking Zhang     0, // HOLE
260*6c982cf8SHawking Zhang     0, // HOLE
261*6c982cf8SHawking Zhang     0, // HOLE
262*6c982cf8SHawking Zhang     0, // HOLE
263*6c982cf8SHawking Zhang     0, // HOLE
264*6c982cf8SHawking Zhang     0, // HOLE
265*6c982cf8SHawking Zhang     0, // HOLE
266*6c982cf8SHawking Zhang     0, // HOLE
267*6c982cf8SHawking Zhang     0, // HOLE
268*6c982cf8SHawking Zhang     0, // HOLE
269*6c982cf8SHawking Zhang     0, // HOLE
270*6c982cf8SHawking Zhang     0x00000000, // PA_SC_FSR_EN
271*6c982cf8SHawking Zhang     0x00000000, // PA_SC_FSR_FBW_RECURSIONS_X
272*6c982cf8SHawking Zhang     0x00000000, // PA_SC_FSR_FBW_RECURSIONS_Y
273*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_FEEDBACK_VIEW
274*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_OVERRIDE_CNTL
275*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_FEEDBACK_BASE
276*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_FEEDBACK_BASE_EXT
277*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_FEEDBACK_SIZE_XY
278*6c982cf8SHawking Zhang     0x00000000, // PA_SC_BINNER_OUTPUT_TIMEOUT_CNTL
279*6c982cf8SHawking Zhang     0, // HOLE
280*6c982cf8SHawking Zhang     0, // HOLE
281*6c982cf8SHawking Zhang     0, // HOLE
282*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_BASE
283*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_BASE_EXT
284*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_SIZE_XY
285*6c982cf8SHawking Zhang     0x00000000, // PA_SC_VRS_RATE_VIEW
286*6c982cf8SHawking Zhang     0xffffffff, // VGT_MAX_VTX_INDX
287*6c982cf8SHawking Zhang     0x00000000, // VGT_MIN_VTX_INDX
288*6c982cf8SHawking Zhang     0x00000000, // VGT_INDX_OFFSET
289*6c982cf8SHawking Zhang     0x00000000, // VGT_MULTI_PRIM_IB_RESET_INDX
290*6c982cf8SHawking Zhang     0x00550055, // CB_RMI_GL2_CACHE_CONTROL
291*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND_RED
292*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND_GREEN
293*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND_BLUE
294*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND_ALPHA
295*6c982cf8SHawking Zhang     0x00000000, // CB_DCC_CONTROL
296*6c982cf8SHawking Zhang     0x00000000, // CB_COVERAGE_OUT_CONTROL
297*6c982cf8SHawking Zhang     0x00000000, // DB_STENCIL_CONTROL
298*6c982cf8SHawking Zhang     0x01000000, // DB_STENCILREFMASK
299*6c982cf8SHawking Zhang     0x01000000, // DB_STENCILREFMASK_BF
300*6c982cf8SHawking Zhang     0, // HOLE
301*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE
302*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET
303*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE
304*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET
305*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE
306*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET
307*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_1
308*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_1
309*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_1
310*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_1
311*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_1
312*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_1
313*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_2
314*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_2
315*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_2
316*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_2
317*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_2
318*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_2
319*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_3
320*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_3
321*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_3
322*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_3
323*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_3
324*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_3
325*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_4
326*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_4
327*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_4
328*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_4
329*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_4
330*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_4
331*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_5
332*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_5
333*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_5
334*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_5
335*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_5
336*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_5
337*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_6
338*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_6
339*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_6
340*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_6
341*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_6
342*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_6
343*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_7
344*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_7
345*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_7
346*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_7
347*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_7
348*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_7
349*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_8
350*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_8
351*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_8
352*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_8
353*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_8
354*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_8
355*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_9
356*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_9
357*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_9
358*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_9
359*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_9
360*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_9
361*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_10
362*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_10
363*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_10
364*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_10
365*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_10
366*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_10
367*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_11
368*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_11
369*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_11
370*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_11
371*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_11
372*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_11
373*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_12
374*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_12
375*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_12
376*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_12
377*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_12
378*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_12
379*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_13
380*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_13
381*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_13
382*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_13
383*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_13
384*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_13
385*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_14
386*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_14
387*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_14
388*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_14
389*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_14
390*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_14
391*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XSCALE_15
392*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_XOFFSET_15
393*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YSCALE_15
394*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_YOFFSET_15
395*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZSCALE_15
396*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VPORT_ZOFFSET_15
397*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_0_X
398*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_0_Y
399*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_0_Z
400*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_0_W
401*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_1_X
402*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_1_Y
403*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_1_Z
404*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_1_W
405*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_2_X
406*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_2_Y
407*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_2_Z
408*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_2_W
409*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_3_X
410*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_3_Y
411*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_3_Z
412*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_3_W
413*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_4_X
414*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_4_Y
415*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_4_Z
416*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_4_W
417*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_5_X
418*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_5_Y
419*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_5_Z
420*6c982cf8SHawking Zhang     0x00000000, // PA_CL_UCP_5_W
421*6c982cf8SHawking Zhang     0x00000000, // PA_CL_PROG_NEAR_CLIP_Z
422*6c982cf8SHawking Zhang     0x00000000, // PA_RATE_CNTL
423*6c982cf8SHawking Zhang     0, // HOLE
424*6c982cf8SHawking Zhang     0, // HOLE
425*6c982cf8SHawking Zhang     0, // HOLE
426*6c982cf8SHawking Zhang     0, // HOLE
427*6c982cf8SHawking Zhang     0, // HOLE
428*6c982cf8SHawking Zhang     0, // HOLE
429*6c982cf8SHawking Zhang     0, // HOLE
430*6c982cf8SHawking Zhang     0, // HOLE
431*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_0
432*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_1
433*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_2
434*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_3
435*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_4
436*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_5
437*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_6
438*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_7
439*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_8
440*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_9
441*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_10
442*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_11
443*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_12
444*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_13
445*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_14
446*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_15
447*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_16
448*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_17
449*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_18
450*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_19
451*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_20
452*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_21
453*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_22
454*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_23
455*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_24
456*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_25
457*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_26
458*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_27
459*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_28
460*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_29
461*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_30
462*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_CNTL_31
463*6c982cf8SHawking Zhang     0x00000000, // SPI_VS_OUT_CONFIG
464*6c982cf8SHawking Zhang     0, // HOLE
465*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_ENA
466*6c982cf8SHawking Zhang     0x00000000, // SPI_PS_INPUT_ADDR
467*6c982cf8SHawking Zhang     0x00000000, // SPI_INTERP_CONTROL_0
468*6c982cf8SHawking Zhang     0x00000002, // SPI_PS_IN_CONTROL
469*6c982cf8SHawking Zhang     0x00000000, // SPI_BARYC_SSAA_CNTL
470*6c982cf8SHawking Zhang     0x00000000, // SPI_BARYC_CNTL
471*6c982cf8SHawking Zhang     0, // HOLE
472*6c982cf8SHawking Zhang     0x00000000, // SPI_TMPRING_SIZE
473*6c982cf8SHawking Zhang     0, // HOLE
474*6c982cf8SHawking Zhang     0, // HOLE
475*6c982cf8SHawking Zhang     0, // HOLE
476*6c982cf8SHawking Zhang     0, // HOLE
477*6c982cf8SHawking Zhang     0, // HOLE
478*6c982cf8SHawking Zhang     0, // HOLE
479*6c982cf8SHawking Zhang     0, // HOLE
480*6c982cf8SHawking Zhang     0x00000000, // SPI_SHADER_IDX_FORMAT
481*6c982cf8SHawking Zhang     0x00000000, // SPI_SHADER_POS_FORMAT
482*6c982cf8SHawking Zhang     0x00000000, // SPI_SHADER_Z_FORMAT
483*6c982cf8SHawking Zhang     0x00000000, // SPI_SHADER_COL_FORMAT
484*6c982cf8SHawking Zhang     0, // HOLE
485*6c982cf8SHawking Zhang     0, // HOLE
486*6c982cf8SHawking Zhang     0, // HOLE
487*6c982cf8SHawking Zhang     0, // HOLE
488*6c982cf8SHawking Zhang     0, // HOLE
489*6c982cf8SHawking Zhang     0, // HOLE
490*6c982cf8SHawking Zhang     0, // HOLE
491*6c982cf8SHawking Zhang     0, // HOLE
492*6c982cf8SHawking Zhang     0, // HOLE
493*6c982cf8SHawking Zhang     0, // HOLE
494*6c982cf8SHawking Zhang     0, // HOLE
495*6c982cf8SHawking Zhang     0, // HOLE
496*6c982cf8SHawking Zhang     0, // HOLE
497*6c982cf8SHawking Zhang     0, // HOLE
498*6c982cf8SHawking Zhang     0x00000000, // SX_PS_DOWNCONVERT_CONTROL
499*6c982cf8SHawking Zhang     0x00000000, // SX_PS_DOWNCONVERT
500*6c982cf8SHawking Zhang     0x00000000, // SX_BLEND_OPT_EPSILON
501*6c982cf8SHawking Zhang     0x00000000, // SX_BLEND_OPT_CONTROL
502*6c982cf8SHawking Zhang     0x00000000, // SX_MRT0_BLEND_OPT
503*6c982cf8SHawking Zhang     0x00000000, // SX_MRT1_BLEND_OPT
504*6c982cf8SHawking Zhang     0x00000000, // SX_MRT2_BLEND_OPT
505*6c982cf8SHawking Zhang     0x00000000, // SX_MRT3_BLEND_OPT
506*6c982cf8SHawking Zhang     0x00000000, // SX_MRT4_BLEND_OPT
507*6c982cf8SHawking Zhang     0x00000000, // SX_MRT5_BLEND_OPT
508*6c982cf8SHawking Zhang     0x00000000, // SX_MRT6_BLEND_OPT
509*6c982cf8SHawking Zhang     0x00000000, // SX_MRT7_BLEND_OPT
510*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND0_CONTROL
511*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND1_CONTROL
512*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND2_CONTROL
513*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND3_CONTROL
514*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND4_CONTROL
515*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND5_CONTROL
516*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND6_CONTROL
517*6c982cf8SHawking Zhang     0x00000000, // CB_BLEND7_CONTROL
518*6c982cf8SHawking Zhang };
519*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_3[] =
520*6c982cf8SHawking Zhang {
521*6c982cf8SHawking Zhang     0x00000000, // PA_CL_POINT_X_RAD
522*6c982cf8SHawking Zhang     0x00000000, // PA_CL_POINT_Y_RAD
523*6c982cf8SHawking Zhang     0x00000000, // PA_CL_POINT_SIZE
524*6c982cf8SHawking Zhang     0x00000000, // PA_CL_POINT_CULL_RAD
525*6c982cf8SHawking Zhang };
526*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_4[] =
527*6c982cf8SHawking Zhang {
528*6c982cf8SHawking Zhang     0x00000000, // GE_MAX_OUTPUT_PER_SUBGROUP
529*6c982cf8SHawking Zhang     0x00000000, // DB_DEPTH_CONTROL
530*6c982cf8SHawking Zhang     0x00000000, // DB_EQAA
531*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR_CONTROL
532*6c982cf8SHawking Zhang     0x00000000, // DB_SHADER_CONTROL
533*6c982cf8SHawking Zhang     0x00090000, // PA_CL_CLIP_CNTL
534*6c982cf8SHawking Zhang     0x00000004, // PA_SU_SC_MODE_CNTL
535*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VTE_CNTL
536*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VS_OUT_CNTL
537*6c982cf8SHawking Zhang     0x00000000, // PA_CL_NANINF_CNTL
538*6c982cf8SHawking Zhang     0x00000000, // PA_SU_LINE_STIPPLE_CNTL
539*6c982cf8SHawking Zhang     0x00000000, // PA_SU_LINE_STIPPLE_SCALE
540*6c982cf8SHawking Zhang     0x00000000, // PA_SU_PRIM_FILTER_CNTL
541*6c982cf8SHawking Zhang     0x00000000, // PA_SU_SMALL_PRIM_FILTER_CNTL
542*6c982cf8SHawking Zhang     0, // HOLE
543*6c982cf8SHawking Zhang     0x00000000, // PA_CL_NGG_CNTL
544*6c982cf8SHawking Zhang     0x00000000, // PA_SU_OVER_RASTERIZATION_CNTL
545*6c982cf8SHawking Zhang     0x00000000, // PA_STEREO_CNTL
546*6c982cf8SHawking Zhang     0x00000000, // PA_STATE_STEREO_X
547*6c982cf8SHawking Zhang     0x00000000, // PA_CL_VRS_CNTL
548*6c982cf8SHawking Zhang     0x00000000, // PA_SIDEBAND_REQUEST_DELAYS
549*6c982cf8SHawking Zhang     0, // HOLE
550*6c982cf8SHawking Zhang     0, // HOLE
551*6c982cf8SHawking Zhang     0, // HOLE
552*6c982cf8SHawking Zhang     0, // HOLE
553*6c982cf8SHawking Zhang     0, // HOLE
554*6c982cf8SHawking Zhang     0, // HOLE
555*6c982cf8SHawking Zhang     0, // HOLE
556*6c982cf8SHawking Zhang     0, // HOLE
557*6c982cf8SHawking Zhang     0, // HOLE
558*6c982cf8SHawking Zhang     0, // HOLE
559*6c982cf8SHawking Zhang     0, // HOLE
560*6c982cf8SHawking Zhang     0, // HOLE
561*6c982cf8SHawking Zhang     0, // HOLE
562*6c982cf8SHawking Zhang     0, // HOLE
563*6c982cf8SHawking Zhang     0, // HOLE
564*6c982cf8SHawking Zhang     0, // HOLE
565*6c982cf8SHawking Zhang     0, // HOLE
566*6c982cf8SHawking Zhang     0, // HOLE
567*6c982cf8SHawking Zhang     0, // HOLE
568*6c982cf8SHawking Zhang     0, // HOLE
569*6c982cf8SHawking Zhang     0, // HOLE
570*6c982cf8SHawking Zhang     0, // HOLE
571*6c982cf8SHawking Zhang     0, // HOLE
572*6c982cf8SHawking Zhang     0, // HOLE
573*6c982cf8SHawking Zhang     0, // HOLE
574*6c982cf8SHawking Zhang     0, // HOLE
575*6c982cf8SHawking Zhang     0, // HOLE
576*6c982cf8SHawking Zhang     0, // HOLE
577*6c982cf8SHawking Zhang     0, // HOLE
578*6c982cf8SHawking Zhang     0, // HOLE
579*6c982cf8SHawking Zhang     0, // HOLE
580*6c982cf8SHawking Zhang     0, // HOLE
581*6c982cf8SHawking Zhang     0, // HOLE
582*6c982cf8SHawking Zhang     0, // HOLE
583*6c982cf8SHawking Zhang     0, // HOLE
584*6c982cf8SHawking Zhang     0, // HOLE
585*6c982cf8SHawking Zhang     0, // HOLE
586*6c982cf8SHawking Zhang     0, // HOLE
587*6c982cf8SHawking Zhang     0, // HOLE
588*6c982cf8SHawking Zhang     0, // HOLE
589*6c982cf8SHawking Zhang     0, // HOLE
590*6c982cf8SHawking Zhang     0, // HOLE
591*6c982cf8SHawking Zhang     0, // HOLE
592*6c982cf8SHawking Zhang     0, // HOLE
593*6c982cf8SHawking Zhang     0, // HOLE
594*6c982cf8SHawking Zhang     0, // HOLE
595*6c982cf8SHawking Zhang     0, // HOLE
596*6c982cf8SHawking Zhang     0, // HOLE
597*6c982cf8SHawking Zhang     0, // HOLE
598*6c982cf8SHawking Zhang     0, // HOLE
599*6c982cf8SHawking Zhang     0, // HOLE
600*6c982cf8SHawking Zhang     0, // HOLE
601*6c982cf8SHawking Zhang     0, // HOLE
602*6c982cf8SHawking Zhang     0, // HOLE
603*6c982cf8SHawking Zhang     0, // HOLE
604*6c982cf8SHawking Zhang     0, // HOLE
605*6c982cf8SHawking Zhang     0, // HOLE
606*6c982cf8SHawking Zhang     0, // HOLE
607*6c982cf8SHawking Zhang     0, // HOLE
608*6c982cf8SHawking Zhang     0, // HOLE
609*6c982cf8SHawking Zhang     0, // HOLE
610*6c982cf8SHawking Zhang     0, // HOLE
611*6c982cf8SHawking Zhang     0, // HOLE
612*6c982cf8SHawking Zhang     0, // HOLE
613*6c982cf8SHawking Zhang     0, // HOLE
614*6c982cf8SHawking Zhang     0, // HOLE
615*6c982cf8SHawking Zhang     0, // HOLE
616*6c982cf8SHawking Zhang     0, // HOLE
617*6c982cf8SHawking Zhang     0, // HOLE
618*6c982cf8SHawking Zhang     0, // HOLE
619*6c982cf8SHawking Zhang     0, // HOLE
620*6c982cf8SHawking Zhang     0, // HOLE
621*6c982cf8SHawking Zhang     0, // HOLE
622*6c982cf8SHawking Zhang     0, // HOLE
623*6c982cf8SHawking Zhang     0, // HOLE
624*6c982cf8SHawking Zhang     0, // HOLE
625*6c982cf8SHawking Zhang     0, // HOLE
626*6c982cf8SHawking Zhang     0, // HOLE
627*6c982cf8SHawking Zhang     0, // HOLE
628*6c982cf8SHawking Zhang     0, // HOLE
629*6c982cf8SHawking Zhang     0, // HOLE
630*6c982cf8SHawking Zhang     0, // HOLE
631*6c982cf8SHawking Zhang     0, // HOLE
632*6c982cf8SHawking Zhang     0, // HOLE
633*6c982cf8SHawking Zhang     0, // HOLE
634*6c982cf8SHawking Zhang     0, // HOLE
635*6c982cf8SHawking Zhang     0, // HOLE
636*6c982cf8SHawking Zhang     0, // HOLE
637*6c982cf8SHawking Zhang     0, // HOLE
638*6c982cf8SHawking Zhang     0, // HOLE
639*6c982cf8SHawking Zhang     0, // HOLE
640*6c982cf8SHawking Zhang     0, // HOLE
641*6c982cf8SHawking Zhang     0, // HOLE
642*6c982cf8SHawking Zhang     0, // HOLE
643*6c982cf8SHawking Zhang     0, // HOLE
644*6c982cf8SHawking Zhang     0, // HOLE
645*6c982cf8SHawking Zhang     0, // HOLE
646*6c982cf8SHawking Zhang     0, // HOLE
647*6c982cf8SHawking Zhang     0, // HOLE
648*6c982cf8SHawking Zhang     0, // HOLE
649*6c982cf8SHawking Zhang     0, // HOLE
650*6c982cf8SHawking Zhang     0, // HOLE
651*6c982cf8SHawking Zhang     0, // HOLE
652*6c982cf8SHawking Zhang     0, // HOLE
653*6c982cf8SHawking Zhang     0, // HOLE
654*6c982cf8SHawking Zhang     0, // HOLE
655*6c982cf8SHawking Zhang     0, // HOLE
656*6c982cf8SHawking Zhang     0, // HOLE
657*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POINT_SIZE
658*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POINT_MINMAX
659*6c982cf8SHawking Zhang     0x00000000, // PA_SU_LINE_CNTL
660*6c982cf8SHawking Zhang     0x00000000, // PA_SC_LINE_STIPPLE
661*6c982cf8SHawking Zhang     0x00000000, // VGT_OUTPUT_PATH_CNTL
662*6c982cf8SHawking Zhang     0x00000000, // VGT_HOS_CNTL
663*6c982cf8SHawking Zhang     0x00000000, // VGT_HOS_MAX_TESS_LEVEL
664*6c982cf8SHawking Zhang     0x00000000, // VGT_HOS_MIN_TESS_LEVEL
665*6c982cf8SHawking Zhang     0x00000000, // VGT_HOS_REUSE_DEPTH
666*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_PRIM_TYPE
667*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_FIRST_DECR
668*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_DECR
669*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_VECT_0_CNTL
670*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_VECT_1_CNTL
671*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_VECT_0_FMT_CNTL
672*6c982cf8SHawking Zhang     0x00000000, // VGT_GROUP_VECT_1_FMT_CNTL
673*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_MODE
674*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_ONCHIP_CNTL
675*6c982cf8SHawking Zhang     0x00000000, // PA_SC_MODE_CNTL_0
676*6c982cf8SHawking Zhang     0x00000000, // PA_SC_MODE_CNTL_1
677*6c982cf8SHawking Zhang     0x00000000, // VGT_ENHANCE
678*6c982cf8SHawking Zhang     0x00000100, // VGT_GS_PER_ES
679*6c982cf8SHawking Zhang     0x00000080, // VGT_ES_PER_GS
680*6c982cf8SHawking Zhang     0x00000002, // VGT_GS_PER_VS
681*6c982cf8SHawking Zhang     0x00000000, // VGT_GSVS_RING_OFFSET_1
682*6c982cf8SHawking Zhang     0x00000000, // VGT_GSVS_RING_OFFSET_2
683*6c982cf8SHawking Zhang     0x00000000, // VGT_GSVS_RING_OFFSET_3
684*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_OUT_PRIM_TYPE
685*6c982cf8SHawking Zhang     0x00000000, // IA_ENHANCE
686*6c982cf8SHawking Zhang };
687*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_5[] =
688*6c982cf8SHawking Zhang {
689*6c982cf8SHawking Zhang     0x00000000, // WD_ENHANCE
690*6c982cf8SHawking Zhang     0x00000000, // VGT_PRIMITIVEID_EN
691*6c982cf8SHawking Zhang };
692*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_6[] =
693*6c982cf8SHawking Zhang {
694*6c982cf8SHawking Zhang     0x00000000, // VGT_PRIMITIVEID_RESET
695*6c982cf8SHawking Zhang };
696*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_7[] =
697*6c982cf8SHawking Zhang {
698*6c982cf8SHawking Zhang     0x00000000, // VGT_MULTI_PRIM_IB_RESET_EN
699*6c982cf8SHawking Zhang     0x00000000, // VGT_DRAW_PAYLOAD_CNTL
700*6c982cf8SHawking Zhang     0, // HOLE
701*6c982cf8SHawking Zhang     0x00000000, // VGT_INSTANCE_STEP_RATE_0
702*6c982cf8SHawking Zhang     0x00000000, // VGT_INSTANCE_STEP_RATE_1
703*6c982cf8SHawking Zhang     0x000000ff, // IA_MULTI_VGT_PARAM
704*6c982cf8SHawking Zhang     0x00000000, // VGT_ESGS_RING_ITEMSIZE
705*6c982cf8SHawking Zhang     0x00000000, // VGT_GSVS_RING_ITEMSIZE
706*6c982cf8SHawking Zhang     0x00000000, // VGT_REUSE_OFF
707*6c982cf8SHawking Zhang     0x00000000, // VGT_VTX_CNT_EN
708*6c982cf8SHawking Zhang     0x00000000, // DB_HTILE_SURFACE
709*6c982cf8SHawking Zhang     0x00000000, // DB_SRESULTS_COMPARE_STATE0
710*6c982cf8SHawking Zhang     0x00000000, // DB_SRESULTS_COMPARE_STATE1
711*6c982cf8SHawking Zhang     0x00000000, // DB_PRELOAD_CONTROL
712*6c982cf8SHawking Zhang     0, // HOLE
713*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_0
714*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_VTX_STRIDE_0
715*6c982cf8SHawking Zhang     0, // HOLE
716*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_0
717*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_1
718*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_VTX_STRIDE_1
719*6c982cf8SHawking Zhang     0, // HOLE
720*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_1
721*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_2
722*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_VTX_STRIDE_2
723*6c982cf8SHawking Zhang     0, // HOLE
724*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_2
725*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_3
726*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_VTX_STRIDE_3
727*6c982cf8SHawking Zhang     0, // HOLE
728*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_3
729*6c982cf8SHawking Zhang     0, // HOLE
730*6c982cf8SHawking Zhang     0, // HOLE
731*6c982cf8SHawking Zhang     0, // HOLE
732*6c982cf8SHawking Zhang     0, // HOLE
733*6c982cf8SHawking Zhang     0, // HOLE
734*6c982cf8SHawking Zhang     0, // HOLE
735*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_OFFSET
736*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_BUFFER_FILLED_SIZE
737*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE
738*6c982cf8SHawking Zhang     0, // HOLE
739*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_MAX_VERT_OUT
740*6c982cf8SHawking Zhang     0, // HOLE
741*6c982cf8SHawking Zhang     0, // HOLE
742*6c982cf8SHawking Zhang     0, // HOLE
743*6c982cf8SHawking Zhang     0, // HOLE
744*6c982cf8SHawking Zhang     0x00000000, // GE_NGG_SUBGRP_CNTL
745*6c982cf8SHawking Zhang     0x00000000, // VGT_TESS_DISTRIBUTION
746*6c982cf8SHawking Zhang     0x00000000, // VGT_SHADER_STAGES_EN
747*6c982cf8SHawking Zhang     0x00000000, // VGT_LS_HS_CONFIG
748*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_VERT_ITEMSIZE
749*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_VERT_ITEMSIZE_1
750*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_VERT_ITEMSIZE_2
751*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_VERT_ITEMSIZE_3
752*6c982cf8SHawking Zhang     0x00000000, // VGT_TF_PARAM
753*6c982cf8SHawking Zhang     0x00000000, // DB_ALPHA_TO_MASK
754*6c982cf8SHawking Zhang     0, // HOLE
755*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_DB_FMT_CNTL
756*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_CLAMP
757*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_FRONT_SCALE
758*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_FRONT_OFFSET
759*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_BACK_SCALE
760*6c982cf8SHawking Zhang     0x00000000, // PA_SU_POLY_OFFSET_BACK_OFFSET
761*6c982cf8SHawking Zhang     0x00000000, // VGT_GS_INSTANCE_CNT
762*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_CONFIG
763*6c982cf8SHawking Zhang     0x00000000, // VGT_STRMOUT_BUFFER_CONFIG
764*6c982cf8SHawking Zhang };
765*6c982cf8SHawking Zhang static const unsigned int gfx11_SECT_CONTEXT_def_8[] =
766*6c982cf8SHawking Zhang {
767*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CENTROID_PRIORITY_0
768*6c982cf8SHawking Zhang     0x00000000, // PA_SC_CENTROID_PRIORITY_1
769*6c982cf8SHawking Zhang     0x00001000, // PA_SC_LINE_CNTL
770*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_CONFIG
771*6c982cf8SHawking Zhang     0x00000005, // PA_SU_VTX_CNTL
772*6c982cf8SHawking Zhang     0x3f800000, // PA_CL_GB_VERT_CLIP_ADJ
773*6c982cf8SHawking Zhang     0x3f800000, // PA_CL_GB_VERT_DISC_ADJ
774*6c982cf8SHawking Zhang     0x3f800000, // PA_CL_GB_HORZ_CLIP_ADJ
775*6c982cf8SHawking Zhang     0x3f800000, // PA_CL_GB_HORZ_DISC_ADJ
776*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_0
777*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_1
778*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_2
779*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y0_3
780*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_0
781*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_1
782*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_2
783*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y0_3
784*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_0
785*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_1
786*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_2
787*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X0Y1_3
788*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_0
789*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_1
790*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_2
791*6c982cf8SHawking Zhang     0x00000000, // PA_SC_AA_SAMPLE_LOCS_PIXEL_X1Y1_3
792*6c982cf8SHawking Zhang     0xffffffff, // PA_SC_AA_MASK_X0Y0_X1Y0
793*6c982cf8SHawking Zhang     0xffffffff, // PA_SC_AA_MASK_X0Y1_X1Y1
794*6c982cf8SHawking Zhang     0x00000000, // PA_SC_SHADER_CONTROL
795*6c982cf8SHawking Zhang     0x00000003, // PA_SC_BINNER_CNTL_0
796*6c982cf8SHawking Zhang     0x00000000, // PA_SC_BINNER_CNTL_1
797*6c982cf8SHawking Zhang     0x00100000, // PA_SC_CONSERVATIVE_RASTERIZATION_CNTL
798*6c982cf8SHawking Zhang     0x00000000, // PA_SC_NGG_MODE_CNTL
799*6c982cf8SHawking Zhang     0x00000000, // PA_SC_BINNER_CNTL_2
800*6c982cf8SHawking Zhang     0x0000001e, // VGT_VERTEX_REUSE_BLOCK_CNTL
801*6c982cf8SHawking Zhang     0x00000020, // VGT_OUT_DEALLOC_CNTL
802*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_BASE
803*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_PITCH
804*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_SLICE
805*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_VIEW
806*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_INFO
807*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_ATTRIB
808*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_DCC_CONTROL
809*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_CMASK
810*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_CMASK_SLICE
811*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_FMASK
812*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_FMASK_SLICE
813*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_CLEAR_WORD0
814*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_CLEAR_WORD1
815*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_DCC_BASE
816*6c982cf8SHawking Zhang     0, // HOLE
817*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_BASE
818*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_PITCH
819*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_SLICE
820*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_VIEW
821*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_INFO
822*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_ATTRIB
823*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_DCC_CONTROL
824*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_CMASK
825*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_CMASK_SLICE
826*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_FMASK
827*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_FMASK_SLICE
828*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_CLEAR_WORD0
829*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_CLEAR_WORD1
830*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_DCC_BASE
831*6c982cf8SHawking Zhang     0, // HOLE
832*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_BASE
833*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_PITCH
834*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_SLICE
835*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_VIEW
836*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_INFO
837*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_ATTRIB
838*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_DCC_CONTROL
839*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_CMASK
840*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_CMASK_SLICE
841*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_FMASK
842*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_FMASK_SLICE
843*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_CLEAR_WORD0
844*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_CLEAR_WORD1
845*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_DCC_BASE
846*6c982cf8SHawking Zhang     0, // HOLE
847*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_BASE
848*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_PITCH
849*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_SLICE
850*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_VIEW
851*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_INFO
852*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_ATTRIB
853*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_DCC_CONTROL
854*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_CMASK
855*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_CMASK_SLICE
856*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_FMASK
857*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_FMASK_SLICE
858*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_CLEAR_WORD0
859*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_CLEAR_WORD1
860*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_DCC_BASE
861*6c982cf8SHawking Zhang     0, // HOLE
862*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_BASE
863*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_PITCH
864*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_SLICE
865*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_VIEW
866*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_INFO
867*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_ATTRIB
868*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_DCC_CONTROL
869*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_CMASK
870*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_CMASK_SLICE
871*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_FMASK
872*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_FMASK_SLICE
873*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_CLEAR_WORD0
874*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_CLEAR_WORD1
875*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_DCC_BASE
876*6c982cf8SHawking Zhang     0, // HOLE
877*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_BASE
878*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_PITCH
879*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_SLICE
880*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_VIEW
881*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_INFO
882*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_ATTRIB
883*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_DCC_CONTROL
884*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_CMASK
885*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_CMASK_SLICE
886*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_FMASK
887*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_FMASK_SLICE
888*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_CLEAR_WORD0
889*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_CLEAR_WORD1
890*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_DCC_BASE
891*6c982cf8SHawking Zhang     0, // HOLE
892*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_BASE
893*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_PITCH
894*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_SLICE
895*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_VIEW
896*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_INFO
897*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_ATTRIB
898*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_DCC_CONTROL
899*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_CMASK
900*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_CMASK_SLICE
901*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_FMASK
902*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_FMASK_SLICE
903*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_CLEAR_WORD0
904*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_CLEAR_WORD1
905*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_DCC_BASE
906*6c982cf8SHawking Zhang     0, // HOLE
907*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_BASE
908*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_PITCH
909*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_SLICE
910*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_VIEW
911*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_INFO
912*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_ATTRIB
913*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_DCC_CONTROL
914*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_CMASK
915*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_CMASK_SLICE
916*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_FMASK
917*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_FMASK_SLICE
918*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_CLEAR_WORD0
919*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_CLEAR_WORD1
920*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_DCC_BASE
921*6c982cf8SHawking Zhang     0, // HOLE
922*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_BASE_EXT
923*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_BASE_EXT
924*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_BASE_EXT
925*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_BASE_EXT
926*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_BASE_EXT
927*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_BASE_EXT
928*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_BASE_EXT
929*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_BASE_EXT
930*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_CMASK_BASE_EXT
931*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_CMASK_BASE_EXT
932*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_CMASK_BASE_EXT
933*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_CMASK_BASE_EXT
934*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_CMASK_BASE_EXT
935*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_CMASK_BASE_EXT
936*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_CMASK_BASE_EXT
937*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_CMASK_BASE_EXT
938*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_FMASK_BASE_EXT
939*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_FMASK_BASE_EXT
940*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_FMASK_BASE_EXT
941*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_FMASK_BASE_EXT
942*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_FMASK_BASE_EXT
943*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_FMASK_BASE_EXT
944*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_FMASK_BASE_EXT
945*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_FMASK_BASE_EXT
946*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_DCC_BASE_EXT
947*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_DCC_BASE_EXT
948*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_DCC_BASE_EXT
949*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_DCC_BASE_EXT
950*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_DCC_BASE_EXT
951*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_DCC_BASE_EXT
952*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_DCC_BASE_EXT
953*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_DCC_BASE_EXT
954*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_ATTRIB2
955*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_ATTRIB2
956*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_ATTRIB2
957*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_ATTRIB2
958*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_ATTRIB2
959*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_ATTRIB2
960*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_ATTRIB2
961*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_ATTRIB2
962*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR0_ATTRIB3
963*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR1_ATTRIB3
964*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR2_ATTRIB3
965*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR3_ATTRIB3
966*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR4_ATTRIB3
967*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR5_ATTRIB3
968*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR6_ATTRIB3
969*6c982cf8SHawking Zhang     0x00000000, // CB_COLOR7_ATTRIB3
970*6c982cf8SHawking Zhang };
971*6c982cf8SHawking Zhang static const struct cs_extent_def gfx11_SECT_CONTEXT_defs[] =
972*6c982cf8SHawking Zhang {
973*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_1, 0x0000a000, 215 },
974*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_2, 0x0000a0d8, 272 },
975*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_3, 0x0000a1f5, 4 },
976*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_4, 0x0000a1ff, 158 },
977*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_5, 0x0000a2a0, 2 },
978*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_6, 0x0000a2a3, 1 },
979*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_7, 0x0000a2a5, 66 },
980*6c982cf8SHawking Zhang     {gfx11_SECT_CONTEXT_def_8, 0x0000a2f5, 203 },
981*6c982cf8SHawking Zhang     { 0, 0, 0 }
982*6c982cf8SHawking Zhang };
983*6c982cf8SHawking Zhang static const struct cs_section_def gfx11_cs_data[] = {
984*6c982cf8SHawking Zhang     { gfx11_SECT_CONTEXT_defs, SECT_CONTEXT },
985*6c982cf8SHawking Zhang     { 0, SECT_NONE }
986*6c982cf8SHawking Zhang };
987*6c982cf8SHawking Zhang 
988*6c982cf8SHawking Zhang #endif /* __CLEARSTATE_GFX11_H_ */
989