root/drivers/gpu/drm/i915/gt/gen7_renderstate.c

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

/* [<][>][^][v][top][bottom][index][help] */