Alex Deucher | 6538834 | 2010-03-05 19:22:24 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2009 Advanced Micro Devices, Inc. |
| 3 | * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 5 | * copy of this software and associated documentation files (the "Software"), |
| 6 | * to deal in the Software without restriction, including without limitation |
| 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 | * and/or sell copies of the Software, and to permit persons to whom the |
| 9 | * Software is furnished to do so, subject to the following conditions: |
| 10 | * |
| 11 | * The above copyright notice and this permission notice (including the next |
| 12 | * paragraph) shall be included in all copies or substantial portions of the |
| 13 | * Software. |
| 14 | * |
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 18 | * THE COPYRIGHT HOLDER(S) AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 19 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 20 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 21 | * DEALINGS IN THE SOFTWARE. |
| 22 | * |
| 23 | * Authors: |
| 24 | * Alex Deucher <alexander.deucher@amd.com> |
| 25 | */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 26 | |
| 27 | #include <linux/types.h> |
| 28 | #include <linux/kernel.h> |
| 29 | |
Alex Deucher | 6538834 | 2010-03-05 19:22:24 -0500 | [diff] [blame] | 30 | /* |
| 31 | * R6xx+ cards need to use the 3D engine to blit data which requires |
| 32 | * quite a bit of hw state setup. Rather than pull the whole 3D driver |
| 33 | * (which normally generates the 3D state) into the DRM, we opt to use |
| 34 | * statically generated state tables. The regsiter state and shaders |
| 35 | * were hand generated to support blitting functionality. See the 3D |
| 36 | * driver or documentation for descriptions of the registers and |
| 37 | * shader instructions. |
| 38 | */ |
| 39 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 40 | const u32 r6xx_default_state[] = |
| 41 | { |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 42 | 0xc0002400, /* START_3D_CMDBUF */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 43 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 44 | |
| 45 | 0xc0012800, /* CONTEXT_CONTROL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 46 | 0x80000000, |
| 47 | 0x80000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 48 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 49 | 0xc0016800, |
| 50 | 0x00000010, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 51 | 0x00008000, /* WAIT_UNTIL */ |
| 52 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 53 | 0xc0016800, |
| 54 | 0x00000542, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 55 | 0x07000003, /* TA_CNTL_AUX */ |
| 56 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 57 | 0xc0016800, |
| 58 | 0x000005c5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 59 | 0x00000000, /* VC_ENHANCE */ |
| 60 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 61 | 0xc0016800, |
| 62 | 0x00000363, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 63 | 0x00000000, /* SQ_DYN_GPR_CNTL_PS_FLUSH_REQ */ |
| 64 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 65 | 0xc0016800, |
| 66 | 0x0000060c, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 67 | 0x82000000, /* DB_DEBUG */ |
| 68 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 69 | 0xc0016800, |
| 70 | 0x0000060e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 71 | 0x01020204, /* DB_WATERMARKS */ |
| 72 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 73 | 0xc0026f00, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 74 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 75 | 0x00000000, /* SQ_VTX_BASE_VTX_LOC */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 76 | 0x00000000, /* SQ_VTX_START_INST_LOC */ |
| 77 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 78 | 0xc0096900, |
| 79 | 0x0000022a, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 80 | 0x00000000, /* SQ_ESGS_RING_ITEMSIZE */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 81 | 0x00000000, |
| 82 | 0x00000000, |
| 83 | 0x00000000, |
| 84 | 0x00000000, |
| 85 | 0x00000000, |
| 86 | 0x00000000, |
| 87 | 0x00000000, |
| 88 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 89 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 90 | 0xc0016900, |
| 91 | 0x00000004, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 92 | 0x00000000, /* DB_DEPTH_INFO */ |
| 93 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 94 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 95 | 0x0000000a, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 96 | 0x00000000, /* DB_STENCIL_CLEAR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 97 | 0x00000000, /* DB_DEPTH_CLEAR */ |
| 98 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 99 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 100 | 0x0000010c, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 101 | 0x00000000, /* DB_STENCILREFMASK */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 102 | 0x00000000, /* DB_STENCILREFMASK_BF */ |
| 103 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 104 | 0xc0016900, |
| 105 | 0x00000200, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 106 | 0x00000000, /* DB_DEPTH_CONTROL */ |
| 107 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 108 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 109 | 0x00000343, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 110 | 0x00000060, /* DB_RENDER_CONTROL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 111 | 0x00000040, /* DB_RENDER_OVERRIDE */ |
| 112 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 113 | 0xc0016900, |
| 114 | 0x00000351, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 115 | 0x0000aa00, /* DB_ALPHA_TO_MASK */ |
| 116 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 117 | 0xc0016900, |
| 118 | 0x00000104, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 119 | 0x00000000, /* SX_ALPHA_TEST_CONTROL */ |
| 120 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 121 | 0xc0016900, |
| 122 | 0x0000010e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 123 | 0x00000000, /* SX_ALPHA_REF */ |
| 124 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 125 | 0xc0076900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 126 | 0x00000105, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 127 | 0x00000000, /* CB_BLEND_RED */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 128 | 0x00000000, |
| 129 | 0x00000000, |
| 130 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 131 | 0x00000000, /* CB_FOG_RED */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 132 | 0x00000000, |
| 133 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 134 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 135 | 0xc0046900, |
| 136 | 0x0000030c, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 137 | 0x01000000, /* CB_CLRCMP_CNTL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 138 | 0x00000000, |
| 139 | 0x00000000, |
| 140 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 141 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 142 | 0xc0046900, |
| 143 | 0x00000048, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 144 | 0x3f800000, /* CB_CLEAR_RED */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 145 | 0x00000000, |
| 146 | 0x3f800000, |
| 147 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 148 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 149 | 0xc0016900, |
| 150 | 0x0000008e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 151 | 0x0000000f, /* CB_TARGET_MASK */ |
| 152 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 153 | 0xc0016900, |
| 154 | 0x00000080, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 155 | 0x00000000, /* PA_SC_WINDOW_OFFSET */ |
| 156 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 157 | 0xc00a6900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 158 | 0x00000083, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 159 | 0x0000ffff, /* PA_SC_CLIP_RECT_RULE */ |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 160 | 0x00000000, /* PA_SC_CLIPRECT_0_TL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 161 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 162 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 163 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 164 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 165 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 166 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 167 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 168 | 0x00000000, /* PA_SC_EDGERULE */ |
| 169 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 170 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 171 | 0x00000094, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 172 | 0x80000000, /* PA_SC_VPORT_SCISSOR_0_TL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 173 | 0x20002000, /* PA_SC_VPORT_SCISSOR_0_BR */ |
| 174 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 175 | 0xc0026900, |
| 176 | 0x000000b4, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 177 | 0x00000000, /* PA_SC_VPORT_ZMIN_0 */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 178 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 179 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 180 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 181 | 0x00000096, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 182 | 0x80000000, /* PA_SC_VPORT_SCISSOR_1_TL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 183 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 184 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 185 | 0xc0026900, |
| 186 | 0x000000b6, |
| 187 | 0x00000000, |
| 188 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 189 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 190 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 191 | 0x00000098, |
| 192 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 193 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 194 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 195 | 0xc0026900, |
| 196 | 0x000000b8, |
| 197 | 0x00000000, |
| 198 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 199 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 200 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 201 | 0x0000009a, |
| 202 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 203 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 204 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 205 | 0xc0026900, |
| 206 | 0x000000ba, |
| 207 | 0x00000000, |
| 208 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 209 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 210 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 211 | 0x0000009c, |
| 212 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 213 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 214 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 215 | 0xc0026900, |
| 216 | 0x000000bc, |
| 217 | 0x00000000, |
| 218 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 219 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 220 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 221 | 0x0000009e, |
| 222 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 223 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 224 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 225 | 0xc0026900, |
| 226 | 0x000000be, |
| 227 | 0x00000000, |
| 228 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 229 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 230 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 231 | 0x000000a0, |
| 232 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 233 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 234 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 235 | 0xc0026900, |
| 236 | 0x000000c0, |
| 237 | 0x00000000, |
| 238 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 239 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 240 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 241 | 0x000000a2, |
| 242 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 243 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 244 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 245 | 0xc0026900, |
| 246 | 0x000000c2, |
| 247 | 0x00000000, |
| 248 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 249 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 250 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 251 | 0x000000a4, |
| 252 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 253 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 254 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 255 | 0xc0026900, |
| 256 | 0x000000c4, |
| 257 | 0x00000000, |
| 258 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 259 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 260 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 261 | 0x000000a6, |
| 262 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 263 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 264 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 265 | 0xc0026900, |
| 266 | 0x000000c6, |
| 267 | 0x00000000, |
| 268 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 269 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 270 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 271 | 0x000000a8, |
| 272 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 273 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 274 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 275 | 0xc0026900, |
| 276 | 0x000000c8, |
| 277 | 0x00000000, |
| 278 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 279 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 280 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 281 | 0x000000aa, |
| 282 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 283 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 284 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 285 | 0xc0026900, |
| 286 | 0x000000ca, |
| 287 | 0x00000000, |
| 288 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 289 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 290 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 291 | 0x000000ac, |
| 292 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 293 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 294 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 295 | 0xc0026900, |
| 296 | 0x000000cc, |
| 297 | 0x00000000, |
| 298 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 299 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 300 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 301 | 0x000000ae, |
| 302 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 303 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 304 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 305 | 0xc0026900, |
| 306 | 0x000000ce, |
| 307 | 0x00000000, |
| 308 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 309 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 310 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 311 | 0x000000b0, |
| 312 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 313 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 314 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 315 | 0xc0026900, |
| 316 | 0x000000d0, |
| 317 | 0x00000000, |
| 318 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 319 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 320 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 321 | 0x000000b2, |
| 322 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 323 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 324 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 325 | 0xc0026900, |
| 326 | 0x000000d2, |
| 327 | 0x00000000, |
| 328 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 329 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 330 | 0xc0016900, |
| 331 | 0x00000293, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 332 | 0x00004010, /* PA_SC_MODE_CNTL */ |
| 333 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 334 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 335 | 0x00000300, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 336 | 0x00000000, /* PA_SC_LINE_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 337 | 0x00000000, /* PA_SC_AA_CONFIG */ |
| 338 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 339 | 0xc0016900, |
| 340 | 0x00000312, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 341 | 0xffffffff, /* PA_SC_AA_MASK */ |
| 342 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 343 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 344 | 0x00000307, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 345 | 0x00000000, /* PA_SC_SAMPLE_LOCS_MCTX */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 346 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 347 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 348 | 0xc0016900, |
| 349 | 0x00000283, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 350 | 0x00000000, /* PA_SC_LINE_STIPPLE */ |
| 351 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 352 | 0xc0016900, |
| 353 | 0x00000292, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 354 | 0x00000000, /* PA_SC_MPASS_PS_CNTL */ |
| 355 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 356 | 0xc0066900, |
| 357 | 0x0000010f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 358 | 0x00000000, /* PA_CL_VPORT_0_XSCALE */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 359 | 0x00000000, |
| 360 | 0x00000000, |
| 361 | 0x00000000, |
| 362 | 0x00000000, |
| 363 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 364 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 365 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 366 | 0x00000207, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 367 | 0x00000000, /* PA_CL_VS_OUT_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 368 | 0x00000000, /* PA_CL_NANINF_CNTL */ |
| 369 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 370 | 0xc0046900, |
| 371 | 0x00000303, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 372 | 0x3f800000, /* PA_CL_GB_VERT_CLIP_ADJ */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 373 | 0x3f800000, |
| 374 | 0x3f800000, |
| 375 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 376 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 377 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 378 | 0x00000280, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 379 | 0x00000000, /* PA_SU_POINT_SIZE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 380 | 0x00000000, /* PA_SU_POINT_MINMAX */ |
| 381 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 382 | 0xc0016900, |
| 383 | 0x0000037e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 384 | 0x00000000, /* PA_SU_POLY_OFFSET_DB_FMT_CNTL */ |
| 385 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 386 | 0xc0016900, |
| 387 | 0x00000382, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 388 | 0x00000000, /* PA_SU_POLY_OFFSET_BACK_SCALE */ |
| 389 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 390 | 0xc0016900, |
| 391 | 0x00000380, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 392 | 0x00000000, /* PA_SU_POLY_OFFSET_FRONT_SCALE */ |
| 393 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 394 | 0xc0016900, |
| 395 | 0x00000383, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 396 | 0x00000000, /* PA_SU_POLY_OFFSET_BACK_OFFSET */ |
| 397 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 398 | 0xc0016900, |
| 399 | 0x00000381, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 400 | 0x00000000, /* PA_SU_POLY_OFFSET_FRONT_OFFSET */ |
| 401 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 402 | 0xc0016900, |
| 403 | 0x00000282, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 404 | 0x00000008, /* PA_SU_LINE_CNTL */ |
| 405 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 406 | 0xc0016900, |
| 407 | 0x00000302, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 408 | 0x0000002d, /* PA_SU_VTX_CNTL */ |
| 409 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 410 | 0xc0016900, |
| 411 | 0x0000037f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 412 | 0x00000000, /* PA_SU_POLY_OFFSET_CLAMP */ |
| 413 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 414 | 0xc0016900, |
| 415 | 0x000001b2, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 416 | 0x00000000, /* SPI_THREAD_GROUPING */ |
| 417 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 418 | 0xc0046900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 419 | 0x000001b6, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 420 | 0x00000000, /* SPI_INPUT_Z */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 421 | 0x00000000, /* SPI_FOG_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 422 | 0x00000000, /* SPI_FOG_FUNC_SCALE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 423 | 0x00000000, /* SPI_FOG_FUNC_BIAS */ |
| 424 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 425 | 0xc0016900, |
| 426 | 0x00000225, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 427 | 0x00000000, /* SQ_PGM_START_FS */ |
| 428 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 429 | 0xc0016900, |
| 430 | 0x00000229, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 431 | 0x00000000, /* SQ_PGM_RESOURCES_FS */ |
| 432 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 433 | 0xc0016900, |
| 434 | 0x00000237, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 435 | 0x00000000, /* SQ_PGM_CF_OFFSET_FS */ |
| 436 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 437 | 0xc0036900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 438 | 0x00000100, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 439 | 0x00000800, /* VGT_MAX_VTX_INDX */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 440 | 0x00000000, /* VGT_MIN_VTX_INDX */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 441 | 0x00000000, /* VGT_INDX_OFFSET */ |
| 442 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 443 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 444 | 0x000002a8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 445 | 0x00000000, /* VGT_INSTANCE_STEP_RATE_0 */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 446 | 0x00000000, /* VGT_INSTANCE_STEP_RATE_1 */ |
| 447 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 448 | 0xc0016900, |
| 449 | 0x00000103, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 450 | 0x00000000, /* VGT_MULTI_PRIM_IB_RESET_INDX */ |
| 451 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 452 | 0xc0016900, |
| 453 | 0x00000284, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 454 | 0x00000000, /* VGT_OUTPUT_PATH_CNTL */ |
| 455 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 456 | 0xc0016900, |
| 457 | 0x00000290, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 458 | 0x00000000, /* VGT_GS_MODE */ |
| 459 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 460 | 0xc0016900, |
| 461 | 0x00000285, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 462 | 0x00000000, /* VGT_HOS_CNTL */ |
| 463 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 464 | 0xc00a6900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 465 | 0x00000286, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 466 | 0x00000000, /* VGT_HOS_MAX_TESS_LEVEL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 467 | 0x00000000, /* VGT_HOS_MIN_TESS_LEVEL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 468 | 0x00000000, /* VGT_HOS_REUSE_DEPTH */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 469 | 0x00000000, /* VGT_GROUP_PRIM_TYPE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 470 | 0x00000000, /* VGT_GROUP_FIRST_DECR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 471 | 0x00000000, /* VGT_GROUP_DECR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 472 | 0x00000000, /* VGT_GROUP_VECT_0_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 473 | 0x00000000, /* VGT_GROUP_VECT_1_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 474 | 0x00000000, /* VGT_GROUP_VECT_0_FMT_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 475 | 0x00000000, /* VGT_GROUP_VECT_1_FMT_CNTL */ |
| 476 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 477 | 0xc0016900, |
| 478 | 0x000002a1, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 479 | 0x00000000, /* VGT_PRIMITIVEID_EN */ |
| 480 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 481 | 0xc0016900, |
| 482 | 0x000002a5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 483 | 0x00000000, /* VGT_MULTI_PRIM_ID_RESET_EN */ |
| 484 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 485 | 0xc0036900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 486 | 0x000002ac, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 487 | 0x00000000, /* VGT_STRMOUT_EN */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 488 | 0x00000000, /* VGT_REUSE_OFF */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 489 | 0x00000000, /* VGT_VTX_CNT_EN */ |
| 490 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 491 | 0xc0016900, |
| 492 | 0x000002c8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 493 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ |
| 494 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 495 | 0xc0016900, |
| 496 | 0x00000206, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 497 | 0x00000100, /* PA_CL_VTE_CNTL */ |
| 498 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 499 | 0xc0016900, |
| 500 | 0x00000204, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 501 | 0x00010000, /* PA_CL_CLIP_CNTL */ |
| 502 | |
| 503 | 0xc0036e00, /* SET_SAMPLER */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 504 | 0x00000000, |
| 505 | 0x00000012, |
| 506 | 0x00000000, |
| 507 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 508 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 509 | 0xc0016900, |
| 510 | 0x0000008f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 511 | 0x0000000f, /* CB_SHADER_MASK */ |
| 512 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 513 | 0xc0016900, |
| 514 | 0x000001e8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 515 | 0x00000001, /* CB_SHADER_CONTROL */ |
| 516 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 517 | 0xc0016900, |
| 518 | 0x00000202, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 519 | 0x00cc0000, /* CB_COLOR_CONTROL */ |
| 520 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 521 | 0xc0016900, |
| 522 | 0x00000205, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 523 | 0x00000244, /* PA_SU_SC_MODE_CNTL */ |
| 524 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 525 | 0xc0016900, |
| 526 | 0x00000203, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 527 | 0x00000210, /* DB_SHADER_CNTL */ |
| 528 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 529 | 0xc0016900, |
| 530 | 0x000001b1, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 531 | 0x00000000, /* SPI_VS_OUT_CONFIG */ |
| 532 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 533 | 0xc0016900, |
| 534 | 0x00000185, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 535 | 0x00000000, /* SPI_VS_OUT_ID_0 */ |
| 536 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 537 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 538 | 0x000001b3, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 539 | 0x00000001, /* SPI_PS_IN_CONTROL_0 */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 540 | 0x00000000, /* SPI_PS_IN_CONTROL_1 */ |
| 541 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 542 | 0xc0016900, |
| 543 | 0x00000191, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 544 | 0x00000b00, /* SPI_PS_INPUT_CNTL_0 */ |
| 545 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 546 | 0xc0016900, |
| 547 | 0x000001b5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 548 | 0x00000000, /* SPI_INTERP_CONTROL_0 */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 549 | }; |
| 550 | |
| 551 | const u32 r7xx_default_state[] = |
| 552 | { |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 553 | 0xc0012800, /* CONTEXT_CONTROL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 554 | 0x80000000, |
| 555 | 0x80000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 556 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 557 | 0xc0016800, |
| 558 | 0x00000010, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 559 | 0x00008000, /* WAIT_UNTIL */ |
| 560 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 561 | 0xc0016800, |
| 562 | 0x00000542, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 563 | 0x07000002, /* TA_CNTL_AUX */ |
| 564 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 565 | 0xc0016800, |
| 566 | 0x000005c5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 567 | 0x00000000, /* VC_ENHANCE */ |
| 568 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 569 | 0xc0016800, |
| 570 | 0x00000363, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 571 | 0x00004000, /* SQ_DYN_GPR_CNTL_PS_FLUSH_REQ */ |
| 572 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 573 | 0xc0016800, |
| 574 | 0x0000060c, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 575 | 0x00000000, /* DB_DEBUG */ |
| 576 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 577 | 0xc0016800, |
| 578 | 0x0000060e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 579 | 0x00420204, /* DB_WATERMARKS */ |
| 580 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 581 | 0xc0026f00, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 582 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 583 | 0x00000000, /* SQ_VTX_BASE_VTX_LOC */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 584 | 0x00000000, /* SQ_VTX_START_INST_LOC */ |
| 585 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 586 | 0xc0096900, |
| 587 | 0x0000022a, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 588 | 0x00000000, /* SQ_ESGS_RING_ITEMSIZE */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 589 | 0x00000000, |
| 590 | 0x00000000, |
| 591 | 0x00000000, |
| 592 | 0x00000000, |
| 593 | 0x00000000, |
| 594 | 0x00000000, |
| 595 | 0x00000000, |
| 596 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 597 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 598 | 0xc0016900, |
| 599 | 0x00000004, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 600 | 0x00000000, /* DB_DEPTH_INFO */ |
| 601 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 602 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 603 | 0x0000000a, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 604 | 0x00000000, /* DB_STENCIL_CLEAR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 605 | 0x00000000, /* DB_DEPTH_CLEAR */ |
| 606 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 607 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 608 | 0x0000010c, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 609 | 0x00000000, /* DB_STENCILREFMASK */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 610 | 0x00000000, /* DB_STENCILREFMASK_BF */ |
| 611 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 612 | 0xc0016900, |
| 613 | 0x00000200, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 614 | 0x00000000, /* DB_DEPTH_CONTROL */ |
| 615 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 616 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 617 | 0x00000343, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 618 | 0x00000060, /* DB_RENDER_CONTROL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 619 | 0x00000000, /* DB_RENDER_OVERRIDE */ |
| 620 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 621 | 0xc0016900, |
| 622 | 0x00000351, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 623 | 0x0000aa00, /* DB_ALPHA_TO_MASK */ |
| 624 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 625 | 0xc0016900, |
| 626 | 0x00000104, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 627 | 0x00000000, /* SX_ALPHA_TEST_CONTROL */ |
| 628 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 629 | 0xc0016900, |
| 630 | 0x0000010e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 631 | 0x00000000, /* SX_ALPHA_REF */ |
| 632 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 633 | 0xc0046900, |
| 634 | 0x00000105, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 635 | 0x00000000, /* CB_BLEND_RED */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 636 | 0x00000000, |
| 637 | 0x00000000, |
| 638 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 639 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 640 | 0xc0046900, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 641 | 0x0000030c, /* CB_CLRCMP_CNTL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 642 | 0x01000000, |
| 643 | 0x00000000, |
| 644 | 0x00000000, |
| 645 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 646 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 647 | 0xc0016900, |
| 648 | 0x0000008e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 649 | 0x0000000f, /* CB_TARGET_MASK */ |
| 650 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 651 | 0xc0016900, |
| 652 | 0x00000080, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 653 | 0x00000000, /* PA_SC_WINDOW_OFFSET */ |
| 654 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 655 | 0xc00a6900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 656 | 0x00000083, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 657 | 0x0000ffff, /* PA_SC_CLIP_RECT_RULE */ |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 658 | 0x00000000, /* PA_SC_CLIPRECT_0_TL */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 659 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 660 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 661 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 662 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 663 | 0x20002000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 664 | 0x00000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 665 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 666 | 0xaaaaaaaa, /* PA_SC_EDGERULE */ |
| 667 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 668 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 669 | 0x00000094, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 670 | 0x80000000, /* PA_SC_VPORT_SCISSOR_0_TL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 671 | 0x20002000, /* PA_SC_VPORT_SCISSOR_0_BR */ |
| 672 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 673 | 0xc0026900, |
| 674 | 0x000000b4, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 675 | 0x00000000, /* PA_SC_VPORT_ZMIN_0 */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 676 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 677 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 678 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 679 | 0x00000096, |
| 680 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 681 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 682 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 683 | 0xc0026900, |
| 684 | 0x000000b6, |
| 685 | 0x00000000, |
| 686 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 687 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 688 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 689 | 0x00000098, |
| 690 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 691 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 692 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 693 | 0xc0026900, |
| 694 | 0x000000b8, |
| 695 | 0x00000000, |
| 696 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 697 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 698 | 0xc0016900, |
| 699 | 0x0000009a, |
| 700 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 701 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 702 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 703 | 0xc0026900, |
| 704 | 0x000000ba, |
| 705 | 0x00000000, |
| 706 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 707 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 708 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 709 | 0x0000009c, |
| 710 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 711 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 712 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 713 | 0xc0026900, |
| 714 | 0x000000bc, |
| 715 | 0x00000000, |
| 716 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 717 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 718 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 719 | 0x0000009e, |
| 720 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 721 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 722 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 723 | 0xc0026900, |
| 724 | 0x000000be, |
| 725 | 0x00000000, |
| 726 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 727 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 728 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 729 | 0x000000a0, |
| 730 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 731 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 732 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 733 | 0xc0026900, |
| 734 | 0x000000c0, |
| 735 | 0x00000000, |
| 736 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 737 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 738 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 739 | 0x000000a2, |
| 740 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 741 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 742 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 743 | 0xc0026900, |
| 744 | 0x000000c2, |
| 745 | 0x00000000, |
| 746 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 747 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 748 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 749 | 0x000000a4, |
| 750 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 751 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 752 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 753 | 0xc0026900, |
| 754 | 0x000000c4, |
| 755 | 0x00000000, |
| 756 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 757 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 758 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 759 | 0x000000a6, |
| 760 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 761 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 762 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 763 | 0xc0026900, |
| 764 | 0x000000c6, |
| 765 | 0x00000000, |
| 766 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 767 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 768 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 769 | 0x000000a8, |
| 770 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 771 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 772 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 773 | 0xc0026900, |
| 774 | 0x000000c8, |
| 775 | 0x00000000, |
| 776 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 777 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 778 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 779 | 0x000000aa, |
| 780 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 781 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 782 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 783 | 0xc0026900, |
| 784 | 0x000000ca, |
| 785 | 0x00000000, |
| 786 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 787 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 788 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 789 | 0x000000ac, |
| 790 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 791 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 792 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 793 | 0xc0026900, |
| 794 | 0x000000cc, |
| 795 | 0x00000000, |
| 796 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 797 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 798 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 799 | 0x000000ae, |
| 800 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 801 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 802 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 803 | 0xc0026900, |
| 804 | 0x000000ce, |
| 805 | 0x00000000, |
| 806 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 807 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 808 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 809 | 0x000000b0, |
| 810 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 811 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 812 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 813 | 0xc0026900, |
| 814 | 0x000000d0, |
| 815 | 0x00000000, |
| 816 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 817 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 818 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 819 | 0x000000b2, |
| 820 | 0x80000000, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 821 | 0x20002000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 822 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 823 | 0xc0026900, |
| 824 | 0x000000d2, |
| 825 | 0x00000000, |
| 826 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 827 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 828 | 0xc0016900, |
| 829 | 0x00000293, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 830 | 0x00514000, /* PA_SC_MODE_CNTL */ |
| 831 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 832 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 833 | 0x00000300, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 834 | 0x00000000, /* PA_SC_LINE_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 835 | 0x00000000, /* PA_SC_AA_CONFIG */ |
| 836 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 837 | 0xc0016900, |
| 838 | 0x00000312, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 839 | 0xffffffff, /* PA_SC_AA_MASK */ |
| 840 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 841 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 842 | 0x00000307, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 843 | 0x00000000, /* PA_SC_SAMPLE_LOCS_MCTX */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 844 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 845 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 846 | 0xc0016900, |
| 847 | 0x00000283, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 848 | 0x00000000, /* PA_SC_LINE_STIPPLE */ |
| 849 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 850 | 0xc0016900, |
| 851 | 0x00000292, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 852 | 0x00000000, /* PA_SC_MPASS_PS_CNTL */ |
| 853 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 854 | 0xc0066900, |
| 855 | 0x0000010f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 856 | 0x00000000, /* PA_CL_VPORT_0_XSCALE */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 857 | 0x00000000, |
| 858 | 0x00000000, |
| 859 | 0x00000000, |
| 860 | 0x00000000, |
| 861 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 862 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 863 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 864 | 0x00000207, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 865 | 0x00000000, /* PA_CL_VS_OUT_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 866 | 0x00000000, /* PA_CL_NANINF_CNTL */ |
| 867 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 868 | 0xc0046900, |
| 869 | 0x00000303, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 870 | 0x3f800000, /* PA_CL_GB_VERT_CLIP_ADJ */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 871 | 0x3f800000, |
| 872 | 0x3f800000, |
| 873 | 0x3f800000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 874 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 875 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 876 | 0x00000280, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 877 | 0x00000000, /* PA_SU_POINT_SIZE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 878 | 0x00000000, /* PA_SU_POINT_MINMAX */ |
| 879 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 880 | 0xc0016900, |
| 881 | 0x0000037e, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 882 | 0x00000000, /* PA_SU_POLY_OFFSET_DB_FMT_CNTL */ |
| 883 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 884 | 0xc0016900, |
| 885 | 0x00000382, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 886 | 0x00000000, /* PA_SU_POLY_OFFSET_BACK_SCALE */ |
| 887 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 888 | 0xc0016900, |
| 889 | 0x00000380, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 890 | 0x00000000, /* PA_SU_POLY_OFFSET_FRONT_SCALE */ |
| 891 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 892 | 0xc0016900, |
| 893 | 0x00000383, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 894 | 0x00000000, /* PA_SU_POLY_OFFSET_BACK_OFFSET */ |
| 895 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 896 | 0xc0016900, |
| 897 | 0x00000381, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 898 | 0x00000000, /* PA_SU_POLY_OFFSET_FRONT_OFFSET */ |
| 899 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 900 | 0xc0016900, |
| 901 | 0x00000282, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 902 | 0x00000008, /* PA_SU_LINE_CNTL */ |
| 903 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 904 | 0xc0016900, |
| 905 | 0x00000302, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 906 | 0x0000002d, /* PA_SU_VTX_CNTL */ |
| 907 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 908 | 0xc0016900, |
| 909 | 0x0000037f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 910 | 0x00000000, /* PA_SU_POLY_OFFSET_CLAMP */ |
| 911 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 912 | 0xc0016900, |
| 913 | 0x000001b2, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 914 | 0x00000001, /* SPI_THREAD_GROUPING */ |
| 915 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 916 | 0xc0046900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 917 | 0x000001b6, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 918 | 0x00000000, /* SPI_INPUT_Z */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 919 | 0x00000000, /* SPI_FOG_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 920 | 0x00000000, /* SPI_FOG_FUNC_SCALE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 921 | 0x00000000, /* SPI_FOG_FUNC_BIAS */ |
| 922 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 923 | 0xc0016900, |
| 924 | 0x00000225, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 925 | 0x00000000, /* SQ_PGM_START_FS */ |
| 926 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 927 | 0xc0016900, |
| 928 | 0x00000229, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 929 | 0x00000000, /* SQ_PGM_RESOURCES_FS */ |
| 930 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 931 | 0xc0016900, |
| 932 | 0x00000237, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 933 | 0x00000000, /* SQ_PGM_CF_OFFSET_FS */ |
| 934 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 935 | 0xc0036900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 936 | 0x00000100, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 937 | 0x00000800, /* VGT_MAX_VTX_INDX */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 938 | 0x00000000, /* VGT_MIN_VTX_INDX */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 939 | 0x00000000, /* VGT_INDX_OFFSET */ |
| 940 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 941 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 942 | 0x000002a8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 943 | 0x00000000, /* VGT_INSTANCE_STEP_RATE_0 */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 944 | 0x00000000, /* VGT_INSTANCE_STEP_RATE_1 */ |
| 945 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 946 | 0xc0016900, |
| 947 | 0x00000103, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 948 | 0x00000000, /* VGT_MULTI_PRIM_IB_RESET_INDX */ |
| 949 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 950 | 0xc0016900, |
| 951 | 0x00000284, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 952 | 0x00000000, /* VGT_OUTPUT_PATH_CNTL */ |
| 953 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 954 | 0xc0016900, |
| 955 | 0x00000290, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 956 | 0x00000000, /* VGT_GS_MODE */ |
| 957 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 958 | 0xc00b6900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 959 | 0x00000285, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 960 | 0x00000000, /* VGT_HOS_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 961 | 0x00000000, /* VGT_HOS_MAX_TESS_LEVEL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 962 | 0x00000000, /* VGT_HOS_MIN_TESS_LEVEL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 963 | 0x00000000, /* VGT_HOS_REUSE_DEPTH */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 964 | 0x00000000, /* VGT_GROUP_PRIM_TYPE */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 965 | 0x00000000, /* VGT_GROUP_FIRST_DECR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 966 | 0x00000000, /* VGT_GROUP_DECR */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 967 | 0x00000000, /* VGT_GROUP_VECT_0_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 968 | 0x00000000, /* VGT_GROUP_VECT_1_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 969 | 0x00000000, /* VGT_GROUP_VECT_0_FMT_CNTL */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 970 | 0x00000000, /* VGT_GROUP_VECT_1_FMT_CNTL */ |
| 971 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 972 | 0xc0016900, |
| 973 | 0x000002a1, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 974 | 0x00000000, /* VGT_PRIMITIVEID_EN */ |
| 975 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 976 | 0xc0016900, |
| 977 | 0x000002a5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 978 | 0x00000000, /* VGT_MULTI_PRIM_ID_RESET_EN */ |
| 979 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 980 | 0xc0036900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 981 | 0x000002ac, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 982 | 0x00000000, /* VGT_STRMOUT_EN */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 983 | 0x00000000, /* VGT_REUSE_OFF */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 984 | 0x00000000, /* VGT_VTX_CNT_EN */ |
| 985 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 986 | 0xc0016900, |
| 987 | 0x000002c8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 988 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ |
| 989 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 990 | 0xc0016900, |
| 991 | 0x00000206, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 992 | 0x00000100, /* PA_CL_VTE_CNTL */ |
| 993 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 994 | 0xc0016900, |
| 995 | 0x00000204, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 996 | 0x00010000, /* PA_CL_CLIP_CNTL */ |
| 997 | |
| 998 | 0xc0036e00, /* SET_SAMPLER */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 999 | 0x00000000, |
| 1000 | 0x00000012, |
| 1001 | 0x00000000, |
| 1002 | 0x00000000, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1003 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1004 | 0xc0016900, |
| 1005 | 0x0000008f, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1006 | 0x0000000f, /* CB_SHADER_MASK */ |
| 1007 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1008 | 0xc0016900, |
| 1009 | 0x000001e8, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1010 | 0x00000001, /* CB_SHADER_CONTROL */ |
| 1011 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1012 | 0xc0016900, |
| 1013 | 0x00000202, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1014 | 0x00cc0000, /* CB_COLOR_CONTROL */ |
| 1015 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1016 | 0xc0016900, |
| 1017 | 0x00000205, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1018 | 0x00000244, /* PA_SU_SC_MODE_CNTL */ |
| 1019 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1020 | 0xc0016900, |
| 1021 | 0x00000203, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1022 | 0x00000210, /* DB_SHADER_CNTL */ |
| 1023 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1024 | 0xc0016900, |
| 1025 | 0x000001b1, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1026 | 0x00000000, /* SPI_VS_OUT_CONFIG */ |
| 1027 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1028 | 0xc0016900, |
| 1029 | 0x00000185, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1030 | 0x00000000, /* SPI_VS_OUT_ID_0 */ |
| 1031 | |
Alex Deucher | eb54443 | 2010-07-27 18:57:06 -0400 | [diff] [blame^] | 1032 | 0xc0026900, |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1033 | 0x000001b3, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1034 | 0x00000001, /* SPI_PS_IN_CONTROL_0 */ |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1035 | 0x00000000, /* SPI_PS_IN_CONTROL_1 */ |
| 1036 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1037 | 0xc0016900, |
| 1038 | 0x00000191, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1039 | 0x00000b00, /* SPI_PS_INPUT_CNTL_0 */ |
| 1040 | |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1041 | 0xc0016900, |
| 1042 | 0x000001b5, |
Alex Deucher | 8c119e9 | 2010-07-26 12:39:00 -0400 | [diff] [blame] | 1043 | 0x00000000, /* SPI_INTERP_CONTROL_0 */ |
Jerome Glisse | 3ce0a23 | 2009-09-08 10:10:24 +1000 | [diff] [blame] | 1044 | }; |
| 1045 | |
| 1046 | /* same for r6xx/r7xx */ |
| 1047 | const u32 r6xx_vs[] = |
| 1048 | { |
| 1049 | 0x00000004, |
| 1050 | 0x81000000, |
| 1051 | 0x0000203c, |
| 1052 | 0x94000b08, |
| 1053 | 0x00004000, |
| 1054 | 0x14200b1a, |
| 1055 | 0x00000000, |
| 1056 | 0x00000000, |
| 1057 | 0x3c000000, |
| 1058 | 0x68cd1000, |
| 1059 | 0x00080000, |
| 1060 | 0x00000000, |
| 1061 | }; |
| 1062 | |
| 1063 | const u32 r6xx_ps[] = |
| 1064 | { |
| 1065 | 0x00000002, |
| 1066 | 0x80800000, |
| 1067 | 0x00000000, |
| 1068 | 0x94200688, |
| 1069 | 0x00000010, |
| 1070 | 0x000d1000, |
| 1071 | 0xb0800000, |
| 1072 | 0x00000000, |
| 1073 | }; |
| 1074 | |
| 1075 | const u32 r6xx_ps_size = ARRAY_SIZE(r6xx_ps); |
| 1076 | const u32 r6xx_vs_size = ARRAY_SIZE(r6xx_vs); |
| 1077 | const u32 r6xx_default_size = ARRAY_SIZE(r6xx_default_state); |
| 1078 | const u32 r7xx_default_size = ARRAY_SIZE(r7xx_default_state); |