linux/drivers/gpu/drm/i915/gt/gen6_renderstate.c
<<
>>
Prefs
   1/*
   2 * Copyright © 2014 Intel Corporation
   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 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  21 * DEALINGS IN THE SOFTWARE.
  22 *
  23 * Generated by: intel-gpu-tools-1.8-220-g01153e7
  24 */
  25
  26#include "intel_renderstate.h"
  27
  28static const u32 gen6_null_state_relocs[] = {
  29        0x00000020,
  30        0x00000024,
  31        0x0000002c,
  32        0x000001e0,
  33        0x000001e4,
  34        -1,
  35};
  36
  37static const u32 gen6_null_state_batch[] = {
  38        0x69040000,
  39        0x790d0001,
  40        0x00000000,
  41        0x00000000,
  42        0x78180000,
  43        0x00000001,
  44        0x61010008,
  45        0x00000000,
  46        0x00000001,      /* reloc */
  47        0x00000001,      /* reloc */
  48        0x00000000,
  49        0x00000001,      /* reloc */
  50        0x00000000,
  51        0x00000001,
  52        0x00000000,
  53        0x00000001,
  54        0x61020000,
  55        0x00000000,
  56        0x78050001,
  57        0x00000018,
  58        0x00000000,
  59        0x780d1002,
  60        0x00000000,
  61        0x00000000,
  62        0x00000420,
  63        0x78150003,
  64        0x00000000,
  65        0x00000000,
  66        0x00000000,
  67        0x00000000,
  68        0x78100004,
  69        0x00000000,
  70        0x00000000,
  71        0x00000000,
  72        0x00000000,
  73        0x00000000,
  74        0x78160003,
  75        0x00000000,
  76        0x00000000,
  77        0x00000000,
  78        0x00000000,
  79        0x78110005,
  80        0x00000000,
  81        0x00000000,
  82        0x00000000,
  83        0x00000000,
  84        0x00000000,
  85        0x00000000,
  86        0x78120002,
  87        0x00000000,
  88        0x00000000,
  89        0x00000000,
  90        0x78170003,
  91        0x00000000,
  92        0x00000000,
  93        0x00000000,
  94        0x00000000,
  95        0x79050005,
  96        0xe0040000,
  97        0x00000000,
  98        0x00000000,
  99        0x00000000,
 100        0x00000000,
 101        0x00000000,
 102        0x79100000,
 103        0x00000000,
 104        0x79000002,
 105        0xffffffff,
 106        0x00000000,
 107        0x00000000,
 108        0x780e0002,
 109        0x00000441,
 110        0x00000401,
 111        0x00000401,
 112        0x78021002,
 113        0x00000000,
 114        0x00000000,
 115        0x00000400,
 116        0x78130012,
 117        0x00400810,
 118        0x00000000,
 119        0x20000000,
 120        0x04000000,
 121        0x00000000,
 122        0x00000000,
 123        0x00000000,
 124        0x00000000,
 125        0x00000000,
 126        0x00000000,
 127        0x00000000,
 128        0x00000000,
 129        0x00000000,
 130        0x00000000,
 131        0x00000000,
 132        0x00000000,
 133        0x00000000,
 134        0x00000000,
 135        0x00000000,
 136        0x78140007,
 137        0x00000280,
 138        0x08080000,
 139        0x00000000,
 140        0x00060000,
 141        0x4e080002,
 142        0x00100400,
 143        0x00000000,
 144        0x00000000,
 145        0x78090005,
 146        0x02000000,
 147        0x22220000,
 148        0x02f60000,
 149        0x11330000,
 150        0x02850004,
 151        0x11220000,
 152        0x78011002,
 153        0x00000000,
 154        0x00000000,
 155        0x00000200,
 156        0x78080003,
 157        0x00002000,
 158        0x00000448,      /* reloc */
 159        0x00000448,      /* reloc */
 160        0x00000000,
 161        0x05000000,      /* cmds end */
 162        0x00000000,
 163        0x00000000,
 164        0x00000000,
 165        0x00000000,
 166        0x00000220,      /* state start */
 167        0x00000240,
 168        0x00000000,
 169        0x00000000,
 170        0x00000000,
 171        0x00000000,
 172        0x00000000,
 173        0x00000000,
 174        0x00000000,
 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        0x00000000,
 188        0x00000000,
 189        0x00000000,
 190        0x00000000,
 191        0x00000000,
 192        0x00000000,
 193        0x00000000,
 194        0x00000000,
 195        0x00000000,
 196        0x00000000,
 197        0x00000000,
 198        0x0060005a,
 199        0x204077be,
 200        0x000000c0,
 201        0x008d0040,
 202        0x0060005a,
 203        0x206077be,
 204        0x000000c0,
 205        0x008d0080,
 206        0x0060005a,
 207        0x208077be,
 208        0x000000d0,
 209        0x008d0040,
 210        0x0060005a,
 211        0x20a077be,
 212        0x000000d0,
 213        0x008d0080,
 214        0x00000201,
 215        0x20080061,
 216        0x00000000,
 217        0x00000000,
 218        0x00600001,
 219        0x20200022,
 220        0x008d0000,
 221        0x00000000,
 222        0x02800031,
 223        0x21c01cc9,
 224        0x00000020,
 225        0x0a8a0001,
 226        0x00600001,
 227        0x204003be,
 228        0x008d01c0,
 229        0x00000000,
 230        0x00600001,
 231        0x206003be,
 232        0x008d01e0,
 233        0x00000000,
 234        0x00600001,
 235        0x208003be,
 236        0x008d0200,
 237        0x00000000,
 238        0x00600001,
 239        0x20a003be,
 240        0x008d0220,
 241        0x00000000,
 242        0x00600001,
 243        0x20c003be,
 244        0x008d0240,
 245        0x00000000,
 246        0x00600001,
 247        0x20e003be,
 248        0x008d0260,
 249        0x00000000,
 250        0x00600001,
 251        0x210003be,
 252        0x008d0280,
 253        0x00000000,
 254        0x00600001,
 255        0x212003be,
 256        0x008d02a0,
 257        0x00000000,
 258        0x05800031,
 259        0x24001cc8,
 260        0x00000040,
 261        0x90019000,
 262        0x0000007e,
 263        0x00000000,
 264        0x00000000,
 265        0x00000000,
 266        0x0000007e,
 267        0x00000000,
 268        0x00000000,
 269        0x00000000,
 270        0x0000007e,
 271        0x00000000,
 272        0x00000000,
 273        0x00000000,
 274        0x0000007e,
 275        0x00000000,
 276        0x00000000,
 277        0x00000000,
 278        0x0000007e,
 279        0x00000000,
 280        0x00000000,
 281        0x00000000,
 282        0x0000007e,
 283        0x00000000,
 284        0x00000000,
 285        0x00000000,
 286        0x0000007e,
 287        0x00000000,
 288        0x00000000,
 289        0x00000000,
 290        0x0000007e,
 291        0x00000000,
 292        0x00000000,
 293        0x00000000,
 294        0x30000000,
 295        0x00000124,
 296        0x00000000,
 297        0x00000000,
 298        0x00000000,
 299        0x00000000,
 300        0x00000000,
 301        0x00000000,
 302        0xf99a130c,
 303        0x799a130c,
 304        0x00000000,
 305        0x00000000,
 306        0x00000000,
 307        0x00000000,
 308        0x00000000,
 309        0x00000000,
 310        0x80000031,
 311        0x00000003,
 312        0x00000000,      /* state end */
 313};
 314
 315RO_RENDERSTATE(6);
 316