Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 1 | #include "intel_renderstate.h" |
| 2 | |
| 3 | static const u32 gen7_null_state_relocs[] = { |
Mika Kuoppala | 229b048 | 2014-05-14 17:02:17 +0300 | [diff] [blame^] | 4 | 0x0000000c, |
| 5 | 0x00000010, |
| 6 | 0x00000018, |
| 7 | 0x000001ec, |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 8 | }; |
| 9 | |
| 10 | static const u32 gen7_null_state_batch[] = { |
Mika Kuoppala | 229b048 | 2014-05-14 17:02:17 +0300 | [diff] [blame^] | 11 | 0x69040000, |
| 12 | 0x61010008, |
| 13 | 0x00000000, |
| 14 | 0x00000001, /* reloc */ |
| 15 | 0x00000001, /* reloc */ |
| 16 | 0x00000000, |
| 17 | 0x00000001, /* reloc */ |
| 18 | 0x00000000, |
| 19 | 0x00000001, |
| 20 | 0x00000000, |
| 21 | 0x00000001, |
| 22 | 0x790d0002, |
| 23 | 0x00000000, |
| 24 | 0x00000000, |
| 25 | 0x00000000, |
| 26 | 0x78180000, |
| 27 | 0x00000001, |
| 28 | 0x79160000, |
| 29 | 0x00000008, |
| 30 | 0x78300000, |
| 31 | 0x02010040, |
| 32 | 0x78310000, |
| 33 | 0x04000000, |
| 34 | 0x78320000, |
| 35 | 0x04000000, |
| 36 | 0x78330000, |
| 37 | 0x02000000, |
| 38 | 0x78100004, |
| 39 | 0x00000000, |
| 40 | 0x00000000, |
| 41 | 0x00000000, |
| 42 | 0x00000000, |
| 43 | 0x00000000, |
| 44 | 0x781b0005, |
| 45 | 0x00000000, |
| 46 | 0x00000000, |
| 47 | 0x00000000, |
| 48 | 0x00000000, |
| 49 | 0x00000000, |
| 50 | 0x00000000, |
| 51 | 0x781c0002, |
| 52 | 0x00000000, |
| 53 | 0x00000000, |
| 54 | 0x00000000, |
| 55 | 0x781d0004, |
| 56 | 0x00000000, |
| 57 | 0x00000000, |
| 58 | 0x00000000, |
| 59 | 0x00000000, |
| 60 | 0x00000000, |
| 61 | 0x78110005, |
| 62 | 0x00000000, |
| 63 | 0x00000000, |
| 64 | 0x00000000, |
| 65 | 0x00000000, |
| 66 | 0x00000000, |
| 67 | 0x00000000, |
| 68 | 0x78120002, |
| 69 | 0x00000000, |
| 70 | 0x00000000, |
| 71 | 0x00000000, |
| 72 | 0x78210000, |
| 73 | 0x00000000, |
| 74 | 0x78130005, |
| 75 | 0x00000000, |
| 76 | 0x20000000, |
| 77 | 0x04000000, |
| 78 | 0x00000000, |
| 79 | 0x00000000, |
| 80 | 0x00000000, |
| 81 | 0x78140001, |
| 82 | 0x20000800, |
| 83 | 0x00000000, |
| 84 | 0x781e0001, |
| 85 | 0x00000000, |
| 86 | 0x00000000, |
| 87 | 0x78050005, |
| 88 | 0xe0040000, |
| 89 | 0x00000000, |
| 90 | 0x00000000, |
| 91 | 0x00000000, |
| 92 | 0x00000000, |
| 93 | 0x00000000, |
| 94 | 0x78040001, |
| 95 | 0x00000000, |
| 96 | 0x00000000, |
| 97 | 0x78240000, |
| 98 | 0x00000240, |
| 99 | 0x78230000, |
| 100 | 0x00000260, |
| 101 | 0x782f0000, |
| 102 | 0x00000280, |
| 103 | 0x781f000c, |
| 104 | 0x00400810, |
| 105 | 0x00000000, |
| 106 | 0x00000000, |
| 107 | 0x00000000, |
| 108 | 0x00000000, |
| 109 | 0x00000000, |
| 110 | 0x00000000, |
| 111 | 0x00000000, |
| 112 | 0x00000000, |
| 113 | 0x00000000, |
| 114 | 0x00000000, |
| 115 | 0x00000000, |
| 116 | 0x00000000, |
| 117 | 0x78200006, |
| 118 | 0x000002c0, |
| 119 | 0x08080000, |
| 120 | 0x00000000, |
| 121 | 0x28000402, |
| 122 | 0x00060000, |
| 123 | 0x00000000, |
| 124 | 0x00000000, |
| 125 | 0x78090005, |
| 126 | 0x02000000, |
| 127 | 0x22220000, |
| 128 | 0x02f60000, |
| 129 | 0x11230000, |
| 130 | 0x02f60004, |
| 131 | 0x11230000, |
| 132 | 0x78080003, |
| 133 | 0x00006008, |
| 134 | 0x00000340, /* reloc */ |
| 135 | 0xffffffff, |
| 136 | 0x00000000, |
| 137 | 0x782a0000, |
| 138 | 0x00000360, |
| 139 | 0x79000002, |
| 140 | 0xffffffff, |
| 141 | 0x00000000, |
| 142 | 0x00000000, |
| 143 | 0x7b000005, |
| 144 | 0x0000000f, |
| 145 | 0x00000003, |
| 146 | 0x00000000, |
| 147 | 0x00000001, |
| 148 | 0x00000000, |
| 149 | 0x00000000, |
| 150 | 0x05000000, /* cmds end */ |
| 151 | 0x00000000, |
| 152 | 0x00000000, |
| 153 | 0x00000000, |
| 154 | 0x00000000, |
| 155 | 0x00000031, /* state start */ |
| 156 | 0x00000003, |
| 157 | 0x00000000, |
| 158 | 0x00000000, |
| 159 | 0x00000000, |
| 160 | 0x00000000, |
| 161 | 0x00000000, |
| 162 | 0x00000000, |
| 163 | 0xf99a130c, |
| 164 | 0x799a130c, |
| 165 | 0x00000000, |
| 166 | 0x00000000, |
| 167 | 0x00000000, |
| 168 | 0x00000000, |
| 169 | 0x00000000, |
| 170 | 0x00000000, |
| 171 | 0x00000000, |
| 172 | 0x00000000, |
| 173 | 0x00000000, |
| 174 | 0x00000492, |
| 175 | 0x00000000, |
| 176 | 0x00000000, |
| 177 | 0x00000000, |
| 178 | 0x00000000, |
| 179 | 0x00000000, |
| 180 | 0x00000000, |
| 181 | 0x00000000, |
| 182 | 0x00000000, |
| 183 | 0x00000000, |
| 184 | 0x00000000, |
| 185 | 0x00000000, |
| 186 | 0x00000000, |
| 187 | 0x0080005a, |
| 188 | 0x2e2077bd, |
| 189 | 0x000000c0, |
| 190 | 0x008d0040, |
| 191 | 0x0080005a, |
| 192 | 0x2e6077bd, |
| 193 | 0x000000d0, |
| 194 | 0x008d0040, |
| 195 | 0x02800031, |
| 196 | 0x21801fa9, |
| 197 | 0x008d0e20, |
| 198 | 0x08840001, |
| 199 | 0x00800001, |
| 200 | 0x2e2003bd, |
| 201 | 0x008d0180, |
| 202 | 0x00000000, |
| 203 | 0x00800001, |
| 204 | 0x2e6003bd, |
| 205 | 0x008d01c0, |
| 206 | 0x00000000, |
| 207 | 0x00800001, |
| 208 | 0x2ea003bd, |
| 209 | 0x008d0200, |
| 210 | 0x00000000, |
| 211 | 0x00800001, |
| 212 | 0x2ee003bd, |
| 213 | 0x008d0240, |
| 214 | 0x00000000, |
| 215 | 0x05800031, |
| 216 | 0x20001fa8, |
| 217 | 0x008d0e20, |
| 218 | 0x90031000, |
| 219 | 0x00000000, |
| 220 | 0x00000000, |
| 221 | 0x00000000, |
| 222 | 0x00000000, |
| 223 | 0x00000000, |
| 224 | 0x00000000, |
| 225 | 0x00000000, |
| 226 | 0x00000000, |
| 227 | 0x00000380, |
| 228 | 0x000003a0, |
| 229 | 0x00000000, |
| 230 | 0x00000000, |
| 231 | 0x00000000, |
| 232 | 0x00000000, |
| 233 | 0x00000000, |
| 234 | 0x00000000, |
| 235 | 0x00000000, |
| 236 | 0x00000000, |
| 237 | 0x00000000, |
| 238 | 0x00000000, |
| 239 | 0x00000000, |
| 240 | 0x00000000, |
| 241 | 0x00000000, |
| 242 | 0x00000000, |
| 243 | 0x00000000, |
| 244 | 0x00000000, |
| 245 | 0x00000000, |
| 246 | 0x00000000, |
| 247 | 0x00000000, |
| 248 | 0x00000000, |
| 249 | 0x00000000, |
| 250 | 0x00000000, /* state end */ |
Mika Kuoppala | 9d0a6fa | 2014-05-14 17:02:16 +0300 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | RO_RENDERSTATE(7); |