xref: /dflybsd-src/sys/dev/drm/radeon/clearstate_evergreen.h (revision 4cd92098975238a3e2cfccf057598cf2a5e54b55)
157e252bfSMichael Neumann /*
257e252bfSMichael Neumann  * Copyright 2012 Advanced Micro Devices, Inc.
357e252bfSMichael Neumann  *
457e252bfSMichael Neumann  * Permission is hereby granted, free of charge, to any person obtaining a
557e252bfSMichael Neumann  * copy of this software and associated documentation files (the "Software"),
657e252bfSMichael Neumann  * to deal in the Software without restriction, including without limitation
757e252bfSMichael Neumann  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
857e252bfSMichael Neumann  * and/or sell copies of the Software, and to permit persons to whom the
957e252bfSMichael Neumann  * Software is furnished to do so, subject to the following conditions:
1057e252bfSMichael Neumann  *
1157e252bfSMichael Neumann  * The above copyright notice and this permission notice shall be included in
1257e252bfSMichael Neumann  * all copies or substantial portions of the Software.
1357e252bfSMichael Neumann  *
1457e252bfSMichael Neumann  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1557e252bfSMichael Neumann  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1657e252bfSMichael Neumann  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1757e252bfSMichael Neumann  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
1857e252bfSMichael Neumann  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1957e252bfSMichael Neumann  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2057e252bfSMichael Neumann  * OTHER DEALINGS IN THE SOFTWARE.
2157e252bfSMichael Neumann  *
2257e252bfSMichael Neumann  */
2357e252bfSMichael Neumann 
2457e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_1[] =
2557e252bfSMichael Neumann {
2657e252bfSMichael Neumann     0x00000000, // DB_RENDER_CONTROL
2757e252bfSMichael Neumann     0x00000000, // DB_COUNT_CONTROL
2857e252bfSMichael Neumann     0x00000000, // DB_DEPTH_VIEW
2957e252bfSMichael Neumann     0x00000000, // DB_RENDER_OVERRIDE
3057e252bfSMichael Neumann     0x00000000, // DB_RENDER_OVERRIDE2
3157e252bfSMichael Neumann     0x00000000, // DB_HTILE_DATA_BASE
3257e252bfSMichael Neumann     0, // HOLE
3357e252bfSMichael Neumann     0, // HOLE
3457e252bfSMichael Neumann     0, // HOLE
3557e252bfSMichael Neumann     0, // HOLE
3657e252bfSMichael Neumann     0x00000000, // DB_STENCIL_CLEAR
3757e252bfSMichael Neumann     0x00000000, // DB_DEPTH_CLEAR
3857e252bfSMichael Neumann     0x00000000, // PA_SC_SCREEN_SCISSOR_TL
3957e252bfSMichael Neumann     0x40004000, // PA_SC_SCREEN_SCISSOR_BR
4057e252bfSMichael Neumann     0, // HOLE
4157e252bfSMichael Neumann     0, // HOLE
4257e252bfSMichael Neumann     0x00000000, // DB_Z_INFO
4357e252bfSMichael Neumann     0x00000000, // DB_STENCIL_INFO
4457e252bfSMichael Neumann     0x00000000, // DB_Z_READ_BASE
4557e252bfSMichael Neumann     0x00000000, // DB_STENCIL_READ_BASE
4657e252bfSMichael Neumann     0x00000000, // DB_Z_WRITE_BASE
4757e252bfSMichael Neumann     0x00000000, // DB_STENCIL_WRITE_BASE
4857e252bfSMichael Neumann     0x00000000, // DB_DEPTH_SIZE
4957e252bfSMichael Neumann     0x00000000, // DB_DEPTH_SLICE
5057e252bfSMichael Neumann     0, // HOLE
5157e252bfSMichael Neumann     0, // HOLE
5257e252bfSMichael Neumann     0, // HOLE
5357e252bfSMichael Neumann     0, // HOLE
5457e252bfSMichael Neumann     0, // HOLE
5557e252bfSMichael Neumann     0, // HOLE
5657e252bfSMichael Neumann     0, // HOLE
5757e252bfSMichael Neumann     0, // HOLE
5857e252bfSMichael Neumann     0, // HOLE
5957e252bfSMichael Neumann     0, // HOLE
6057e252bfSMichael Neumann     0, // HOLE
6157e252bfSMichael Neumann     0, // HOLE
6257e252bfSMichael Neumann     0, // HOLE
6357e252bfSMichael Neumann     0, // HOLE
6457e252bfSMichael Neumann     0, // HOLE
6557e252bfSMichael Neumann     0, // HOLE
6657e252bfSMichael Neumann     0, // HOLE
6757e252bfSMichael Neumann     0, // HOLE
6857e252bfSMichael Neumann     0, // HOLE
6957e252bfSMichael Neumann     0, // HOLE
7057e252bfSMichael Neumann     0, // HOLE
7157e252bfSMichael Neumann     0, // HOLE
7257e252bfSMichael Neumann     0, // HOLE
7357e252bfSMichael Neumann     0, // HOLE
7457e252bfSMichael Neumann     0, // HOLE
7557e252bfSMichael Neumann     0, // HOLE
7657e252bfSMichael Neumann     0, // HOLE
7757e252bfSMichael Neumann     0, // HOLE
7857e252bfSMichael Neumann     0, // HOLE
7957e252bfSMichael Neumann     0, // HOLE
8057e252bfSMichael Neumann     0, // HOLE
8157e252bfSMichael Neumann     0, // HOLE
8257e252bfSMichael Neumann     0, // HOLE
8357e252bfSMichael Neumann     0, // HOLE
8457e252bfSMichael Neumann     0, // HOLE
8557e252bfSMichael Neumann     0, // HOLE
8657e252bfSMichael Neumann     0, // HOLE
8757e252bfSMichael Neumann     0, // HOLE
8857e252bfSMichael Neumann     0, // HOLE
8957e252bfSMichael Neumann     0, // HOLE
9057e252bfSMichael Neumann     0, // HOLE
9157e252bfSMichael Neumann     0, // HOLE
9257e252bfSMichael Neumann     0, // HOLE
9357e252bfSMichael Neumann     0, // HOLE
9457e252bfSMichael Neumann     0, // HOLE
9557e252bfSMichael Neumann     0, // HOLE
9657e252bfSMichael Neumann     0, // HOLE
9757e252bfSMichael Neumann     0, // HOLE
9857e252bfSMichael Neumann     0, // HOLE
9957e252bfSMichael Neumann     0, // HOLE
10057e252bfSMichael Neumann     0, // HOLE
10157e252bfSMichael Neumann     0, // HOLE
10257e252bfSMichael Neumann     0, // HOLE
10357e252bfSMichael Neumann     0, // HOLE
10457e252bfSMichael Neumann     0, // HOLE
10557e252bfSMichael Neumann     0, // HOLE
10657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_0
10757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_1
10857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_2
10957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_3
11057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_4
11157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_5
11257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_6
11357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_7
11457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_8
11557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_9
11657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_10
11757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_11
11857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_12
11957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_13
12057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_14
12157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_PS_15
12257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_0
12357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_1
12457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_2
12557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_3
12657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_4
12757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_5
12857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_6
12957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_7
13057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_8
13157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_9
13257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_10
13357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_11
13457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_12
13557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_13
13657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_14
13757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_VS_15
13857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_0
13957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_1
14057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_2
14157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_3
14257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_4
14357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_5
14457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_6
14557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_7
14657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_8
14757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_9
14857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_10
14957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_11
15057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_12
15157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_13
15257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_14
15357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_GS_15
15457e252bfSMichael Neumann     0x00000000, // PA_SC_WINDOW_OFFSET
15557e252bfSMichael Neumann     0x80000000, // PA_SC_WINDOW_SCISSOR_TL
15657e252bfSMichael Neumann     0x40004000, // PA_SC_WINDOW_SCISSOR_BR
15757e252bfSMichael Neumann     0x0000ffff, // PA_SC_CLIPRECT_RULE
15857e252bfSMichael Neumann     0x00000000, // PA_SC_CLIPRECT_0_TL
15957e252bfSMichael Neumann     0x40004000, // PA_SC_CLIPRECT_0_BR
16057e252bfSMichael Neumann     0x00000000, // PA_SC_CLIPRECT_1_TL
16157e252bfSMichael Neumann     0x40004000, // PA_SC_CLIPRECT_1_BR
16257e252bfSMichael Neumann     0x00000000, // PA_SC_CLIPRECT_2_TL
16357e252bfSMichael Neumann     0x40004000, // PA_SC_CLIPRECT_2_BR
16457e252bfSMichael Neumann     0x00000000, // PA_SC_CLIPRECT_3_TL
16557e252bfSMichael Neumann     0x40004000, // PA_SC_CLIPRECT_3_BR
16657e252bfSMichael Neumann     0xaa99aaaa, // PA_SC_EDGERULE
16757e252bfSMichael Neumann     0x00000000, // PA_SU_HARDWARE_SCREEN_OFFSET
16857e252bfSMichael Neumann     0xffffffff, // CB_TARGET_MASK
16957e252bfSMichael Neumann     0xffffffff, // CB_SHADER_MASK
17057e252bfSMichael Neumann     0x80000000, // PA_SC_GENERIC_SCISSOR_TL
17157e252bfSMichael Neumann     0x40004000, // PA_SC_GENERIC_SCISSOR_BR
17257e252bfSMichael Neumann     0x00000000, // COHER_DEST_BASE_0
17357e252bfSMichael Neumann     0x00000000, // COHER_DEST_BASE_1
17457e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_0_TL
17557e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_0_BR
17657e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_1_TL
17757e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_1_BR
17857e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_2_TL
17957e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_2_BR
18057e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_3_TL
18157e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_3_BR
18257e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_4_TL
18357e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_4_BR
18457e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_5_TL
18557e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_5_BR
18657e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_6_TL
18757e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_6_BR
18857e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_7_TL
18957e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_7_BR
19057e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_8_TL
19157e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_8_BR
19257e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_9_TL
19357e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_9_BR
19457e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_10_TL
19557e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_10_BR
19657e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_11_TL
19757e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_11_BR
19857e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_12_TL
19957e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_12_BR
20057e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_13_TL
20157e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_13_BR
20257e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_14_TL
20357e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_14_BR
20457e252bfSMichael Neumann     0x80000000, // PA_SC_VPORT_SCISSOR_15_TL
20557e252bfSMichael Neumann     0x40004000, // PA_SC_VPORT_SCISSOR_15_BR
20657e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_0
20757e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_0
20857e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_1
20957e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_1
21057e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_2
21157e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_2
21257e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_3
21357e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_3
21457e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_4
21557e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_4
21657e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_5
21757e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_5
21857e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_6
21957e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_6
22057e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_7
22157e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_7
22257e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_8
22357e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_8
22457e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_9
22557e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_9
22657e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_10
22757e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_10
22857e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_11
22957e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_11
23057e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_12
23157e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_12
23257e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_13
23357e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_13
23457e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_14
23557e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_14
23657e252bfSMichael Neumann     0x00000000, // PA_SC_VPORT_ZMIN_15
23757e252bfSMichael Neumann     0x3f800000, // PA_SC_VPORT_ZMAX_15
23857e252bfSMichael Neumann     0x00000000, // SX_MISC
23957e252bfSMichael Neumann     0x00000000, // SX_SURFACE_SYNC
24057e252bfSMichael Neumann     0x00000000, // CP_PERFMON_CNTX_CNTL
24157e252bfSMichael Neumann     0, // HOLE
24257e252bfSMichael Neumann     0, // HOLE
24357e252bfSMichael Neumann     0, // HOLE
24457e252bfSMichael Neumann     0, // HOLE
24557e252bfSMichael Neumann     0, // HOLE
24657e252bfSMichael Neumann     0, // HOLE
24757e252bfSMichael Neumann     0, // HOLE
24857e252bfSMichael Neumann     0, // HOLE
24957e252bfSMichael Neumann     0, // HOLE
25057e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_0
25157e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_1
25257e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_2
25357e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_3
25457e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_4
25557e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_5
25657e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_6
25757e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_7
25857e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_8
25957e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_9
26057e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_10
26157e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_11
26257e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_12
26357e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_13
26457e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_14
26557e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_15
26657e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_16
26757e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_17
26857e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_18
26957e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_19
27057e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_20
27157e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_21
27257e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_22
27357e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_23
27457e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_24
27557e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_25
27657e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_26
27757e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_27
27857e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_28
27957e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_29
28057e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_30
28157e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_31
28257e252bfSMichael Neumann     0xffffffff, // VGT_MAX_VTX_INDX
28357e252bfSMichael Neumann     0x00000000, // VGT_MIN_VTX_INDX
28457e252bfSMichael Neumann     0x00000000, // VGT_INDX_OFFSET
28557e252bfSMichael Neumann     0x00000000, // VGT_MULTI_PRIM_IB_RESET_INDX
28657e252bfSMichael Neumann     0x00000000, // SX_ALPHA_TEST_CONTROL
28757e252bfSMichael Neumann     0x00000000, // CB_BLEND_RED
28857e252bfSMichael Neumann     0x00000000, // CB_BLEND_GREEN
28957e252bfSMichael Neumann     0x00000000, // CB_BLEND_BLUE
29057e252bfSMichael Neumann     0x00000000, // CB_BLEND_ALPHA
29157e252bfSMichael Neumann     0, // HOLE
29257e252bfSMichael Neumann     0, // HOLE
29357e252bfSMichael Neumann     0, // HOLE
29457e252bfSMichael Neumann     0x00000000, // DB_STENCILREFMASK
29557e252bfSMichael Neumann     0x00000000, // DB_STENCILREFMASK_BF
29657e252bfSMichael Neumann     0x00000000, // SX_ALPHA_REF
29757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE
29857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET
29957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE
30057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET
30157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE
30257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET
30357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_1
30457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_1
30557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_1
30657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_1
30757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_1
30857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_1
30957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_2
31057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_2
31157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_2
31257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_2
31357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_2
31457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_2
31557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_3
31657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_3
31757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_3
31857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_3
31957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_3
32057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_3
32157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_4
32257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_4
32357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_4
32457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_4
32557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_4
32657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_4
32757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_5
32857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_5
32957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_5
33057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_5
33157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_5
33257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_5
33357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_6
33457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_6
33557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_6
33657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_6
33757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_6
33857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_6
33957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_7
34057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_7
34157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_7
34257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_7
34357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_7
34457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_7
34557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_8
34657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_8
34757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_8
34857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_8
34957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_8
35057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_8
35157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_9
35257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_9
35357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_9
35457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_9
35557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_9
35657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_9
35757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_10
35857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_10
35957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_10
36057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_10
36157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_10
36257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_10
36357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_11
36457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_11
36557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_11
36657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_11
36757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_11
36857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_11
36957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_12
37057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_12
37157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_12
37257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_12
37357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_12
37457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_12
37557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_13
37657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_13
37757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_13
37857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_13
37957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_13
38057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_13
38157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_14
38257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_14
38357e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_14
38457e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_14
38557e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_14
38657e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_14
38757e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XSCALE_15
38857e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_XOFFSET_15
38957e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YSCALE_15
39057e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_YOFFSET_15
39157e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZSCALE_15
39257e252bfSMichael Neumann     0x00000000, // PA_CL_VPORT_ZOFFSET_15
39357e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_0_X
39457e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_0_Y
39557e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_0_Z
39657e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_0_W
39757e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_1_X
39857e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_1_Y
39957e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_1_Z
40057e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_1_W
40157e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_2_X
40257e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_2_Y
40357e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_2_Z
40457e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_2_W
40557e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_3_X
40657e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_3_Y
40757e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_3_Z
40857e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_3_W
40957e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_4_X
41057e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_4_Y
41157e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_4_Z
41257e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_4_W
41357e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_5_X
41457e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_5_Y
41557e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_5_Z
41657e252bfSMichael Neumann     0x00000000, // PA_CL_UCP_5_W
41757e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_0
41857e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_1
41957e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_2
42057e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_3
42157e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_4
42257e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_5
42357e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_6
42457e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_7
42557e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_8
42657e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_ID_9
42757e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_0
42857e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_1
42957e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_2
43057e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_3
43157e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_4
43257e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_5
43357e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_6
43457e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_7
43557e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_8
43657e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_9
43757e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_10
43857e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_11
43957e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_12
44057e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_13
44157e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_14
44257e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_15
44357e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_16
44457e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_17
44557e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_18
44657e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_19
44757e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_20
44857e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_21
44957e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_22
45057e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_23
45157e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_24
45257e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_25
45357e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_26
45457e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_27
45557e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_28
45657e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_29
45757e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_30
45857e252bfSMichael Neumann     0x00000000, // SPI_PS_INPUT_CNTL_31
45957e252bfSMichael Neumann     0x00000000, // SPI_VS_OUT_CONFIG
46057e252bfSMichael Neumann     0x00000001, // SPI_THREAD_GROUPING
46157e252bfSMichael Neumann     0x00000000, // SPI_PS_IN_CONTROL_0
46257e252bfSMichael Neumann     0x00000000, // SPI_PS_IN_CONTROL_1
46357e252bfSMichael Neumann     0x00000000, // SPI_INTERP_CONTROL_0
46457e252bfSMichael Neumann     0x00000000, // SPI_INPUT_Z
46557e252bfSMichael Neumann     0x00000000, // SPI_FOG_CNTL
46657e252bfSMichael Neumann     0x00000000, // SPI_BARYC_CNTL
46757e252bfSMichael Neumann     0x00000000, // SPI_PS_IN_CONTROL_2
46857e252bfSMichael Neumann     0x00000000, // SPI_COMPUTE_INPUT_CNTL
46957e252bfSMichael Neumann     0x00000000, // SPI_COMPUTE_NUM_THREAD_X
47057e252bfSMichael Neumann     0x00000000, // SPI_COMPUTE_NUM_THREAD_Y
47157e252bfSMichael Neumann     0x00000000, // SPI_COMPUTE_NUM_THREAD_Z
47257e252bfSMichael Neumann     0, // HOLE
47357e252bfSMichael Neumann     0, // HOLE
47457e252bfSMichael Neumann     0, // HOLE
47557e252bfSMichael Neumann     0, // HOLE
47657e252bfSMichael Neumann     0, // HOLE
47757e252bfSMichael Neumann     0, // HOLE
47857e252bfSMichael Neumann     0, // HOLE
47957e252bfSMichael Neumann     0, // HOLE
48057e252bfSMichael Neumann     0, // HOLE
48157e252bfSMichael Neumann     0, // HOLE
48257e252bfSMichael Neumann     0x00000000, // GDS_ADDR_BASE
48357e252bfSMichael Neumann     0x00003fff, // GDS_ADDR_SIZE
48457e252bfSMichael Neumann     0x00000001, // GDS_ORDERED_WAVE_PER_SE
48557e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV0
48657e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV1
48757e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV2
48857e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV3
48957e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV4
49057e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV5
49157e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV6
49257e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV7
49357e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV8
49457e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV9
49557e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV10
49657e252bfSMichael Neumann     0x00000000, // GDS_APPEND_CONSUME_UAV11
49757e252bfSMichael Neumann     0, // HOLE
49857e252bfSMichael Neumann     0, // HOLE
49957e252bfSMichael Neumann     0, // HOLE
50057e252bfSMichael Neumann     0, // HOLE
50157e252bfSMichael Neumann     0, // HOLE
50257e252bfSMichael Neumann     0, // HOLE
50357e252bfSMichael Neumann     0, // HOLE
50457e252bfSMichael Neumann     0, // HOLE
50557e252bfSMichael Neumann     0, // HOLE
50657e252bfSMichael Neumann     0x00000000, // CB_BLEND0_CONTROL
50757e252bfSMichael Neumann     0x00000000, // CB_BLEND1_CONTROL
50857e252bfSMichael Neumann     0x00000000, // CB_BLEND2_CONTROL
50957e252bfSMichael Neumann     0x00000000, // CB_BLEND3_CONTROL
51057e252bfSMichael Neumann     0x00000000, // CB_BLEND4_CONTROL
51157e252bfSMichael Neumann     0x00000000, // CB_BLEND5_CONTROL
51257e252bfSMichael Neumann     0x00000000, // CB_BLEND6_CONTROL
51357e252bfSMichael Neumann     0x00000000, // CB_BLEND7_CONTROL
51457e252bfSMichael Neumann };
51557e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_2[] =
51657e252bfSMichael Neumann {
51757e252bfSMichael Neumann     0x00000000, // PA_CL_POINT_X_RAD
51857e252bfSMichael Neumann     0x00000000, // PA_CL_POINT_Y_RAD
51957e252bfSMichael Neumann     0x00000000, // PA_CL_POINT_SIZE
52057e252bfSMichael Neumann     0x00000000, // PA_CL_POINT_CULL_RAD
52157e252bfSMichael Neumann     0x00000000, // VGT_DMA_BASE_HI
52257e252bfSMichael Neumann     0x00000000, // VGT_DMA_BASE
52357e252bfSMichael Neumann };
52457e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_3[] =
52557e252bfSMichael Neumann {
52657e252bfSMichael Neumann     0x00000000, // DB_DEPTH_CONTROL
52757e252bfSMichael Neumann     0, // HOLE
52857e252bfSMichael Neumann     0x00000000, // CB_COLOR_CONTROL
52957e252bfSMichael Neumann     0x00000200, // DB_SHADER_CONTROL
53057e252bfSMichael Neumann     0x00000000, // PA_CL_CLIP_CNTL
53157e252bfSMichael Neumann     0x00000000, // PA_SU_SC_MODE_CNTL
53257e252bfSMichael Neumann     0x00000000, // PA_CL_VTE_CNTL
53357e252bfSMichael Neumann     0x00000000, // PA_CL_VS_OUT_CNTL
53457e252bfSMichael Neumann     0x00000000, // PA_CL_NANINF_CNTL
53557e252bfSMichael Neumann     0x00000000, // PA_SU_LINE_STIPPLE_CNTL
53657e252bfSMichael Neumann     0x00000000, // PA_SU_LINE_STIPPLE_SCALE
53757e252bfSMichael Neumann     0x00000000, // PA_SU_PRIM_FILTER_CNTL
53857e252bfSMichael Neumann     0x00000000, // SQ_LSTMP_RING_ITEMSIZE
53957e252bfSMichael Neumann     0x00000000, // SQ_HSTMP_RING_ITEMSIZE
54057e252bfSMichael Neumann     0x00000000, // SQ_DYN_GPR_RESOURCE_LIMIT_1
54157e252bfSMichael Neumann     0, // HOLE
54257e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_PS
54357e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_PS
54457e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_PS
54557e252bfSMichael Neumann     0x00000000, // SQ_PGM_EXPORTS_PS
54657e252bfSMichael Neumann     0, // HOLE
54757e252bfSMichael Neumann     0, // HOLE
54857e252bfSMichael Neumann     0, // HOLE
54957e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_VS
55057e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_VS
55157e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_VS
55257e252bfSMichael Neumann     0, // HOLE
55357e252bfSMichael Neumann     0, // HOLE
55457e252bfSMichael Neumann     0, // HOLE
55557e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_GS
55657e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_GS
55757e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_GS
55857e252bfSMichael Neumann     0, // HOLE
55957e252bfSMichael Neumann     0, // HOLE
56057e252bfSMichael Neumann     0, // HOLE
56157e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_ES
56257e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_ES
56357e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_ES
56457e252bfSMichael Neumann     0, // HOLE
56557e252bfSMichael Neumann     0, // HOLE
56657e252bfSMichael Neumann     0, // HOLE
56757e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_FS
56857e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_FS
56957e252bfSMichael Neumann     0, // HOLE
57057e252bfSMichael Neumann     0, // HOLE
57157e252bfSMichael Neumann     0, // HOLE
57257e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_HS
57357e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_HS
57457e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_HS
57557e252bfSMichael Neumann     0, // HOLE
57657e252bfSMichael Neumann     0, // HOLE
57757e252bfSMichael Neumann     0, // HOLE
57857e252bfSMichael Neumann     0x00000000, // SQ_PGM_START_LS
57957e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_LS
58057e252bfSMichael Neumann     0x00000000, // SQ_PGM_RESOURCES_2_LS
58157e252bfSMichael Neumann };
58257e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_4[] =
58357e252bfSMichael Neumann {
58457e252bfSMichael Neumann     0x00000000, // SQ_LDS_ALLOC
58557e252bfSMichael Neumann     0x00000000, // SQ_LDS_ALLOC_PS
58657e252bfSMichael Neumann     0x00000000, // SQ_VTX_SEMANTIC_CLEAR
58757e252bfSMichael Neumann     0, // HOLE
58857e252bfSMichael Neumann     0x00000000, // SQ_THREAD_TRACE_CTRL
58957e252bfSMichael Neumann     0, // HOLE
59057e252bfSMichael Neumann     0x00000000, // SQ_ESGS_RING_ITEMSIZE
59157e252bfSMichael Neumann     0x00000000, // SQ_GSVS_RING_ITEMSIZE
59257e252bfSMichael Neumann     0x00000000, // SQ_ESTMP_RING_ITEMSIZE
59357e252bfSMichael Neumann     0x00000000, // SQ_GSTMP_RING_ITEMSIZE
59457e252bfSMichael Neumann     0x00000000, // SQ_VSTMP_RING_ITEMSIZE
59557e252bfSMichael Neumann     0x00000000, // SQ_PSTMP_RING_ITEMSIZE
59657e252bfSMichael Neumann     0, // HOLE
59757e252bfSMichael Neumann     0x00000000, // SQ_GS_VERT_ITEMSIZE
59857e252bfSMichael Neumann     0x00000000, // SQ_GS_VERT_ITEMSIZE_1
59957e252bfSMichael Neumann     0x00000000, // SQ_GS_VERT_ITEMSIZE_2
60057e252bfSMichael Neumann     0x00000000, // SQ_GS_VERT_ITEMSIZE_3
60157e252bfSMichael Neumann     0x00000000, // SQ_GSVS_RING_OFFSET_1
60257e252bfSMichael Neumann     0x00000000, // SQ_GSVS_RING_OFFSET_2
60357e252bfSMichael Neumann     0x00000000, // SQ_GSVS_RING_OFFSET_3
60457e252bfSMichael Neumann     0, // HOLE
60557e252bfSMichael Neumann     0, // HOLE
60657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_0
60757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_1
60857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_2
60957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_3
61057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_4
61157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_5
61257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_6
61357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_7
61457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_8
61557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_9
61657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_10
61757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_11
61857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_12
61957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_13
62057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_14
62157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_PS_15
62257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_0
62357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_1
62457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_2
62557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_3
62657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_4
62757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_5
62857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_6
62957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_7
63057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_8
63157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_9
63257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_10
63357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_11
63457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_12
63557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_13
63657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_14
63757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_VS_15
63857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_0
63957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_1
64057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_2
64157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_3
64257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_4
64357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_5
64457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_6
64557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_7
64657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_8
64757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_9
64857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_10
64957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_11
65057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_12
65157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_13
65257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_14
65357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_GS_15
65457e252bfSMichael Neumann     0x00000000, // PA_SU_POINT_SIZE
65557e252bfSMichael Neumann     0x00000000, // PA_SU_POINT_MINMAX
65657e252bfSMichael Neumann     0x00000000, // PA_SU_LINE_CNTL
65757e252bfSMichael Neumann     0x00000000, // PA_SC_LINE_STIPPLE
65857e252bfSMichael Neumann     0x00000000, // VGT_OUTPUT_PATH_CNTL
65957e252bfSMichael Neumann     0x00000000, // VGT_HOS_CNTL
66057e252bfSMichael Neumann     0x00000000, // VGT_HOS_MAX_TESS_LEVEL
66157e252bfSMichael Neumann     0x00000000, // VGT_HOS_MIN_TESS_LEVEL
66257e252bfSMichael Neumann     0x00000000, // VGT_HOS_REUSE_DEPTH
66357e252bfSMichael Neumann     0x00000000, // VGT_GROUP_PRIM_TYPE
66457e252bfSMichael Neumann     0x00000000, // VGT_GROUP_FIRST_DECR
66557e252bfSMichael Neumann     0x00000000, // VGT_GROUP_DECR
66657e252bfSMichael Neumann     0x00000000, // VGT_GROUP_VECT_0_CNTL
66757e252bfSMichael Neumann     0x00000000, // VGT_GROUP_VECT_1_CNTL
66857e252bfSMichael Neumann     0x00000000, // VGT_GROUP_VECT_0_FMT_CNTL
66957e252bfSMichael Neumann     0x00000000, // VGT_GROUP_VECT_1_FMT_CNTL
67057e252bfSMichael Neumann     0x00000000, // VGT_GS_MODE
67157e252bfSMichael Neumann     0, // HOLE
67257e252bfSMichael Neumann     0x00000000, // PA_SC_MODE_CNTL_0
67357e252bfSMichael Neumann     0x00000000, // PA_SC_MODE_CNTL_1
67457e252bfSMichael Neumann     0x00000000, // VGT_ENHANCE
67557e252bfSMichael Neumann     0x00000000, // VGT_GS_PER_ES
67657e252bfSMichael Neumann     0x00000000, // VGT_ES_PER_GS
67757e252bfSMichael Neumann     0x00000000, // VGT_GS_PER_VS
67857e252bfSMichael Neumann     0, // HOLE
67957e252bfSMichael Neumann     0, // HOLE
68057e252bfSMichael Neumann     0, // HOLE
68157e252bfSMichael Neumann     0x00000000, // VGT_GS_OUT_PRIM_TYPE
68257e252bfSMichael Neumann };
68357e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_5[] =
68457e252bfSMichael Neumann {
68557e252bfSMichael Neumann     0x00000000, // VGT_DMA_MAX_SIZE
68657e252bfSMichael Neumann     0x00000000, // VGT_DMA_INDEX_TYPE
68757e252bfSMichael Neumann     0, // HOLE
68857e252bfSMichael Neumann     0x00000000, // VGT_PRIMITIVEID_EN
68957e252bfSMichael Neumann     0x00000000, // VGT_DMA_NUM_INSTANCES
69057e252bfSMichael Neumann };
69157e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_6[] =
69257e252bfSMichael Neumann {
69357e252bfSMichael Neumann     0x00000000, // VGT_MULTI_PRIM_IB_RESET_EN
69457e252bfSMichael Neumann     0, // HOLE
69557e252bfSMichael Neumann     0, // HOLE
69657e252bfSMichael Neumann     0x00000000, // VGT_INSTANCE_STEP_RATE_0
69757e252bfSMichael Neumann     0x00000000, // VGT_INSTANCE_STEP_RATE_1
69857e252bfSMichael Neumann     0, // HOLE
69957e252bfSMichael Neumann     0, // HOLE
70057e252bfSMichael Neumann     0, // HOLE
70157e252bfSMichael Neumann     0x00000000, // VGT_REUSE_OFF
70257e252bfSMichael Neumann     0x00000000, // VGT_VTX_CNT_EN
70357e252bfSMichael Neumann     0x00000000, // DB_HTILE_SURFACE
70457e252bfSMichael Neumann     0x00000000, // DB_SRESULTS_COMPARE_STATE0
70557e252bfSMichael Neumann     0x00000000, // DB_SRESULTS_COMPARE_STATE1
70657e252bfSMichael Neumann     0x00000000, // DB_PRELOAD_CONTROL
70757e252bfSMichael Neumann     0, // HOLE
70857e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_0
70957e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_VTX_STRIDE_0
71057e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_BASE_0
71157e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_0
71257e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_1
71357e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_VTX_STRIDE_1
71457e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_BASE_1
71557e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_1
71657e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_2
71757e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_VTX_STRIDE_2
71857e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_BASE_2
71957e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_2
72057e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_SIZE_3
72157e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_VTX_STRIDE_3
72257e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_BASE_3
72357e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_OFFSET_3
72457e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_0
72557e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_1
72657e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_2
72757e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_3
72857e252bfSMichael Neumann     0, // HOLE
72957e252bfSMichael Neumann     0, // HOLE
73057e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_OFFSET
73157e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_BUFFER_FILLED_SIZE
73257e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_DRAW_OPAQUE_VERTEX_STRIDE
73357e252bfSMichael Neumann     0, // HOLE
73457e252bfSMichael Neumann     0x00000000, // VGT_GS_MAX_VERT_OUT
73557e252bfSMichael Neumann     0, // HOLE
73657e252bfSMichael Neumann     0, // HOLE
73757e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_0
73857e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_1
73957e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_2
74057e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BASE_OFFSET_HI_3
74157e252bfSMichael Neumann     0x00000000, // VGT_SHADER_STAGES_EN
74257e252bfSMichael Neumann     0x00000000, // VGT_LS_HS_CONFIG
74357e252bfSMichael Neumann     0x00000000, // VGT_LS_SIZE
74457e252bfSMichael Neumann     0x00000000, // VGT_HS_SIZE
74557e252bfSMichael Neumann     0x00000000, // VGT_LS_HS_ALLOC
74657e252bfSMichael Neumann     0x00000000, // VGT_HS_PATCH_CONST
74757e252bfSMichael Neumann     0x00000000, // VGT_TF_PARAM
74857e252bfSMichael Neumann     0x00000000, // DB_ALPHA_TO_MASK
74957e252bfSMichael Neumann };
75057e252bfSMichael Neumann static const u32 SECT_CONTEXT_def_7[] =
75157e252bfSMichael Neumann {
75257e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_DB_FMT_CNTL
75357e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_CLAMP
75457e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_FRONT_SCALE
75557e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_FRONT_OFFSET
75657e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_BACK_SCALE
75757e252bfSMichael Neumann     0x00000000, // PA_SU_POLY_OFFSET_BACK_OFFSET
75857e252bfSMichael Neumann     0x00000000, // VGT_GS_INSTANCE_CNT
75957e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_CONFIG
76057e252bfSMichael Neumann     0x00000000, // VGT_STRMOUT_BUFFER_CONFIG
76157e252bfSMichael Neumann     0x00000000, // CB_IMMED0_BASE
76257e252bfSMichael Neumann     0x00000000, // CB_IMMED1_BASE
76357e252bfSMichael Neumann     0x00000000, // CB_IMMED2_BASE
76457e252bfSMichael Neumann     0x00000000, // CB_IMMED3_BASE
76557e252bfSMichael Neumann     0x00000000, // CB_IMMED4_BASE
76657e252bfSMichael Neumann     0x00000000, // CB_IMMED5_BASE
76757e252bfSMichael Neumann     0x00000000, // CB_IMMED6_BASE
76857e252bfSMichael Neumann     0x00000000, // CB_IMMED7_BASE
76957e252bfSMichael Neumann     0x00000000, // CB_IMMED8_BASE
77057e252bfSMichael Neumann     0x00000000, // CB_IMMED9_BASE
77157e252bfSMichael Neumann     0x00000000, // CB_IMMED10_BASE
77257e252bfSMichael Neumann     0x00000000, // CB_IMMED11_BASE
77357e252bfSMichael Neumann     0, // HOLE
77457e252bfSMichael Neumann     0, // HOLE
77557e252bfSMichael Neumann     0, // HOLE
77657e252bfSMichael Neumann     0, // HOLE
77757e252bfSMichael Neumann     0, // HOLE
77857e252bfSMichael Neumann     0, // HOLE
77957e252bfSMichael Neumann     0, // HOLE
78057e252bfSMichael Neumann     0, // HOLE
78157e252bfSMichael Neumann     0, // HOLE
78257e252bfSMichael Neumann     0, // HOLE
78357e252bfSMichael Neumann     0, // HOLE
78457e252bfSMichael Neumann     0, // HOLE
78557e252bfSMichael Neumann     0, // HOLE
78657e252bfSMichael Neumann     0x00001000, // PA_SC_LINE_CNTL
78757e252bfSMichael Neumann     0x00000000, // PA_SC_AA_CONFIG
78857e252bfSMichael Neumann     0x00000005, // PA_SU_VTX_CNTL
78957e252bfSMichael Neumann     0x3f800000, // PA_CL_GB_VERT_CLIP_ADJ
79057e252bfSMichael Neumann     0x3f800000, // PA_CL_GB_VERT_DISC_ADJ
79157e252bfSMichael Neumann     0x3f800000, // PA_CL_GB_HORZ_CLIP_ADJ
79257e252bfSMichael Neumann     0x3f800000, // PA_CL_GB_HORZ_DISC_ADJ
79357e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_0
79457e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_1
79557e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_2
79657e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_3
79757e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_4
79857e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_5
79957e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_6
80057e252bfSMichael Neumann     0x00000000, // PA_SC_AA_SAMPLE_LOCS_7
80157e252bfSMichael Neumann     0xffffffff, // PA_SC_AA_MASK
80257e252bfSMichael Neumann     0x00000000, // CB_CLRCMP_CONTROL
80357e252bfSMichael Neumann     0x00000000, // CB_CLRCMP_SRC
80457e252bfSMichael Neumann     0x00000000, // CB_CLRCMP_DST
80557e252bfSMichael Neumann     0x00000000, // CB_CLRCMP_MSK
80657e252bfSMichael Neumann     0, // HOLE
80757e252bfSMichael Neumann     0, // HOLE
80857e252bfSMichael Neumann     0x0000000e, // VGT_VERTEX_REUSE_BLOCK_CNTL
80957e252bfSMichael Neumann     0x00000010, // VGT_OUT_DEALLOC_CNTL
81057e252bfSMichael Neumann     0x00000000, // CB_COLOR0_BASE
81157e252bfSMichael Neumann     0x00000000, // CB_COLOR0_PITCH
81257e252bfSMichael Neumann     0x00000000, // CB_COLOR0_SLICE
81357e252bfSMichael Neumann     0x00000000, // CB_COLOR0_VIEW
81457e252bfSMichael Neumann     0x00000000, // CB_COLOR0_INFO
81557e252bfSMichael Neumann     0x00000000, // CB_COLOR0_ATTRIB
81657e252bfSMichael Neumann     0x00000000, // CB_COLOR0_DIM
81757e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CMASK
81857e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CMASK_SLICE
81957e252bfSMichael Neumann     0x00000000, // CB_COLOR0_FMASK
82057e252bfSMichael Neumann     0x00000000, // CB_COLOR0_FMASK_SLICE
82157e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CLEAR_WORD0
82257e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CLEAR_WORD1
82357e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CLEAR_WORD2
82457e252bfSMichael Neumann     0x00000000, // CB_COLOR0_CLEAR_WORD3
82557e252bfSMichael Neumann     0x00000000, // CB_COLOR1_BASE
82657e252bfSMichael Neumann     0x00000000, // CB_COLOR1_PITCH
82757e252bfSMichael Neumann     0x00000000, // CB_COLOR1_SLICE
82857e252bfSMichael Neumann     0x00000000, // CB_COLOR1_VIEW
82957e252bfSMichael Neumann     0x00000000, // CB_COLOR1_INFO
83057e252bfSMichael Neumann     0x00000000, // CB_COLOR1_ATTRIB
83157e252bfSMichael Neumann     0x00000000, // CB_COLOR1_DIM
83257e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CMASK
83357e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CMASK_SLICE
83457e252bfSMichael Neumann     0x00000000, // CB_COLOR1_FMASK
83557e252bfSMichael Neumann     0x00000000, // CB_COLOR1_FMASK_SLICE
83657e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CLEAR_WORD0
83757e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CLEAR_WORD1
83857e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CLEAR_WORD2
83957e252bfSMichael Neumann     0x00000000, // CB_COLOR1_CLEAR_WORD3
84057e252bfSMichael Neumann     0x00000000, // CB_COLOR2_BASE
84157e252bfSMichael Neumann     0x00000000, // CB_COLOR2_PITCH
84257e252bfSMichael Neumann     0x00000000, // CB_COLOR2_SLICE
84357e252bfSMichael Neumann     0x00000000, // CB_COLOR2_VIEW
84457e252bfSMichael Neumann     0x00000000, // CB_COLOR2_INFO
84557e252bfSMichael Neumann     0x00000000, // CB_COLOR2_ATTRIB
84657e252bfSMichael Neumann     0x00000000, // CB_COLOR2_DIM
84757e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CMASK
84857e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CMASK_SLICE
84957e252bfSMichael Neumann     0x00000000, // CB_COLOR2_FMASK
85057e252bfSMichael Neumann     0x00000000, // CB_COLOR2_FMASK_SLICE
85157e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CLEAR_WORD0
85257e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CLEAR_WORD1
85357e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CLEAR_WORD2
85457e252bfSMichael Neumann     0x00000000, // CB_COLOR2_CLEAR_WORD3
85557e252bfSMichael Neumann     0x00000000, // CB_COLOR3_BASE
85657e252bfSMichael Neumann     0x00000000, // CB_COLOR3_PITCH
85757e252bfSMichael Neumann     0x00000000, // CB_COLOR3_SLICE
85857e252bfSMichael Neumann     0x00000000, // CB_COLOR3_VIEW
85957e252bfSMichael Neumann     0x00000000, // CB_COLOR3_INFO
86057e252bfSMichael Neumann     0x00000000, // CB_COLOR3_ATTRIB
86157e252bfSMichael Neumann     0x00000000, // CB_COLOR3_DIM
86257e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CMASK
86357e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CMASK_SLICE
86457e252bfSMichael Neumann     0x00000000, // CB_COLOR3_FMASK
86557e252bfSMichael Neumann     0x00000000, // CB_COLOR3_FMASK_SLICE
86657e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CLEAR_WORD0
86757e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CLEAR_WORD1
86857e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CLEAR_WORD2
86957e252bfSMichael Neumann     0x00000000, // CB_COLOR3_CLEAR_WORD3
87057e252bfSMichael Neumann     0x00000000, // CB_COLOR4_BASE
87157e252bfSMichael Neumann     0x00000000, // CB_COLOR4_PITCH
87257e252bfSMichael Neumann     0x00000000, // CB_COLOR4_SLICE
87357e252bfSMichael Neumann     0x00000000, // CB_COLOR4_VIEW
87457e252bfSMichael Neumann     0x00000000, // CB_COLOR4_INFO
87557e252bfSMichael Neumann     0x00000000, // CB_COLOR4_ATTRIB
87657e252bfSMichael Neumann     0x00000000, // CB_COLOR4_DIM
87757e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CMASK
87857e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CMASK_SLICE
87957e252bfSMichael Neumann     0x00000000, // CB_COLOR4_FMASK
88057e252bfSMichael Neumann     0x00000000, // CB_COLOR4_FMASK_SLICE
88157e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CLEAR_WORD0
88257e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CLEAR_WORD1
88357e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CLEAR_WORD2
88457e252bfSMichael Neumann     0x00000000, // CB_COLOR4_CLEAR_WORD3
88557e252bfSMichael Neumann     0x00000000, // CB_COLOR5_BASE
88657e252bfSMichael Neumann     0x00000000, // CB_COLOR5_PITCH
88757e252bfSMichael Neumann     0x00000000, // CB_COLOR5_SLICE
88857e252bfSMichael Neumann     0x00000000, // CB_COLOR5_VIEW
88957e252bfSMichael Neumann     0x00000000, // CB_COLOR5_INFO
89057e252bfSMichael Neumann     0x00000000, // CB_COLOR5_ATTRIB
89157e252bfSMichael Neumann     0x00000000, // CB_COLOR5_DIM
89257e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CMASK
89357e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CMASK_SLICE
89457e252bfSMichael Neumann     0x00000000, // CB_COLOR5_FMASK
89557e252bfSMichael Neumann     0x00000000, // CB_COLOR5_FMASK_SLICE
89657e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CLEAR_WORD0
89757e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CLEAR_WORD1
89857e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CLEAR_WORD2
89957e252bfSMichael Neumann     0x00000000, // CB_COLOR5_CLEAR_WORD3
90057e252bfSMichael Neumann     0x00000000, // CB_COLOR6_BASE
90157e252bfSMichael Neumann     0x00000000, // CB_COLOR6_PITCH
90257e252bfSMichael Neumann     0x00000000, // CB_COLOR6_SLICE
90357e252bfSMichael Neumann     0x00000000, // CB_COLOR6_VIEW
90457e252bfSMichael Neumann     0x00000000, // CB_COLOR6_INFO
90557e252bfSMichael Neumann     0x00000000, // CB_COLOR6_ATTRIB
90657e252bfSMichael Neumann     0x00000000, // CB_COLOR6_DIM
90757e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CMASK
90857e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CMASK_SLICE
90957e252bfSMichael Neumann     0x00000000, // CB_COLOR6_FMASK
91057e252bfSMichael Neumann     0x00000000, // CB_COLOR6_FMASK_SLICE
91157e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CLEAR_WORD0
91257e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CLEAR_WORD1
91357e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CLEAR_WORD2
91457e252bfSMichael Neumann     0x00000000, // CB_COLOR6_CLEAR_WORD3
91557e252bfSMichael Neumann     0x00000000, // CB_COLOR7_BASE
91657e252bfSMichael Neumann     0x00000000, // CB_COLOR7_PITCH
91757e252bfSMichael Neumann     0x00000000, // CB_COLOR7_SLICE
91857e252bfSMichael Neumann     0x00000000, // CB_COLOR7_VIEW
91957e252bfSMichael Neumann     0x00000000, // CB_COLOR7_INFO
92057e252bfSMichael Neumann     0x00000000, // CB_COLOR7_ATTRIB
92157e252bfSMichael Neumann     0x00000000, // CB_COLOR7_DIM
92257e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CMASK
92357e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CMASK_SLICE
92457e252bfSMichael Neumann     0x00000000, // CB_COLOR7_FMASK
92557e252bfSMichael Neumann     0x00000000, // CB_COLOR7_FMASK_SLICE
92657e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CLEAR_WORD0
92757e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CLEAR_WORD1
92857e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CLEAR_WORD2
92957e252bfSMichael Neumann     0x00000000, // CB_COLOR7_CLEAR_WORD3
93057e252bfSMichael Neumann     0x00000000, // CB_COLOR8_BASE
93157e252bfSMichael Neumann     0x00000000, // CB_COLOR8_PITCH
93257e252bfSMichael Neumann     0x00000000, // CB_COLOR8_SLICE
93357e252bfSMichael Neumann     0x00000000, // CB_COLOR8_VIEW
93457e252bfSMichael Neumann     0x00000000, // CB_COLOR8_INFO
93557e252bfSMichael Neumann     0x00000000, // CB_COLOR8_ATTRIB
93657e252bfSMichael Neumann     0x00000000, // CB_COLOR8_DIM
93757e252bfSMichael Neumann     0x00000000, // CB_COLOR9_BASE
93857e252bfSMichael Neumann     0x00000000, // CB_COLOR9_PITCH
93957e252bfSMichael Neumann     0x00000000, // CB_COLOR9_SLICE
94057e252bfSMichael Neumann     0x00000000, // CB_COLOR9_VIEW
94157e252bfSMichael Neumann     0x00000000, // CB_COLOR9_INFO
94257e252bfSMichael Neumann     0x00000000, // CB_COLOR9_ATTRIB
94357e252bfSMichael Neumann     0x00000000, // CB_COLOR9_DIM
94457e252bfSMichael Neumann     0x00000000, // CB_COLOR10_BASE
94557e252bfSMichael Neumann     0x00000000, // CB_COLOR10_PITCH
94657e252bfSMichael Neumann     0x00000000, // CB_COLOR10_SLICE
94757e252bfSMichael Neumann     0x00000000, // CB_COLOR10_VIEW
94857e252bfSMichael Neumann     0x00000000, // CB_COLOR10_INFO
94957e252bfSMichael Neumann     0x00000000, // CB_COLOR10_ATTRIB
95057e252bfSMichael Neumann     0x00000000, // CB_COLOR10_DIM
95157e252bfSMichael Neumann     0x00000000, // CB_COLOR11_BASE
95257e252bfSMichael Neumann     0x00000000, // CB_COLOR11_PITCH
95357e252bfSMichael Neumann     0x00000000, // CB_COLOR11_SLICE
95457e252bfSMichael Neumann     0x00000000, // CB_COLOR11_VIEW
95557e252bfSMichael Neumann     0x00000000, // CB_COLOR11_INFO
95657e252bfSMichael Neumann     0x00000000, // CB_COLOR11_ATTRIB
95757e252bfSMichael Neumann     0x00000000, // CB_COLOR11_DIM
95857e252bfSMichael Neumann     0, // HOLE
95957e252bfSMichael Neumann     0, // HOLE
96057e252bfSMichael Neumann     0, // HOLE
96157e252bfSMichael Neumann     0, // HOLE
96257e252bfSMichael Neumann     0, // HOLE
96357e252bfSMichael Neumann     0, // HOLE
96457e252bfSMichael Neumann     0, // HOLE
96557e252bfSMichael Neumann     0, // HOLE
96657e252bfSMichael Neumann     0, // HOLE
96757e252bfSMichael Neumann     0, // HOLE
96857e252bfSMichael Neumann     0, // HOLE
96957e252bfSMichael Neumann     0, // HOLE
97057e252bfSMichael Neumann     0, // HOLE
97157e252bfSMichael Neumann     0, // HOLE
97257e252bfSMichael Neumann     0, // HOLE
97357e252bfSMichael Neumann     0, // HOLE
97457e252bfSMichael Neumann     0, // HOLE
97557e252bfSMichael Neumann     0, // HOLE
97657e252bfSMichael Neumann     0, // HOLE
97757e252bfSMichael Neumann     0, // HOLE
97857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_0
97957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_1
98057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_2
98157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_3
98257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_4
98357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_5
98457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_6
98557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_7
98657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_8
98757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_9
98857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_10
98957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_11
99057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_12
99157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_13
99257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_14
99357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_HS_15
99457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_0
99557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_1
99657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_2
99757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_3
99857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_4
99957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_5
100057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_6
100157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_7
100257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_8
100357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_9
100457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_10
100557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_11
100657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_12
100757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_13
100857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_14
100957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_CACHE_LS_15
101057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_0
101157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_1
101257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_2
101357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_3
101457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_4
101557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_5
101657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_6
101757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_7
101857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_8
101957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_9
102057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_10
102157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_11
102257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_12
102357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_13
102457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_14
102557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_HS_15
102657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_0
102757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_1
102857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_2
102957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_3
103057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_4
103157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_5
103257e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_6
103357e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_7
103457e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_8
103557e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_9
103657e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_10
103757e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_11
103857e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_12
103957e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_13
104057e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_14
104157e252bfSMichael Neumann     0x00000000, // SQ_ALU_CONST_BUFFER_SIZE_LS_15
104257e252bfSMichael Neumann };
104357e252bfSMichael Neumann static const struct cs_extent_def SECT_CONTEXT_defs[] =
104457e252bfSMichael Neumann {
104557e252bfSMichael Neumann     {SECT_CONTEXT_def_1, 0x0000a000, 488 },
104657e252bfSMichael Neumann     {SECT_CONTEXT_def_2, 0x0000a1f5, 6 },
104757e252bfSMichael Neumann     {SECT_CONTEXT_def_3, 0x0000a200, 55 },
104857e252bfSMichael Neumann     {SECT_CONTEXT_def_4, 0x0000a23a, 98 },
104957e252bfSMichael Neumann     {SECT_CONTEXT_def_5, 0x0000a29e, 5 },
105057e252bfSMichael Neumann     {SECT_CONTEXT_def_6, 0x0000a2a5, 56 },
105157e252bfSMichael Neumann     {SECT_CONTEXT_def_7, 0x0000a2de, 290 },
105257e252bfSMichael Neumann     { 0, 0, 0 }
105357e252bfSMichael Neumann };
105457e252bfSMichael Neumann static const u32 SECT_CLEAR_def_1[] =
105557e252bfSMichael Neumann {
105657e252bfSMichael Neumann     0xffffffff, // SQ_TEX_SAMPLER_CLEAR
105757e252bfSMichael Neumann     0xffffffff, // SQ_TEX_RESOURCE_CLEAR
105857e252bfSMichael Neumann     0xffffffff, // SQ_LOOP_BOOL_CLEAR
105957e252bfSMichael Neumann };
106057e252bfSMichael Neumann static const struct cs_extent_def SECT_CLEAR_defs[] =
106157e252bfSMichael Neumann {
106257e252bfSMichael Neumann     {SECT_CLEAR_def_1, 0x0000ffc0, 3 },
106357e252bfSMichael Neumann     { 0, 0, 0 }
106457e252bfSMichael Neumann };
106557e252bfSMichael Neumann static const u32 SECT_CTRLCONST_def_1[] =
106657e252bfSMichael Neumann {
106757e252bfSMichael Neumann     0x00000000, // SQ_VTX_BASE_VTX_LOC
106857e252bfSMichael Neumann     0x00000000, // SQ_VTX_START_INST_LOC
106957e252bfSMichael Neumann };
107057e252bfSMichael Neumann static const struct cs_extent_def SECT_CTRLCONST_defs[] =
107157e252bfSMichael Neumann {
107257e252bfSMichael Neumann     {SECT_CTRLCONST_def_1, 0x0000f3fc, 2 },
107357e252bfSMichael Neumann     { 0, 0, 0 }
107457e252bfSMichael Neumann };
1075*4cd92098Szrj static const struct cs_section_def evergreen_cs_data[] = {
107657e252bfSMichael Neumann     { SECT_CONTEXT_defs, SECT_CONTEXT },
107757e252bfSMichael Neumann     { SECT_CLEAR_defs, SECT_CLEAR },
107857e252bfSMichael Neumann     { SECT_CTRLCONST_defs, SECT_CTRLCONST },
107957e252bfSMichael Neumann     { 0, SECT_NONE }
108057e252bfSMichael Neumann };
1081