Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 1 | #include "intel_renderstate.h" |
| 2 | |
| 3 | static const u32 gen6_null_state_relocs[] = { |
Mika Kuoppala | 229b048 | 2014-05-14 17:02:17 +0300 | [diff] [blame] | 4 | 0x00000020, |
| 5 | 0x00000024, |
| 6 | 0x0000002c, |
| 7 | 0x000001e0, |
| 8 | 0x000001e4, |
Chris Wilson | 1ce826d | 2014-06-10 11:23:33 +0100 | [diff] [blame] | 9 | -1, |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 10 | }; |
| 11 | |
| 12 | static const u32 gen6_null_state_batch[] = { |
Mika Kuoppala | 229b048 | 2014-05-14 17:02:17 +0300 | [diff] [blame] | 13 | 0x69040000, |
| 14 | 0x790d0001, |
| 15 | 0x00000000, |
| 16 | 0x00000000, |
| 17 | 0x78180000, |
| 18 | 0x00000001, |
| 19 | 0x61010008, |
| 20 | 0x00000000, |
| 21 | 0x00000001, /* reloc */ |
| 22 | 0x00000001, /* reloc */ |
| 23 | 0x00000000, |
| 24 | 0x00000001, /* reloc */ |
| 25 | 0x00000000, |
| 26 | 0x00000001, |
| 27 | 0x00000000, |
| 28 | 0x00000001, |
| 29 | 0x61020000, |
| 30 | 0x00000000, |
| 31 | 0x78050001, |
| 32 | 0x00000018, |
| 33 | 0x00000000, |
| 34 | 0x780d1002, |
| 35 | 0x00000000, |
| 36 | 0x00000000, |
| 37 | 0x00000420, |
| 38 | 0x78150003, |
| 39 | 0x00000000, |
| 40 | 0x00000000, |
| 41 | 0x00000000, |
| 42 | 0x00000000, |
| 43 | 0x78100004, |
| 44 | 0x00000000, |
| 45 | 0x00000000, |
| 46 | 0x00000000, |
| 47 | 0x00000000, |
| 48 | 0x00000000, |
| 49 | 0x78160003, |
| 50 | 0x00000000, |
| 51 | 0x00000000, |
| 52 | 0x00000000, |
| 53 | 0x00000000, |
| 54 | 0x78110005, |
| 55 | 0x00000000, |
| 56 | 0x00000000, |
| 57 | 0x00000000, |
| 58 | 0x00000000, |
| 59 | 0x00000000, |
| 60 | 0x00000000, |
| 61 | 0x78120002, |
| 62 | 0x00000000, |
| 63 | 0x00000000, |
| 64 | 0x00000000, |
| 65 | 0x78170003, |
| 66 | 0x00000000, |
| 67 | 0x00000000, |
| 68 | 0x00000000, |
| 69 | 0x00000000, |
| 70 | 0x79050005, |
| 71 | 0xe0040000, |
| 72 | 0x00000000, |
| 73 | 0x00000000, |
| 74 | 0x00000000, |
| 75 | 0x00000000, |
| 76 | 0x00000000, |
| 77 | 0x79100000, |
| 78 | 0x00000000, |
| 79 | 0x79000002, |
| 80 | 0xffffffff, |
| 81 | 0x00000000, |
| 82 | 0x00000000, |
| 83 | 0x780e0002, |
| 84 | 0x00000441, |
| 85 | 0x00000401, |
| 86 | 0x00000401, |
| 87 | 0x78021002, |
| 88 | 0x00000000, |
| 89 | 0x00000000, |
| 90 | 0x00000400, |
| 91 | 0x78130012, |
| 92 | 0x00400810, |
| 93 | 0x00000000, |
| 94 | 0x20000000, |
| 95 | 0x04000000, |
| 96 | 0x00000000, |
| 97 | 0x00000000, |
| 98 | 0x00000000, |
| 99 | 0x00000000, |
| 100 | 0x00000000, |
| 101 | 0x00000000, |
| 102 | 0x00000000, |
| 103 | 0x00000000, |
| 104 | 0x00000000, |
| 105 | 0x00000000, |
| 106 | 0x00000000, |
| 107 | 0x00000000, |
| 108 | 0x00000000, |
| 109 | 0x00000000, |
| 110 | 0x00000000, |
| 111 | 0x78140007, |
| 112 | 0x00000280, |
| 113 | 0x08080000, |
| 114 | 0x00000000, |
| 115 | 0x00060000, |
| 116 | 0x4e080002, |
| 117 | 0x00100400, |
| 118 | 0x00000000, |
| 119 | 0x00000000, |
| 120 | 0x78090005, |
| 121 | 0x02000000, |
| 122 | 0x22220000, |
| 123 | 0x02f60000, |
| 124 | 0x11330000, |
| 125 | 0x02850004, |
| 126 | 0x11220000, |
| 127 | 0x78011002, |
| 128 | 0x00000000, |
| 129 | 0x00000000, |
| 130 | 0x00000200, |
| 131 | 0x78080003, |
| 132 | 0x00002000, |
| 133 | 0x00000448, /* reloc */ |
| 134 | 0x00000448, /* reloc */ |
| 135 | 0x00000000, |
| 136 | 0x05000000, /* cmds end */ |
| 137 | 0x00000000, |
| 138 | 0x00000000, |
| 139 | 0x00000000, |
| 140 | 0x00000000, |
| 141 | 0x00000220, /* state start */ |
| 142 | 0x00000240, |
| 143 | 0x00000000, |
| 144 | 0x00000000, |
| 145 | 0x00000000, |
| 146 | 0x00000000, |
| 147 | 0x00000000, |
| 148 | 0x00000000, |
| 149 | 0x00000000, |
| 150 | 0x00000000, |
| 151 | 0x00000000, |
| 152 | 0x00000000, |
| 153 | 0x00000000, |
| 154 | 0x00000000, |
| 155 | 0x00000000, |
| 156 | 0x00000000, |
| 157 | 0x00000000, |
| 158 | 0x00000000, |
| 159 | 0x00000000, |
| 160 | 0x00000000, |
| 161 | 0x00000000, |
| 162 | 0x00000000, |
| 163 | 0x00000000, |
| 164 | 0x00000000, |
| 165 | 0x00000000, |
| 166 | 0x00000000, |
| 167 | 0x00000000, |
| 168 | 0x00000000, |
| 169 | 0x00000000, |
| 170 | 0x00000000, |
| 171 | 0x00000000, |
| 172 | 0x00000000, |
| 173 | 0x0060005a, |
| 174 | 0x204077be, |
| 175 | 0x000000c0, |
| 176 | 0x008d0040, |
| 177 | 0x0060005a, |
| 178 | 0x206077be, |
| 179 | 0x000000c0, |
| 180 | 0x008d0080, |
| 181 | 0x0060005a, |
| 182 | 0x208077be, |
| 183 | 0x000000d0, |
| 184 | 0x008d0040, |
| 185 | 0x0060005a, |
| 186 | 0x20a077be, |
| 187 | 0x000000d0, |
| 188 | 0x008d0080, |
| 189 | 0x00000201, |
| 190 | 0x20080061, |
| 191 | 0x00000000, |
| 192 | 0x00000000, |
| 193 | 0x00600001, |
| 194 | 0x20200022, |
| 195 | 0x008d0000, |
| 196 | 0x00000000, |
| 197 | 0x02800031, |
| 198 | 0x21c01cc9, |
| 199 | 0x00000020, |
| 200 | 0x0a8a0001, |
| 201 | 0x00600001, |
| 202 | 0x204003be, |
| 203 | 0x008d01c0, |
| 204 | 0x00000000, |
| 205 | 0x00600001, |
| 206 | 0x206003be, |
| 207 | 0x008d01e0, |
| 208 | 0x00000000, |
| 209 | 0x00600001, |
| 210 | 0x208003be, |
| 211 | 0x008d0200, |
| 212 | 0x00000000, |
| 213 | 0x00600001, |
| 214 | 0x20a003be, |
| 215 | 0x008d0220, |
| 216 | 0x00000000, |
| 217 | 0x00600001, |
| 218 | 0x20c003be, |
| 219 | 0x008d0240, |
| 220 | 0x00000000, |
| 221 | 0x00600001, |
| 222 | 0x20e003be, |
| 223 | 0x008d0260, |
| 224 | 0x00000000, |
| 225 | 0x00600001, |
| 226 | 0x210003be, |
| 227 | 0x008d0280, |
| 228 | 0x00000000, |
| 229 | 0x00600001, |
| 230 | 0x212003be, |
| 231 | 0x008d02a0, |
| 232 | 0x00000000, |
| 233 | 0x05800031, |
| 234 | 0x24001cc8, |
| 235 | 0x00000040, |
| 236 | 0x90019000, |
| 237 | 0x0000007e, |
| 238 | 0x00000000, |
| 239 | 0x00000000, |
| 240 | 0x00000000, |
| 241 | 0x0000007e, |
| 242 | 0x00000000, |
| 243 | 0x00000000, |
| 244 | 0x00000000, |
| 245 | 0x0000007e, |
| 246 | 0x00000000, |
| 247 | 0x00000000, |
| 248 | 0x00000000, |
| 249 | 0x0000007e, |
| 250 | 0x00000000, |
| 251 | 0x00000000, |
| 252 | 0x00000000, |
| 253 | 0x0000007e, |
| 254 | 0x00000000, |
| 255 | 0x00000000, |
| 256 | 0x00000000, |
| 257 | 0x0000007e, |
| 258 | 0x00000000, |
| 259 | 0x00000000, |
| 260 | 0x00000000, |
| 261 | 0x0000007e, |
| 262 | 0x00000000, |
| 263 | 0x00000000, |
| 264 | 0x00000000, |
| 265 | 0x0000007e, |
| 266 | 0x00000000, |
| 267 | 0x00000000, |
| 268 | 0x00000000, |
| 269 | 0x30000000, |
| 270 | 0x00000124, |
| 271 | 0x00000000, |
| 272 | 0x00000000, |
| 273 | 0x00000000, |
| 274 | 0x00000000, |
| 275 | 0x00000000, |
| 276 | 0x00000000, |
| 277 | 0xf99a130c, |
| 278 | 0x799a130c, |
| 279 | 0x00000000, |
| 280 | 0x00000000, |
| 281 | 0x00000000, |
| 282 | 0x00000000, |
| 283 | 0x00000000, |
| 284 | 0x00000000, |
| 285 | 0x80000031, |
| 286 | 0x00000003, |
| 287 | 0x00000000, /* state end */ |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 288 | }; |
| 289 | |
| 290 | RO_RENDERSTATE(6); |