1 /* $NetBSD: gen7_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */ 2 3 /* 4 * Copyright © 2014 Intel Corporation 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 * and/or sell copies of the Software, and to permit persons to whom the 11 * Software is furnished to do so, subject to the following conditions: 12 * 13 * The above copyright notice and this permission notice (including the next 14 * paragraph) shall be included in all copies or substantial portions of the 15 * Software. 16 * 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 * DEALINGS IN THE SOFTWARE. 24 * 25 * Generated by: intel-gpu-tools-1.8-220-g01153e7 26 */ 27 28 #include <sys/cdefs.h> 29 __KERNEL_RCSID(0, "$NetBSD: gen7_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $"); 30 31 #include "intel_renderstate.h" 32 33 static const u32 gen7_null_state_relocs[] = { 34 0x0000000c, 35 0x00000010, 36 0x00000018, 37 0x000001ec, 38 -1, 39 }; 40 41 static const u32 gen7_null_state_batch[] = { 42 0x69040000, 43 0x61010008, 44 0x00000000, 45 0x00000001, /* reloc */ 46 0x00000001, /* reloc */ 47 0x00000000, 48 0x00000001, /* reloc */ 49 0x00000000, 50 0x00000001, 51 0x00000000, 52 0x00000001, 53 0x790d0002, 54 0x00000000, 55 0x00000000, 56 0x00000000, 57 0x78180000, 58 0x00000001, 59 0x79160000, 60 0x00000008, 61 0x78300000, 62 0x02010040, 63 0x78310000, 64 0x04000000, 65 0x78320000, 66 0x04000000, 67 0x78330000, 68 0x02000000, 69 0x78100004, 70 0x00000000, 71 0x00000000, 72 0x00000000, 73 0x00000000, 74 0x00000000, 75 0x781b0005, 76 0x00000000, 77 0x00000000, 78 0x00000000, 79 0x00000000, 80 0x00000000, 81 0x00000000, 82 0x781c0002, 83 0x00000000, 84 0x00000000, 85 0x00000000, 86 0x781d0004, 87 0x00000000, 88 0x00000000, 89 0x00000000, 90 0x00000000, 91 0x00000000, 92 0x78110005, 93 0x00000000, 94 0x00000000, 95 0x00000000, 96 0x00000000, 97 0x00000000, 98 0x00000000, 99 0x78120002, 100 0x00000000, 101 0x00000000, 102 0x00000000, 103 0x78210000, 104 0x00000000, 105 0x78130005, 106 0x00000000, 107 0x20000000, 108 0x04000000, 109 0x00000000, 110 0x00000000, 111 0x00000000, 112 0x78140001, 113 0x20000800, 114 0x00000000, 115 0x781e0001, 116 0x00000000, 117 0x00000000, 118 0x78050005, 119 0xe0040000, 120 0x00000000, 121 0x00000000, 122 0x00000000, 123 0x00000000, 124 0x00000000, 125 0x78040001, 126 0x00000000, 127 0x00000000, 128 0x78240000, 129 0x00000240, 130 0x78230000, 131 0x00000260, 132 0x782f0000, 133 0x00000280, 134 0x781f000c, 135 0x00400810, 136 0x00000000, 137 0x00000000, 138 0x00000000, 139 0x00000000, 140 0x00000000, 141 0x00000000, 142 0x00000000, 143 0x00000000, 144 0x00000000, 145 0x00000000, 146 0x00000000, 147 0x00000000, 148 0x78200006, 149 0x000002c0, 150 0x08080000, 151 0x00000000, 152 0x28000402, 153 0x00060000, 154 0x00000000, 155 0x00000000, 156 0x78090005, 157 0x02000000, 158 0x22220000, 159 0x02f60000, 160 0x11230000, 161 0x02f60004, 162 0x11230000, 163 0x78080003, 164 0x00006008, 165 0x00000340, /* reloc */ 166 0xffffffff, 167 0x00000000, 168 0x782a0000, 169 0x00000360, 170 0x79000002, 171 0xffffffff, 172 0x00000000, 173 0x00000000, 174 0x7b000005, 175 0x0000000f, 176 0x00000003, 177 0x00000000, 178 0x00000001, 179 0x00000000, 180 0x00000000, 181 0x05000000, /* cmds end */ 182 0x00000000, 183 0x00000000, 184 0x00000000, 185 0x00000000, 186 0x00000031, /* state start */ 187 0x00000003, 188 0x00000000, 189 0x00000000, 190 0x00000000, 191 0x00000000, 192 0x00000000, 193 0x00000000, 194 0xf99a130c, 195 0x799a130c, 196 0x00000000, 197 0x00000000, 198 0x00000000, 199 0x00000000, 200 0x00000000, 201 0x00000000, 202 0x00000000, 203 0x00000000, 204 0x00000000, 205 0x00000492, 206 0x00000000, 207 0x00000000, 208 0x00000000, 209 0x00000000, 210 0x00000000, 211 0x00000000, 212 0x00000000, 213 0x00000000, 214 0x00000000, 215 0x00000000, 216 0x00000000, 217 0x00000000, 218 0x0080005a, 219 0x2e2077bd, 220 0x000000c0, 221 0x008d0040, 222 0x0080005a, 223 0x2e6077bd, 224 0x000000d0, 225 0x008d0040, 226 0x02800031, 227 0x21801fa9, 228 0x008d0e20, 229 0x08840001, 230 0x00800001, 231 0x2e2003bd, 232 0x008d0180, 233 0x00000000, 234 0x00800001, 235 0x2e6003bd, 236 0x008d01c0, 237 0x00000000, 238 0x00800001, 239 0x2ea003bd, 240 0x008d0200, 241 0x00000000, 242 0x00800001, 243 0x2ee003bd, 244 0x008d0240, 245 0x00000000, 246 0x05800031, 247 0x20001fa8, 248 0x008d0e20, 249 0x90031000, 250 0x00000000, 251 0x00000000, 252 0x00000000, 253 0x00000000, 254 0x00000000, 255 0x00000000, 256 0x00000000, 257 0x00000000, 258 0x00000380, 259 0x000003a0, 260 0x00000000, 261 0x00000000, 262 0x00000000, 263 0x00000000, 264 0x00000000, 265 0x00000000, 266 0x00000000, 267 0x00000000, 268 0x00000000, 269 0x00000000, 270 0x00000000, 271 0x00000000, 272 0x00000000, 273 0x00000000, 274 0x00000000, 275 0x00000000, 276 0x00000000, 277 0x00000000, 278 0x00000000, 279 0x00000000, 280 0x00000000, 281 0x00000000, /* state end */ 282 }; 283 284 RO_RENDERSTATE(7); 285