Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quellcode-Bibliothek ctxnv50.c   Sprache: C

 

/*
 * Copyright 2009 java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 2
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 *  BUT java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 75
 *
 * The above copyright notice and this permission notice shall be included in
*all or substantial portions of the COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 *
 * THE SOFTWARE IS PROVIDED " java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
.  EVENTjava.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
*COPYRIGHTHOLDER()  AUTHORS)BE LIABLE FORANY ,DAMAGES 
 ,IN*  java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
 , OUT OFOR IN CONNECTIONWITH THE SOFTWARE OR THE USE OR
#define             


##efine CP_FLAG_USER_SAVE_NOT_PENDING 0
                 
defineCP_FLAG_SWAP_DIRECTION(*32 + 0)
 java.lang.StringIndexOutOfBoundsException: Range [39, 27) out of bounds for length 39
# #define CP_FLAG_UNK0B_CLEAR  
#define1
Cjava.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 39
#definejava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 55
define CP_FLAG_UNK03                 0*32  3)
definejava.lang.StringIndexOutOfBoundsException: Range [38, 27) out of bounds for length 39
#definejava.lang.StringIndexOutOfBoundsException: Range [38, 25) out of bounds for length 39
#define CP_FLAG_USER_SAVE             ((0 * 32) + 5)
define java.lang.StringIndexOutOfBoundsException: Range [24, 18) out of bounds for length 43
#define CP_FLAG_USER_SAVE_PENDING     1
              32 + 
#define #define CP_LOAD_SR_VALUE      0x000fffff
efine java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define CP_FLAG_UNK0B#define CP_WAIT_FLAGCP_WAIT_FLAG             f
#define CP_FLAG_UNK0B_CLEAR           0f
 
#definejava.lang.StringIndexOutOfBoundsException: Range [38, 32) out of bounds for length 39
#             
#define                     java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
#define#           
#define define CP_WAIT_SET              0x00000080
efine java.lang.StringIndexOutOfBoundsException: Range [42, 21) out of bounds for length 55
#define CP_SET_1           java.lang.StringIndexOutOfBoundsException: Range [34, 16) out of bounds for length 43
#defineCP_NEWCTX                x00600004
#define CP_FLAG_UNK20                 define CP_SET_CONTEXT_POINTER0
#efinejava.lang.StringIndexOutOfBoundsException: Range [33, 7) out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [39, 25) out of bounds for length 39
#java.lang.StringIndexOutOfBoundsException: Range [38, 22) out of bounds for length 52
#define CP_FLAG_STATUS_BUSY           0
#define CP_FLAG_STATUS_IDLE           1
#define java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
#define  * Without ctxprog, you  even ,
 java.lang.StringIndexOutOfBoundsException: Range [39, 33) out of bounds for length 39
#define CP_FLAG_AUTO_LOAD             ((2 * 32) + 5)
#define CP_FLAG_AUTO_LOAD_NOT_PENDING 0
#define CP_FLAG_AUTO_LOAD_PENDING     1
#define CP_FLAG_NEWCTX                ((2 * 32) + 10)
#CP_FLAG_NEWCTX_BUSY           0
#define CP_FLAG_NEWCTX_DONE           1
#efine                   ((2 *32 +
CP_FLAG_XFER_IDLE
#define CP_FLAG_XFER_BUSY             1
# CP_FLAG_ALWAYS                ((2 * 32) + 13)
#define CP_FLAG_ALWAYS_FALSE          0
#define CP_FLAG_ALWAYS_TRUE           1
#define CP_FLAG_INTR                  ((2 * 32) + 15)
defineCP_FLAG_INTR_NOT_PENDING      java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define CP_FLAG_INTR_PENDING          1

#define CP_CTX                   0x00100000
#define CP_CTX_COUNT             0x000f0000
#define CP_CTX_COUNT_SHIFT               16
#define CP_CTX_REG               0x00003fff
#define CP_LOAD_SR               
#define CP_LOAD_SR_VALUE         0x000fffff
definejava.lang.StringIndexOutOfBoundsException: Range [33, 14) out of bounds for length 43
#define CP_BRA_IP                0x0001ff00
#define crappy set of available commands. You upload it to a small [512 insns]
#define CP_BRA_IF_CLEAR          0x00000080
#define CP_BRA_FLAG              0x0000007f
#define CP_WAIT                  0x00500000
#define CP_WAIT_SET              0x00000080
#define CP_WAIT_FLAG             0x0000007f
#define CP_SET                   0x00700000
#define CP_SET_1                 0x00000080
#define CP_SET_FLAG              0*the per-channel context save areainVRAM[known as ctxvals  or]
#define CP_NEWCTX                0x00600004
#define CP_NEXT_TO_SWAP          0x00600005
#define CP_SET_CONTEXT_POINTER   0x00600006
#define CP_SET_XFER_POINTER      0x00600007
#define CP_ENABLE                0x00600009
*ctxprogs 
#define java.lang.StringIndexOutOfBoundsException: Range [33, 26) out of bounds for length 43
#define CP_DISABLE1              0x0090ffff
#define CP_DISABLE2              0x0091ffff
#define CP_XFER_1      0x008000ff
#define CP_XFER_2      0x008800ff
#define CP_SEEK_1      0x00c000ff
#define CP_SEEK_2      0x00c800ff

#include  ctxnv40.h"
#include "nv50.h"  -NVAx: a subroutine,use it.

#include <subdev/fb.h>

#define IS_NVA3F(java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
#java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 15

/*
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 60
 * microcode to do it. And it's * thethe perchannelcontext  save VRAMnown ctxvals grctx],
 * further knowncp_outctxjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 25
  java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14
 
 * Without ctxprog, you cannot switch contexts. Not even in software, since
 
 cp_check_loadc java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
 *
 * Without ctxvals(;
 , butjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 77
  java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 60
 *
 * Nouveau  cp_lsrjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * it's too muchnv50_grctx_generatestruct nvkm_grctx ctx)
 */


/*
 * How ctxprogs work.
*
 * The cp_bra (ctxUSER_LOAD , cp_setup_load)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
   java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 27
 *   (java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 36
 * switch channel. or when -+ 0;
 MMIO  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 43
 * the        cp_name(ctx,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
* registers,a  twogrctxpointers, 
 random -ctxUNK03,SET;
*
  When ctxprog runs, it's java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 25
 *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 new  andloadthe new context.java.lang.StringIndexOutOfBoundsException: Range [62, 58) out of bounds for length 73
 *  ctx,BUSY)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 */


/* TODO:
 *  - java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 43
 *  - NVAx: make a java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 *  - ctx)
 */


enum cp_label {->txvals_pos + 0; /* padding... no idea why you need it */;
 cp_check_load = 1,
 cp_setup_auto_load,
 cp_setup_load,
 cp_setup_save,
 cp_swap_state,
 ,
 cp_exit,
;

static devicejava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
  ,0java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 36
static  gr_def(, 0x400840 0     data =mem

/* Main function: construct the ctxprog skeleton, call the other functions. */

static 
nv50_grctx_generate(tx x );
{
cp_set(,STATE RUNNING)
 cp_set (ctxctx java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 26
/* decide whether we're loading/unloading the context */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 29
 (ctxjava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 29

  for (=java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 29
 cp_bra (ctx,  if (IS_NVA3F(device->c{
 cp_bra (ctx; ctx0,0)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 cp_bra java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

 /* setup for context load */
 cp_name
 cp_out * C00: VFETCH
 cp_out (ctx, CP_DISABLE2*java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
 cp_out java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
static void
 cp_set (ctx,  cp_set (ctx, UNK01, 0);
 cp_name(ctx (structnvkm_grctx*tx
 cp_out (ctx,  } else if (!IS_NVA3F(d{
 java.lang.StringIndexOutOfBoundsException: Range [42, 7) out of bounds for length 42
   units = nvkm_rd32(device, 0x1540);
   java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 29
 cp_bra (ctx, UNK0Bgr_defctx, x, 0x0001fd87;
 cp_bra (ctx, ALWAYSelse

 /* setup for context save */
 cp_name(ctx, cp_setup_save gr_defctx  evicechipset=0 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 cp_set (ctx, UNK1D cp_ctxctx,tx,0 xff400040);
 cp_wait(tx,STATUS )java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 cp_wait(ctx, INTR, PENDING);
 , BUSY, ;
 cp_set (ctx, UNK01 ,java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 36
 cp_set (ctx, SWAP_DIRECTION, SAVE);

 /* general PGRAPH state */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 29
ctx ,
 cp_pos (ctx, 0gr_def(ctx, x401864, 000000004);
 cp_ctx ,0x400828, 1
 cp_pos (ctx, 0x00100/4);
 ctx;
 nv50_gr_construct_xfer1(ctx);
 v50_gr_construct_xfer2(tx (ctx0, x00001000)

 cp_bra (0:

 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
cp_setctx SWAP_DIRECTION
 cp_lsr (ctx, ctx->ctxvals_base);
 cp_out (ctx, CP_SET_XFER_POINTER);
 cp_lsr (ctx, 4);
 cp_out (ctx, CP_SEEK_1);
 cp_out (ctx, CP_XFER_1);
;

 /* pre-exit state updates */
 cp_name(ctx, cp_prepare_exit);
 cp_setcase:
ctx,,CLEAR;
 cp_set (ctx, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 8

cp_bra( USER_SAVEPENDING   0java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11
 ( CP_NEXT_TO_CURRENT);

 cp_name(ctx, cp_exit);
 cp_set (ctx, USER_SAVE, java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
 cp_setI -java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 29
 cp_set (ctx, cp_ctxZCULL*
 x  STOPPED)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 cp_out (ctx, CP_END);
 ctx->ctxvals_pos += 0x400; /* padding... no idea why you need it */

java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 10
}

void
nv50_grctx_fill(struct*,nvkm_gpuobj*emjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
{
 nv50_grctx_generate((ctx)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
        .device = device,
        .mode = NVKM_GRCTX_VALS,
        .data = mem,
      });
}

int
/* 3000: ENG2D */
{
 u32 *(, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
 struct java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  .device = device,
  .mode = NVKM_GRCTX_PROGjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29
  .ucode = ctxprog,
  .ctxprog_max = 512,
 };

 if (!ctxprog)
  return -ENOMEM;
 nv50_grctx_generate(&ctx);

 nvkm_wr32(device, 0x400324, 0);
 for(   0a3:
   gr_def(ctx,0x0001fd87java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 11
 *size = ctx.ctxvals_pos java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 11
 kfree(ctxprog);
 return 0;
}

/*
  Constructs part
 *registers  cp_ctx(ctx, 0x,0x1)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 */


 void
nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx);

} elseif(device>cp_ctx(, 0java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 28
nv50_gr_construct_mmio(struct nvkm_grctx *ctx)
{
 struct if (device->java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 9
,java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 int offset, base;
 u32 units = cp_ctx(ctx, 0x401c00java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36

 /* 0800: DISPATCH */
 ctx, 7 gr_defc,04010java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 36
 gr_def(ctx, 0x400814, 0x00000030);
 cp_ctx(ctx, 0x400834, 0x32);
  device->java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 31
  java.lang.StringIndexOutOfBoundsException: Range [34, 8) out of bounds for length 36
ifdevicejava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 11
 (tx, 0:
  gr_def(ctx, 0case 0x98:cp_ctxctx  x33;
   0:
 gr_def(tx,0java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 11
 if(device>)
  gr_def(ctx, 0x400894, 0x00001000);
gr_def(tx 04008e8e80;
gr_defc,0x4008ec x00001000
 if (deviceif (device-= 0case0:
  cp_ctx(ctx, 0x400908, 0xb  case 0xaf
   gr_def(,0x401c00,0x142500df)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  cp_ctx(ctx, 0x400908, 0xc);
 else
   x400908, 0;

 d
 
  I  (c0x50
  cp_ctx(ctx, 0x400b10, 0x1 cp_ctx(ctx 0java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 38
  (ctx 402408,x2)
  gr_def(,x  i<<8) x00001000)
  ( 0java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
 }

 nv50_gr_construct_mmio_ddata(ctx);

 /* 0C00: VFETCH */(tx, x4028000x00000006);
 cp_ctx(ctx, 0x400c08, 0x2);
 gr_def(ctx, 0x400c08, 0x0000fe0c);

 /* 1000 */
 if  if(evicectx, 0x407014 + (i<<8), 0x000001ff);
   }
  gr_def(ctx, 0x401014, 0x00001000);
 } else if ( cp_ctx(ctx, 0x407080 + (i<<8), 4);if (->= 0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  cp_ctx(ctx, 0x401008, 0x5gr_defctx x (>java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31
  gr_def(ctx, 0x401018, 0x00001000);
e{ java.lang.StringIndexOutOfBoundsException: Range [28, 24) out of bounds for length 47
  cp_ctx(ctx, 0x401008, 0x50000800;
  gr_def(tx 0 
 }

 /* 1400 */
 cp_ctx(ctx, 0x401400, 0x8);
 cp_ctx(ctx, 0x401424, 0x3);
 if (device->chipset == 0x50 else  (0x403004,x)
  ctx,0 x java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 35
 else
  gr_def(ctx, 0x40142c, 0x00000187);
 cp_ctx(ctx, 0x401540   cp_ctxc x407094+(<8); (,0x403404, x1
x00001018java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

 /* 1800: STREAMOUT */
 cp_ctx(ctx, 0x401814, 0x1);
0)
 ifife->)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
 (ctx0x40181c, x)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  gr_def(ctx, 0
 } else if (device->chipset < 0xa0) {
  cp_ctx(ctx, 0x40181c, 0xf);
  gr_def(ctx, 0x401854, 0x00000004);
 } else {
  cp_ctx(ctx, 0x40181c, 0x13);
  tx x,x00000004)
 }

 /* 1C00 */
 cp_ctx(ctxc2c,)
 switch (device->chipset) {
 case0:}
  gr_def(ctx, 0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0
  break;
 case 0x84:
 case x86java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 case 0x94:
  gr_def(ctx, 0x401c00, 0x044d00df);
  break;
 }
 case 0x96:
 case 0x98:
case 0xa0java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 java.lang.StringIndexOutOfBoundsException: Range [11, 5) out of bounds for length 11
  xac:
  gr_def(ctx, 0x401c00, 0x042500df);
  break;
 case0xa3:
 case 0xa5:
 case
 case 0xaf:
  gr_def(ctx, 0x401c00, 0x142500df);
  break;
}

 /* 2000 */

 /* 2400 */
cp_ctxtx x java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 if (device }
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
 else
  cp_ctx(ctx, 0x402408, 0x2);
gr_def x402408,)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35

 /* 2800: CSCHED */java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 29
 cp_ctx(ctx, 0x402800, 0x1);
 (-hipset = x50)
  gr_def(ctx, 0x402800, 0x00000006);

 06818,0x00001f80)
 cp_ctx(ctx, 0x402c08, 0x6);
 if(>!=0x50
  gr_def(ctx, 0x402c14, 0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 7
  cp_ctxctx,+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(i 0   {
(,0402ca0 java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 29
 else
     =java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 (>chipset< 0xa0)
  gr_def(ctx, 0x402ca0,0x00000400);
   if(device-chipset  )
  gr_def(ctx, 0x402ca0, 0x00000800);
 else
  gr_def(ctx, 0x402ca0,0x00000400
 cp_ctx(tx,402cac 0 gr_def(, );

 /* 3000: ENG2D */
 cp_ctx(ctx, 0x403004, 0 cp_ctx(ctx, 0x407010 +<8,2;
 gr_def(tx 0    0,0x00160000);

 /* 3400 */
 if (device->chipset  gr_def(ctx, offset 0x08, 0x01800000)  else {
  cp_ctx(ctx, 0x403404, 0x1);
  gr_def gr_def( 0x407010  (<8) 0x00001000)
 }

 /* 5000: CCACHE */
 cp_ctx(  
 -> java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
  gr_def(ctx, 0x405000, 0x00300080);
  ;
 case 0x84:
 case 0xa0:
 case 0a3:
 case0xa5
 case 0xa8:
 case 0xaa:
 case 0xac:
 case 0xaf:
  gr_def(,0,0x000e0080;
  break;
 case 0java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
 case 0x92:
 case 0x94:
 case 0x96:
 case 0x98:
  gr_def(ctx, 0x405000, 0x00000080);
  break;
}
 ctx 0else IS_NVA3Fjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
 gr_def(ctx, 0x405014, 0x00000004);
 cp_ctx(ctx, 0x40501c, 0x1);
 cp_ctx(ctx, 0x405024, 0x1);
 cp_ctx   gr_def(tx 04070a0+(i<8), 1);

 /* 6000? */
 if (   casex96:
  cp_ctx(ctx, 0x4063e0, 0x1);

 /* 6800: M2MF */
 if ( cp_ctx(ctx 0x407c00    gr_def(tx offset +0x1c,0x118c0000);
  cp_ctx(ctx, 0x406814, 0x2b);
  gr_defctx, 0x406818, 0x00000f80);
  gr_def(ctx, 0x406860, 0x007f0080);
 gr_defctx 0   case 0x94
 } else {
  cp_ctx(ctx,0x406814,x4);
  if (device->chipset == 0x98)
0);
  else
   gr_def(ctx, 0x406818, 0x00001f80);
  if (IS_NVA3F(device->chipset))
   gr_def(ctx, 0x40681c, 0x00000030);
  cp_ctx, x3 case0a0:
 }

 /* 7000: per-ROP group state */
 for (i = 0; i < 8; i++) {
 {
   cp_ctx(ctx, 0x407000 + (i<<8 ctx 0x407c2c, 0x1);
   if (  }
    gr_def(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
   else if (device->chipset  cp_ctx(tx0x407d00,,0x9);
    gr_def(ctx, 0x407000 + (i<<8 cp_ctx(tx,0,
   else
    gr_def(ctx, 0x407000 + ( if(chipset= x98)
   (,0407004 +i<,0x89058001;

   if (device->chipset == 0x50) {
    cp_ctx(ctx, 0x407010 + (i<<8), 1);
   } elseif (device->chipset < 0xa0) {
    cp_ctx(ctx, 0x407010 + (i<<8), 2);
    gr_def(ctx, 0x407010 + (i<<8), 0
    gr_def(ctx, 0x407014 + (i<<8), 0x0000001f);
   } else {
    cp_ctx(ctx, 0x407010 + (i<<8), 3);
    gr_def(ctx, 0x407010 + (i<<8), 0x00001000);
    if (device->chipset != 0xa5)
     gr_def(ctx, 0x407014 + (i<<8), 0x000000ff);
    else
     gr_def(ctx, 0x407014 + (i<<8), 0x000001ff);
   }

   cp_ctx(ctx /* 8000+: per-TP state */
   if!=0xa5)
    gr_def(ctx, 0x407080 + (i<<8), 0x027c10fa);
   else
    gr_def(ctx, 0x407080 + (i<<8), 0x827c10fa);
   (-c =0x50
    gr_def(ctx, 0x407084 + (i<   base  0x408000 + (i<<12);
   else
    gr_def(ctx, 0x407084 + (i<<8), 0x400000c0);
   gr_def(ctx, 0x407088 + (i<<8), 0xb7892080);

   if (device->chipset < 0xa0)
    cp_ctx(    gr_def(tx, offset+0x5c, ;
   else if (!IS_NVA3F(device->chipset))
   cp_ctxctx,0x407094 +(<8  else   (ctx offset0 xjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 9
    cp_ctx(ctx, 0x407094 + (i<<8), 4);
    gr_defctx, 0x4070a0 + (<8) 1)
   }
 }
 }

 cp_ctx(ctx, 0x407c00, 0x3);
 if (device->java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 8
  gr_def(ctx, 0x407c00, 0x00010040);
 else if (device->chipset < 0xa0)
  gr_def(ctx, 0x407c00, 0x00390040);
 else
    }
 , 000000022)
ifdevice>hipset> 0xa0 {
  cp_ctx    case0x50java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  cp_ctx(ctx, 0x407c20, 0x1);
  cp_ctx(ctx, 0x407c2c, 0x1);
 }

 if (device   cp_ctx base  0x300)
  cp_ctx(ctx, 0x407d00, 0x9);
 } else {
  cp_ctx(ctx, 0x407d00, 0x15);
 }
 if (device->chipset == 0x98)
  gr_def(ctx, 0x407d08, 0x00380040);
 else
  if (device->chipset case 094
   gr_def(ctx, 0x407d08, 0x00010040);
  else if (device->chipset < 0xa0)
   gr_def(ctx, 0x407d08, 0x00390040);
  else {
   if   gr_def(  +0x304, 0x00027070);
    gr_def(ctx, 0x407d08, 0x003d0040);
   else
    gr_def(ctx, 0x407d08, 0java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 14
  }
  ctx,0x407d0c x00000022;
 }

 /* 8000+: per-TP state */
 for ( = 0 i < 10;i+ {
  if (units & (1<<i)) {
   if (device->chipset < 0xa0)
    base = 0x408000 + (i<<12);
   else
    base = 0x408000 + (i<<11);
  if (-chipset < 0xa0)
    offset = base + 0xc00;
   else
    offset = base  x);
   cp_ctx   else
  ctx,  x00 xf)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
   cp_ctx(ctx, offset + 0x08, 1);

    cp_ctxctx  }
   for (j = 0; j < (device->chipset < 0xa0 ? 2 : 4); j++) {
 (!units &( < (+))) ;
    if (device->chipset < 0xa0)
     offset = base + 0x200 + (j<<7);
    
    if (evice-chipset= 050
   cp_ctx(tx,offset, x20;
    gr_def(ctx, offset + 0x00, 0x01800000);
    gr_def(ctx, offset + 0x04, 0x00160000);
    gr_def(ctx, offset + 0x08, 0x01800000);
    gr_def(ctx,ffset+0,x003;
    switch (device->  gr_def(ctx base  0304 0x01127070;
    case 0x50 gr_def(tx,  0, 0)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
     gr_def(ctx, offset + 0x1c, 0x00080000)
     break;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
   (,offset +0x1c 0x00880000;
     break;
    case 0x86:
     gr_def(ctx, offset + 0x1c, 0x018c0000);
     break;
    case 0x92:
    case 0x96:
    case 0x98:
     gr_def(ctx,  cp_ctxctx  x324 )
     break;
    case 0x94:
   ( 
     break;
    case 0xa0:
    case 0xa5:
     gr_def(ctx, offset + 0x1c, 0x310c0000);
   +x344java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    case 0xa3:
    case   offset= 0
    case   (tx   c,+0 java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    case 0xac:
    case 0xaf:
    (ctx, offset + 0x1c, 0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 32
   java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 7
    }
 40, )
    if    device> =x)
     gr_def(ctx, offset + 0x48, 0x00000040);
    else
      gr_def(c,base +0404 0x00000040;
    c  +050 0x000000bf;
   (,offset + 0x58, 0x00001210)
  (vice =x)
     gr_def(ctx, offset + 0x5c, 0x00000080);
    else
     gr_def(ctx, offset + 0x5c, 0x08000080);
    if (device-> base +
  gr_def(tx,  0x68, 0x0000003e)
   }

   if (device->chipset < 0xa0)
    cp_ctx(ctx, base + 0x300, 0x4);
   else
    cp_ctx(ctx, base + 0x300, 0x5);
   if (device->chipset == 0x50)
    gr_def(ctx, base + 0x304, 0x00007070);
   else if (device->chipset  ctx,java.lang.StringIndexOutOfBoundsException: Range [25, 18) out of bounds for length 26
    gr_def(ctx,  c,+ 0,x00120407)java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
   else if (!IS_NVA3F(device->chipset))
  (  004,001127070java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
   else
    gr_def(ctx, base + 0x304, 0x05127070);

   if (device->chipset < 0xa0)
   cp_ctx, base + x318, 1);
  else
    cp_ctx(ctx, base + 0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 4
if d-chipset = 0x50)
    gr_def(ctx, base + 0x318, 0x0003ffff);
   else if (device->chipset < 0xa0)
    gr_def(ctx, base + 0x318, 0x03ffffff);
   else
    gr_def  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0

  if(evice>  
    cp_ctx(ctx, base + 0x324, 5);
   d>  xa0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    cp_ctx(ctx, base + 0x328, 4);

   if (device-> gr_defctx offset,06cf7f007
    , 9);
    offset = base + 0x340   gr_def(ctx, offset, 0x6cfff007);
   if(evice-java.lang.StringIndexOutOfBoundsException: Range [32, 27) out of bounds for length 36
    cp_ctx(ctx, base + 0x33c, 0xb) else
    offset = base + 0x344;
   } else {
    cp_ctx(ctx, base + 0x33c, 0xd);
    offset = base + 0x344;
  }
   gr_def(ctx, offset + 0x0,   else
   gr_defctx, + x,java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 41
   if (device->chipset == 0x84)
    gr_def(ctx, offset + 0x8, 0x05100202);
   else
   gr_def(tx  0x8, 005010202)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
   gr_def(ctx, offset + 0xc, 0x00030201);
   if (device->chipset == 0xa3)
    cp_ctx(ctx, base + 0x36c, 1);

   cp_ctx(ctx, base + 0x400, 2);
   gr_def(ctx, base + 0x404, 0x00000040);
   cp_ctx(ctx, base + 0x40c, 2);
   gr_def(tx, if (device->chip 0)
   gr_def  cp_ctx(   x,1;

   if (device->chipset < 0xa0)
    offset = base + 0x800;
   else
    offset = base + 0x500;
   cp_ctx(ctx, offset, 6);
  gr_def(tx,offset+00 0x000001f0;
   gr_def(ctx, offset + 0x4, 0x00000001);
 d_emitnvkm_grctx*ctx, intnum,u32 val){
   if (device->chipset == 0x50 || IS_NVAAF(device->chipset))
    gr_def(ctx, offset + 0xc, 0x00008000);
   gr_def(ctx, offset + 0x14, 0 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_) ;
   cp_ctx(ctx, offset + 0x1c, 2);
   ifdevice-> = 0x50)
    gr_def(ctx, offset + 0x1c, 0x00000040);
   else
    gr_def(ctx,  (evice- = x50 |IS_NVAAF(evice>)
   gr_def(ctx, offset + 0x20, 0x00003800);

   if (device->java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 15
    cp_ctx(ctx, base + 0x54c
     !IS_NVA3F(-chipset))
     gr_def(ctx, fset+014,0)
    else
     gr_def(ctx, base + 0x54c, 0x003fe007);
    gr_def(ctx, base + 0x550, 0x003fe000);
 }

   if (device->chipset < 0xa0)
      gr_def(tx  +0 0x00000040;
   else
  dd_emitctx,1,0) /* 00000001 SRC_SRGB */
   cp_ctx(ctx, offset, 1);
  ctx   0x1c,0)

  if (device->chipset < 0xa0)
    offset = base + 0xe00;
   else
    offset = base + 0x700;
   cp_ctx(ctx,  dd_emit(ctx, 1, 0
   if (device
    gr_def(ctx  if(evice> > xa0 {
   else if (device->chipset == 0xa5)
    gr_def(ctx, offset, 0x6cf7f007);
    if(-chipset= 0a8
    gr_def(ctx, offset, 0x6cfff007);
   else if (device->chipset == 0xac)
    gr_def(ctx, offset,  (tx ,2; /* ffffffff REG_MODE */
   else
    gr_def(tx , 0c,11 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   if (device- ctx,1,0)  /* 000000ff USER_PARAM_UNK */
    gr_def(ctx, offset + 0x4, 0x00007fff);
   else if (device->chipset < 0xa0)
    gr_def(ctx, offset + 0x4, 0x003f7fff);
   else
    gr_def( dd_emit(ctx, ,) /
   cp_ctx(ctx, offset + 0x2c, 1);
   if(device->hipset = 050 {
    cp_ctx(ctx, offset + 0x50, 9);
    gr_def(ctx, offset + 0x54, 0x000003ff);
    gr_def(ctx, offset + 0x58, 0x00000003);
    gr_def(ctx, offset + 0x5c, 0x00000003);
    gr_def(ctx, offset + 0x60, 0x000001ff);
    gr_def(ctx, offset +  (-chipset <0 dd_emit(ctx, 1, 1); /* 00000java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 51
    (,offset + 0x68,0x0000000f)
   gr_def,  +0,0LLOC_HALFWARPSjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
   } else if (device->chipset < 0xa0) {
    cp_ctx(ctx, offset + 0x50, 1);
    cp_ctx(ctx, offset + 0x70, 1);
   } else {
     dd_emitctx ,1; /
    cp_ctx(ctx, offset + 0x60, 5);
   }
  }
 }
}

staticvoid
dd_emit(struct nvkm_grctx *dd_emit(ctx, 1, 1); /* ffffffff COLOR_FORMAT/
 int;
 if (val && x, ,; /* ffffffff pattern PATTERN_SELECT */
  for (i = 0; i < num; i++)
   nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + i), val);
 }
ctx-ctxvals_pos += num;
}

static void
nv50_gr_construct_mmio_ddata nvkm_grctx *)
{
 struct nvkm_device *device c,1,)  
 int base, num;
 base = ctx->ctxvals_pos;

 /* tesla state */
  (ctx 1 1;  /* 00000001 surf2d SRC_LINEAR */
 dd_emit(ctx, 1, 0);ctx,1,0100)  *ffffffffsurf2dSRC_WIDTH /

 /* SRC_TIC state */
 dd_emitctx,1 0) /* 00000007 SRC_TILE_MODE_Z */
 dd_emitdd_emit(,1,0)  
dd_emit(ctx, 1, 1); /* 00000001 SRC_LINEAR #1 */

 dd_emit(ctx, 1, 0); /* 000000ff SRC_ADDRESS_HIGH */
tx1,0) /* 00000001 SRC_SRGB */
 if (device->chipset >= 0x94)
  dd_emit(ctx, 1, 0); /* 00000003 eng2d UNK0258 */ if>hipset= 0
 dd_emit(ctx, 1, 1); /* 00000fff SRC_DEPTH */
 dd_emit(ctx, 1, 0x100)   ctxoffset 0x6cfff007)dd_emit,1  /

 /* turing state */
 dd_emit dd_emit(ctx, 1
 dd_emit(ctx, 1, 0);  /* 0000000f SAMPLERS_LOG2 */
 dd_emit(ctx, 1, 0);  /* 000000ff CB_DEF_ADDRESS_HIGH */
 dd_emit(ctx, 1, 0);  /* ffffffff CB_DEF_ADDRESS_LOW */
 dd_emit(ctx, 1, 0);  /* ffffffff SHARED_SIZE */ *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 dd_emit(ctx, 1, 2);  /* ffffffff REG_MODE */
 dd_emit(ctx  if(evice>hipset= 0x50)
 dd_emit(ctx, 1, 1);  /* 00000001 LANES32 */
dd_emit(,1 0) /java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 dd_emit(ctx, 1, 0);  /* 000000ff USER_PARAM_UNK */   0x4 x00007fff)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 dd_emit,1 ); /* 000000ff USER_PARAM_COUNT */
 dd_emitctx,1 1)  /* 000000ff UNK384 bits 8-15 */
 dd_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */
 dd_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */
 dd_emit(ctx, 1, 0);  /* 0000ffff CB_ADDR_INDEX */
 dd_emit(ctx, 1, 1);  /* 000007ff BLOCKDIM_X */
dd_emit(ctx,1 1)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 dd_emit(ctx, 1, 0);  /* 00000001 BLOCKDIM_XMY_OVERFLOW */
 dd_emit(ctx, 1, 1);  /* 0003ffff BLOCKDIM_XMYMZ */
 dd_emit(ctx, 1, 1);  /* 000007ff BLOCKDIM_Y */
 dd_emit(ctx, 1, 1);  /* 0000007f BLOCKDIM_Z */
 dd_emit(ctx, 1, 4);  /* 000000ff CP_REG_ALLOC_TEMP */
 if (device = 0x50){
 if (IS_NVA3F(device->chipset))
  dd_emit(ctx, 1, 0); /* 00000003 UNK03E8 */
 dd_emit(ctx, 1, 1);  /* 0000007f BLOCK_ALLOC_HALFWARPS */
 dd_emit(ctx, 1, 1);  dd_emit(ctx,, 1;  /* ffffffff triangle COLOR_FORMAT */
 dd_emit(ctx, 1, 7);  /* 00000007 LOCAL_WARPS_LOG_ALLOC */
 dd_emit(ctx, 1, 1);  /* 00000007 STACK_WARPS_NO_CLAMP */
 dd_emit(ctx, 1   (tx, ctx,,) /
 dd_emit( dd_emit(ct, 1,0) /*
 dd_emit(ctx, 1, 1   c, ,) /* 000000ff sifm FORMAT_ORIGIN */
 dd_emit(ctx, 1, 1);  /* 000007ff BLOCK_ALLOC_THREADS */

 /* compat 2d state */
 if (device->chipset == 0x50) {
  dd_emit(ctx, 4, 0);  /* 0000ffff clip X, Y, W, H */

  dd_emit(ctx, ,1;  * ffffffff chroma COLOR_FORMAT */

  dd_emit(ctx, 1, 1);  /* ffffffff pattern COLOR_FORMAT */
  dd_emit(ctx, 1, 0);  /* ffffffff pattern SHAPE */
 ctx,1 ) java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60

  dd_emit(ctx, 1, 0xa);  /* ffffffff surf2d SRC_FORMAT */
 (tx 1, )  /* ffffffff surf2d DMA_SRC */
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
  dd_emit,+0x64,00000001fjava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  dd_emit(ctx, 1, 0x40);  /* 0000ffff surf2d SRC_PITCH */
   ,0) /
  dd_emit(ctx, 1, 2);  /* 0000000f surf2d SRC_TILE_MODE_Y */
  dd_emit(ctx, 1, 0x100);  /* ffffffff surf2d SRC_HEIGHT */
  dd_emit(ctx, 1, 1);  /* 00000001 surf2d SRC_LINEAR */
  dd_emit(ctx, 1, 0x100);  /* ffffffff surf2d SRC_WIDTH */

  dd_emit(ctx,   (IS_NVA3F(device-chipset)
 (,1 );  /* 0000ffff gdirect CLIP_B_Y */
  dd_emit(ctx, 1, 0);  /* 0000ffff gdirect CLIP_C_X */
  dd_emit(ctx, 1, 0);  /* 0000ffff gdirect CLIP_C_Y */
  dd_emit(ctx, 1, 0);  /* 0000ffff gdirect CLIP_D_X */
  dd_emit(ctx (tx, ,0) /
dd_emit(ctx, 1, 1); /* ffffffff gdirect COLOR_FORMAT */

  dd_emit(ctx, 1, 0);  /* ffffffff gdirect OPERATION */
  dd_emit(ctx, 1, 0);  /* 0000ffff gdirect POINT_X */ (, 1 ); 
  dd_emit(ctx, 1, 0);  /* 0000ffff gdirect POINT_Y */

  dd_emit(ctx, 1,0) /* 000000ff SEMANTIC_LAYER */
  dd_emit(ctx, 1, 0);  /* ffffffff blit OPERATION */

  dd_emit(ctx, 1, 0);  /* ffffffff ifc OPERATION */

  ctx,1 0)  /* ffffffff iifc INDEX_FORMAT */
  java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
  dd_emit(ctx, 1, 4);  /* ffffffff iifc COLOR_FORMAT */
  dd_emit(ctx, 1, 0);  /* ffffffff iifc OPERATION */
 }

 /* m2mf state */
 dd_emit(ctx, 1, 0);  /* ffffffff m2mf LINE_COUNT */
dd_emit(,1,0; /* ffffffff m2mf LINE_LENGTH_IN */
 dd_emit(ctx, 2, 0);  /* ffffffff m2mf OFFSET_IN, OFFSET_OUT */
 dd_emit(ctx, 1, 1);  /* ffffffff m2mf TILING_DEPTH_OUT */
(ctx,1 x100;
 dd_emit(ctx, 1, 0);c,1 6; /* 00000007 RT_CONTROL_MAP6 */
 dd_emit(ctx, 1, 1);  /* 00000001 m2mf LINEAR_OUT */
 dd_emit(ctx, 2, 0);  /* 0000ffff m2mf TILING_POSITION_OUT_X, Y */
 dd_emit(ctx, 1, 0x100);  /* ffffffff m2mf TILING_PITCH_OUT */
 dd_emit(ctx, 1, 1);  /* ffffffff m2mf TILING_DEPTH_IN */
 dd_emit(ctx, 1, 0x100);  /* ffffffff m2mf TILING_HEIGHT_IN */
 dd_emit(ctx, 1, 0);  /* ffffffff m2mf TILING_POSITION_IN_Z */
 ,1 1; /* 00000001 m2mf LINEAR_IN */
 dd_emit(ctx, 2, 0); 
 dd_emit(ctx, 1, 0x100);  /* ffffffff m2mf TILING_PITCH_IN */

/
 if (device(tx 1 4) /
 (tx, , 1) /* ffffffff line COLOR_FORMAT */
 dd_emit(tx 1,0)  /* ffffffff line OPERATION */

  dd_emit(ctx, 1, 1);  /* ffffffff triangle COLOR_FORMAT */
 struct

  dd_emit dd_emit(txbase java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  dd_emit(ctx, 1, 2);  /* 0000000f sifm TILE_MODE_Y */
  dd_emit(ctx, 1, 0);  /* 000000ff sifm FORMAT_FILTER */
  dd_emit(ctx, 1, 1);  /* 000000ff sifm FORMAT_ORIGIN */
  dd_emit(ctx, 1, 0);  /* 0000ffff sifm SRC_PITCH */
   dd_emitctx,1 ) /* 00000001 FP_CONTROL.MULTIPLE_RESULTS */
x ,;/
  dd_emit(ctx, 1, 0);dd_emit(,,0); /
 /* SRC_TIC state */
  dd_emit(ctx, 1, 0);  /* 0000ffff sifm SRC_WIDTH */ctx ,0) /* 00000007 SRC_TILE_MODE_Z */
  dd_emit(ctx, 1, 3);  /* ffffffff sifm COLOR_FORMAT */
 ( 1 )  /* ffffffff sifm OPERATION */

  dd_emit(ctx, 1, 0);  /* ffffffff sifc OPERATION */
 }

 /* tesla state */
c,1,) /* 0000000f GP_TEXTURES_LOG2 */
 dd_emit(ctx, 1, 0);ifdd_emit(java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 36
 dd_emit(ctx, 1, 0);  /* 000000ff */
 dd_emit(ctx, 1,  dd_emit(ctx
 dd_emit(ctx, 1, 1) /* 00000fff SRC_DEPTH */
dd_emit(tx,1,070;
 dd_emit(ctx, 1, 0x80);  /* 000000ff UNK12B0_3 */
 dd_emit(ctx, 1, 0);  /* 000000ff UNK12B0_2 */
 ,1,0)  * 0000000f FP_TEXTURES_LOG2 */
 dd_emit( dd_emit(ctx1 )  /* 0000000f SAMPLERS_LOG2 */
 if ( dd_emit(ctx,,0) / ffCB_DEF_ADDRESS_HIGH
  dd_emit(ctx, 1,dd_emit(tx,0) /* ffffffff CB_DEF_ADDRESS_LOW */
  dd_emit(ctx, 1, 0); /* 0000007f MULTISAMPLE_SAMPLES_LOG2 */
 } else {
 dd_emit(tx,1 0) /* 0000000f MULTISAMPLE_SAMPLES_LOG2 */
 }
 dd_emit(ctx, 1, 0xc);  /* 000000ff SEMANTIC_COLOR.BFC0_ID */
 if (device->chipset != 0x50)
  dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_COLOR.CLMP_EN *//* 00000001 SEMANTIC_COLOR.CLMP_EN */
 dd_emit(ctx, 1, 8);  /* 000000ff SEMANTIC_COLOR.COLR_NR */
 dd_emit(ctx, 1, 0x14);  /* 000000ff SEMANTIC_COLOR.FFC0_ID */
 if(-chipsetctx,1 0) /000000USER_PARAM_COUNT/
  dd_emit(ctx, 1, 0); /* 000000ff SEMANTIC_LAYER */
  dd_emit(ctx, 1, 0); /* 00000001 */
}elsejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_PTSZ.ENABLE */
  dd_emit(ctx, 1, 0x29); /* 000000ff SEMANTIC_PTSZ.PTSZ_ID */
  dd_emit(ctx, 1, 0x27); /* 000000ff SEMANTIC_PRIM */dd_emit( 1 )  /* 0000000f VP_SAMPLERS_LOG2 */
  dd_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */
  dd_emit(ctx, 1, 8); /* 0000000f SMENATIC_CLIP.CLIP_HIGH */
  (ctx,1 /* 000000ff SEMANTIC_CLIP.CLIP_LO */
  dd_emit(ctx, 1, 0x27); /* 000000ff UNK0FD4 */
  dd_emit(ctx, 1, 0); /* 00000001 UNK1900 */
 }
 x 1 0; /
 dd_emit(ctx,  dd_emit( ,0) /* 00000003 */
dd_emit(ctx,1 2);  /* 00000007 RT_CONTROL_MAP2 */
dd_emit( 1, 3)  
 dd_emit(ctx, 1, 4);  /* 00000007 RT_CONTROL_MAP4 */
dd_emit(tx, , 5; java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  (, 1, x1000;/java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
 ( 1, 1; * 00000007 LOCAL_WARPS_NO_CLAMP */
 (,1,) /* 0000000f RT_CONTROL_COUNT */
 ctx,8,0 dd_emit(ctx,1 ) /* 00000007 STACK_WARPS_NO_CLAMP */
dd_emit( ,0;) /* ffffffff RT_ADDRESS_LOW */ java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
 dd_emit(ctxjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 dd_emitctx (,,1; /* 00001fff BLOCK_ALLOC_REGSLOTS_STRIDED */
 if (device- ctx,1,1);  /* 000007ff BLOCK_ALLOC_THREADS */
  dd_emit(ctx, 3, 0); /* 1, 1, 1 */
 else
  (,, ;java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 dd_emit(ctx, 1, 0);  /* ffffffff GP_ENABLE */
 dd_emit(ctx, 1, 0x80);  /* 0000ffff GP_VERTEX_OUTPUT_COUNT*/
 dd_emit(ctx, 1, 4);  /* 000000ff GP_REG_ALLOC_RESULT */ (ctx ,1;  /* ffffffff chroma COLOR_FORMAT */
 (ctx,1,4)  /* 000000ff GP_RESULT_MAP_SIZE */
 if(S_NVA3F(>hipset) {
  dd_emit(ctx ( 1,0x200)
, 1 0)/
 }
if(device-> ! 0)
 dd_emit(tx 1,3;/* 00000003 UNK15AC */
 dd_emit(ctx  dd_emit(tx 1,0)  /* 000000ff surf2d SRC_ADDRESS_HIGH */
ctx ,0;  /* 00000001 FP_CONTROL.EXPORTS_Z */(,1 0;/* 000000ff */
 if (device->chipset != 0x50)
  dd_emit(tx,1 0;/* 00000001 FP_CONTROL.MULTIPLE_RESULTS */
dd_emit(  ,0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 dd_emit(ctx, 1, 0x10);  /* 000000ff FP_INTERPOLANT_CTRL.COUNT_NONFLAT */
 dd_emit(ctx, 1, 0xc);  /* 000000ff FP_INTERPOLANT_CTRL.OFFSET */
 dd_emit(ctx, 1, 1);  /* 00000001 FP_INTERPOLANT_CTRL.UMASK.W */
 dd_emit(tx,1,0;/* 000000ff */
 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
 dd_emit(ctxdd_emit( ,0;/*  gdirectCLIP_C_X/
 dd_emit(ctx, 1, 4);  /* 000000ff FP_RESULT_COUNT */
 dd_emit(ctx, 1, 2);  /* ffffffff REG_MODE */
 dd_emit(ctx,  1  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 if (device->chipset 
  dd_emit(ctx, 1, 0); /* ffffffff */
   dd_emit(ctx, 1,0)  /* 0000ffff gdirect POINT_X */
 dd_emit(ctx, 1, 0;  /* ffffffff STRMOUT_ENABLE */
 dd_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */
 dd_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */
 dd_emit(ctx, 1, 0);  /* 00000001 VERTEX_TWO_SIDE_ENABLE*/
if (> 10 /00000007  *
  dd_emit(ctx, 8, 0); /* 00000001 */
 if (device->chipset >= 0xa0) {
  dd_emit(ctx, 1, 1); /* 00000007 VTX_ATTR_DEFINE.COMP */
  dd_emit(ctx, 1, 1); /* 00000007 VTX_ATTR_DEFINE.SIZE */
  (,1 ) /* 00000007 VTX_ATTR_DEFINE.TYPE */
  dd_emit(ctx, dd_emitjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
 dd_emit(ctx, 1, 4);  /* 0000007f VP_RESULT_MAP_SIZE */
 dd_emit(ctx, 1, 0x14);  /* 0000001f ZETA_FORMAT */
 dd_emit(ctx, 1, 1);  /* 00000001 ZETA_ENABLE */
 dd_emit(ctx, 1, 0);  /* 0000000f VP_TEXTURES_LOG2 */
 dd_emit(ctx, 1, 0);  /* 0000000f VP_SAMPLERS_LOG2 */(,,1;/
 if (IS_NVA3F(device->chipset))
  dd_emit(ctx, 1, 0); /* 00000001 */
 dd_emit(ctx, 1, 2);  /* 00000003 POLYGON_MODE_BACK */
 if (device-> dd_emitctx 1 ,x405400,num;
  dd_emit( dd_emit(ctx,dd_emit(, 1 ); /* ffffffff m2mf TILING_POSITION_IN_Z */
 dd_emit(ctx,1 )  
 if (device->chipset >= 0xa0)
  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 73
 dd_emit(ctx, 1, 0);  /* 00000001 CULL_FACE_ENABLE */
 dd_emit(ctx, 1, 1)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
 dd_emit(ctx, 1, 0);  /* 00000001 FRONT_FACE */
 dd_emit(ctx, 1, 2);  /* 00000003 POLYGON_MODE_FRONT */
 dd_emit(ctx, 1, 0x1000); /* 00007fff UNK141C */
 if (device->chipset != 0x50) {
  dd_emit(ctx, 1, 0xe00);  /* 7fff */
  dd_emitctx,1 0x1000; /* 7fff */
  dd_emit(ctx, 1, 0x1e00); /* 7fff */
 }
 dd_emit(ctx,,0)  
dd_emit(ctx, 1, 1); /* 00000001 POLYGON_MODE_??? */

 dd_emit(ctx, 1, 1);  /* 000000ff GP_REG_ALLOC_TEMP / 4 rounded up */
 dd_emit(ctx, 1, 1);  /* 000000ff FP_REG_ALLOC_TEMP... without /4? */
 dd_emit(ctx, 1, 1);  /* 000000ff VP_REG_ALLOC_TEMP / 4 rounded up */
 dd_emit(ctx, 1, 1);  /* 00000001 */
 dd_emit(ctx, 1, 0;
 ctx 1 ) java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
 dd_emit(ctx, 1, 0);  /* 00000001 VTX_ATTR_MASK_UNK1 nonempty */
 dd_emit(ctx, 1, 0x200);  /* 0003ffff GP_VERTEX_OUTPUT_COUNT*GP_REG_ALLOC_RESULT */
if IS_NVA3F(device-chipset)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 0)
 (,1); /* 00000001 */
 if
  dd_emit(ctx, 1, 1); /* 00000001 */
  dd_emit(ctx, 1, 0x70); /* 000000ff */
  dd_emit(ctx, 1, 0x80); /* 000000ff */
  dd_emit(ctx, 1, 0); /* 000000ff */
  dd_emit(ctx, 1, 0); /* 00000001 */
  dd_emit(ctx, 1, 1); /* 00000001 */
  dd_emit(ctx, 1, 0x70); /* 000000ff */
  dd_emit(ctx, 1, 0x80); /* 000000ff */
  dd_emit(ctx, 1, 0); /* 000000ff */
 } else {
  dd_emit(ctx, 1, 1); /* 00000001 */
  dd_emit(ctx, 1, 0xf0 *Knowing sequenceand,  /* 0000000f FP_SAMPLERS_LOG2 */
  0ff */
  dd_emit(ctx, 1, 0); /* 000000ff */
  dd_emit(ctx, 1, 0); /* 00000001 */
  dd_emit(ctx, 1, 1); /* 00000001 */
  dd_emit(ctx, 1, 0xf0); /* 000000ff */
  dd_emit(ctx, 1, 0xff); /* 000000ff */
   ( 1 0    thisto    strands
  dd_emit(ctx, 1, 9); /* 0000003f UNK114C.COMP,SIZE */
 }

 /* eng2d state */
 dd_emit(ctx,  (=0) java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 ( 1,0) /* 00000007 eng2d COLOR_KEY_FORMAT */
 dd_emit(ctx, 1, 1);  /* ffffffff eng2d DST_DEPTH */
 dd_emit(ctx, 1, 0xcf);  /* 000000ff eng2d DST_FORMAT */
 dd_emit(ctx, 1, 0) dd_emit(ctx, 1, 0x27); /* 000000ff SEMANTIC_PRIM */
 dd_emit(ctx, 1, 1);  /* 00000001 eng2d DST_LINEAR */
 dd_emit(ctx, 1, 0);  /* 00000007 eng2d PATTERN_COLOR_FORMAT */
  * as in400040 register
 dd_emit ctx,1,x27;/* 000000ff UNK0FD4 */
 dd_emit(ctx, 1, 0xcf);  /* 000000ff eng2d SIFC_FORMAT */
 dd_emit(ctx, 1, 0*java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 68
 dd_emit(ctx, 1, 2);  /* 00000003 eng2d SIFC_BITMAP_UNK808 */
dd_emit(tx 1 0; /* ffffffff eng2d BLIT_DU_DX_FRACT */
 dd_emit(ctx, 1, 1);  /* ffffffff eng2d BLIT_DU_DX_INT */
 dd_emit(ctx,1,0)  
 dd_emit(ctx, 1, 1);  /* ffffffff eng2d BLIT_DV_DY_INT */
 dd_emit(ctx, 1, 0);  /* 00000001 eng2d BLIT_CONTROL_FILTER */
 dd_emit(ctx, 1, 0xcf);  /* 000000ff eng2d DRAW_COLOR_FORMAT */
 (ctx, 1, 0xcf); /* 000000ff eng2d SRC_FORMAT */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 56

 num = ctx->ctxvals_pos - base;
 ctx->ctxvals_pos = base;
 if (IS_NVA3F(device->chipset))
  cp_ctx(ctx, 0x404800, num);
 else
  cp_ctx(ctx, 0x405400, if (device->chipset != 0x50
java.lang.StringIndexOutOfBoundsException: Range [35, 1) out of bounds for length 1

/*
 * xfer areas. These are *is unknown. forstrand 0  strandand
 *
 * There are 2 xfer areas: the first one is big and contains all sorts of
 * stuff, the second is small and contains some per-TP context.
 *
 * Each area is split into 8 (,1 seen  grctx s randomlychanging
 * are made of 8  the unused java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 51
 * each strand. The strands are independent of each other, their*
 * addresses are unrelateddd_emit(,,0; /* 00000001 */
 * packed together. The strand java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
 * and there, a single word is thrown
 * strand is offset by a bit from corresponding one on another java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 48
 * For this reason, addresses of stuff in strands are almost useless.
 *if(evice->> 0)static  nv50_gr_construct_gene_dispatchnvkm_grctx ctx;
* swe  the java.lang.StringIndexOutOfBoundsException: Range [49, 46) out of bounds for length 64
 *
 dd_emit( ,01000; /* 00007fff UNK141C */
 * into a few dozen pieces [known as genes], rearranging them randomly,
 * and putting them back together to make new strands. java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 53
 * genes correspond more or less directly to the same PGRAPH subunits
  as in400040.
 *
 * The most common value in default context  dd_emit(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 * are separated by 0'java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 39
 * some of them can java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 14
 * others won't be resolved without figuring out the real meaning of
 * given ctxval. For the same reason, ending point of each strand
 * is unknown. Except ()java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 * end corresponds   java.lang.StringIndexOutOfBoundsException: Range [42, 42) out of bounds for length 0
 *
 * An unsolved mystery is the seek instruction: it takes an  dd_emit(,,;  /* 00000001 eng2d COLOR_KEY_ENABLE */
 * in bits 8-18, and that argument is clearly the place -  +0x2;
 * seek to... but the offsets don't seem to correspond to offsets as
 * seen in grctx. Perhaps there's another, real, not randomly-changing
 * addressing in strands, and the xfer insn just happens to skip over
-
 *
 * As far as I know, there's no way to access the xfer areas directly
 * without the -ctxvals_pos=java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
 */


 
xf_emit1,)  
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 if ( >= 
  for (i = 0; i  cp_ctx(tx 0java.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 29
  (tx-data,4*(tx> +( ) ;
 }
 ctx->ctxvals_pos += num << 3;
}

/* Gene declarations... */


static void nv50_gr_construct_gene_dispatch* Eacharea  into""  savedtojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
static void ( nvkm_grctx*tx)
static void nv50_gr_construct_gene_ccache(truct nvkm_grctxjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
static void nv50_gr_construct_gene_unk10xx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_unk14xx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_zcull
static void nv50_gr_construct_gene_clipid(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_unk24xx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_vfetch(truct nvkm_grctx *ctxjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
static void nv50_gr_construct_gene_eng2d(struct ctx->txvals_pos  +5;
static void nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_unk1cxx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_strmout  *ctx)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
tatic java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 67
static void nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_ropm2(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_ropc(struct nvkm_grctx *ctx);
static void nv50_gr_construct_xfer_tp(struct nvkm_grctx *ctx);

static void
nv50_gr_construct_xfer1(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device =   For thisreason    strandsarealmostjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
 int i;
 int offset;
 int  if (uni (nits&(< 2)
 u32 units = nvkm_rd32(device, 0x1540);

   ctx-+3)~java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 ctx->ctxvals_base = offset;

 if (device->chipset < 0xa0) {
  /* Strand 0 */
  ctx->ctxvals_pos = offset;
  nv50_gr_construct_gene_dispatch(ctx);
  nv50_gr_construct_gene_m2mf(ctx);
  nv50_gr_construct_gene_unk24xx(ctx)
  nv50_gr_construct_gene_clipid(ctx);
    and puttingthem  together nv50_gr_construct_xfer_tp);
  if ((ctx->ctxvals_pos-offset) if u &1)
  (>xvals_pos-offset)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

  /* Strand 1 */
  ctx->ctxvals_pos = offset + 0x1;
  nv50_gr_construct_gene_vfetch(ctx);
  nv50_gr_construct_gene_eng2d(ctx);
  nv50_gr_construct_gene_csched(ctx);
  nv50_gr_construct_gene_ropm1(ctx);
  nv50_gr_construct_gene_ropm2(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-    ctx-ctxvals_pos)8;

  /* Strand 2 */
  ctx-=offset+02;
  nv50_gr_construct_gene_ccache->ctxvals_pos =(tx-ctxvals_pos03f)0;
 nv50_gr_construct_gene_unk1cxx(  java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 65
  nv50_gr_construct_gene_strmout(ctx);
  nv50_gr_construct_gene_unk14xx(ctx);
  ctx)
  nv50_gr_construct_gene_unk34xx(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-offset)/8;

  /*
  ctx- =offset  3;
  for (i = 0; i < 6; i++)
   if (units & (1 <  seekto.. the don'seem to /
 nv50_gr_construct_gene_ropcctx)
  (ctx-ctxvals_posoffset)8>size)
  size =(-ctxvals_pos-offset)8java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

/* Strands 4-7: per-TP state */

  for (i = 0; i < 4; i++) {
   ctx = offset +4+i
   if (units & (1 << (2 * i)))
    nv50_gr_construct_xfer_tp(ctx);
    /* and YET ANOTHER bonus slot? */
  nv50_gr_construct_xfer_tp)
  xf_emit,,0;
    size  /* SEEK */
  }
 
  /* Strand 0 */
  ctx->ctxvals_pos = offset;
  nv50_gr_construct_gene_dispatch(ctx);
  (ctxjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  nv50_gr_construct_gene_unk34xx(ctx);
  nv50_gr_construct_gene_csched(ctx);
  nv50_gr_construct_gene_unk1cxx(ctx);
  nv50_gr_construct_gene_strmout(ctx);
  ifxf_emit(ctx, 4, )
   size = (ctx->ctxvals_pos-offset)/8;

  /* Strand 1 */
 > = +1;
  nv50_gr_construct_gene_unk10xx(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx-static void nv50_gr_construct_gene_ccache xf_emitctx,,0;

  /* Strand 2 */
 ->txvals_pos=offset+2;
  if ( /* SEEK
  nv50_gr_construct_gene_unk14xx);
  nv50_gr_construct_gene_unk24xx(tx,0x1c )
   (ctx>-)8  size)
   size = (ctx->ctxvals_pos-java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 24

 /* Strand 3 */
  ctx->ctxvals_pos = offset + 3;
  xf_emit(ctx, 0x15, 0);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-offset)/8;

  /* Strand 4 */
  ctx-> void nv50_gr_construct_ge(struct *ctx);
   /* Strand 0, right after
 if(ctx>ctxvals_pos-ffset8  sizejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  size = ctx-ctxvals_posoffset)/;

 *Strand 5 *
  ctx-> /* SEEK*
 java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 36
  nv50_gr_construct_gene_ropm1(ctx);
  /* per-ROP context */
  ( =832   ,;
   if (units & (1<<(i+16)))
    nv50_gr_construct_gene_ropc(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
  size =(-offset)/8;

and6 *
 >   + 6java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  nv50_gr_construct_gene_m2mf
 nv50_gr_construct_gene_clipid)
  nv50_gr_construct_gene_eng2d (tx, ,0) * TILING_PITCH_IN */
  (nits( <0)
   nv50_gr_construct_xfer_tp(ctx);
  if (units & (1 << 1))
   nv50_gr_construct_xfer_tp(ctx);
  if(nits&( < 2)
   nv50_gr_construct_xfer_tp(ctx);
  if (units   (tx, 1,0x2)  /* TILING_MODE_OUT: bits 0-2 y tiling, bits 3-5 z tiling */
   nv50_gr_construct_xfer_tp(ctx);
    1,0x100)/java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
   size = (ctx->ctxvals_pos-offset)/8;

  /* Strand 7 */
  ctx>ctxvals_pos = offset + ;
  if (device->chipset == 0xa0) {
   if (units & (1 << 4))
    nv50_gr_construct_xfer_tp(ctx);
   if (units & (1 << 5))
    nv50_gr_construct_xfer_tp(ctx);
   (nits &( < )
    nv50_gr_construct_xfer_tp(ctx);
  & 1<  size  -offset/8;
    xf_emit(ctx 4,0)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 if *SEEK*
struct_xfer_tp()
   if (units & (1 << xf_emit(,,;/*
  nv50_gr_construct_xfer_tpctx)
  xf_emit(tx,0x800 ) /* ffffffff */
  nv50_gr_construct_gene_unk14xx(tx)
  }
  if (ctx>-)8  )
  size=(->txvals_posjava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 38
 }

 ctx->ctxvals_pos = offset + size * 8;
 ctx->ctxvals_pos = (ctx->ctxvals_pos+{
 cp_lsr (ctx, struct nvkm_device *device = ctx->device;
NTER);
 cp_lsr (ctx, size);
   if ((tx>ctxvals_posoffset)8 > size)
 cp_out (ctx, CP_XFER_1);
 cp_wait(ctxXFER BUSY) case0x92
}

/*
  -demagiced partsofctx init here
 */


static void
nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx)
{
 /* start of strand 0 */
 truct device  ctx-device;
 /* SEEK */
 if-> =0java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
 xf_emit(tx,)
 else if (! size = (ctxcase a8
  xf_emit(ctx, 6, 0);
 else
   ctx=offset ;
 /* SEEK */
/
 if (device->chipset   nv50_gr_construct_gene_unk14xx;
  xf_emit(ctx, 8*3, 0);
 else
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
/* and another bonus slot?!? */

 xf_emit(ctx, 3, 0);
 /* and YET ANOTHER bonus slot? */
 if (IS_NVA3F(device->java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 16
  xf_emit(ctx, 3, 0);
 /* SEEK */
 /* CTX_SWITCH: caches of gr objects bound to subchannels. 8 values, last used index */
 xf_emit(ctx, 9, 0);
 /* SEEK */
 xf_emit(ctx, 9, 0);
 /* SEEK */
 xf_emit xf_emit- 
 xf_emit(tx 1,0);  /* 0000ffff DMA_TIC */
 xf_emit(ctx, 9, 0)(tx ,0; /* 0000ffff DMA_TSC */
 /* SEEK */
 if (device->chipset < ctx);  /* 000000ff TIC_ADDRESS_HIGH */
  xf_emit(ctx, 4, 0);
 /* SEEK */
 xf_emit( ctx> java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 32
/* SEEK */
 xf_emit
 xf_emit(ctx ,java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 
 xf_emit(ctx, 2, 0);
 /* SEEK */
 xf_emit(ctx, 6*2, 0);
 xf_emit(ctx, 2, 0);
/java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 if (device->chipset == 0x50)
  xf_emit(tx 0x1c,0;
 elsectx, 1 0)  /* 00ffffff GP_START_ID */
  xf_emit(ctx, 0x1e, 0);
 else
  xf_emit(ctx, 0x22, 0);
/
 xf_emit(ctx, 0x15, 0);
}

static void
nv50_gr_construct_gene_m2mf(struct  *java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
{
/* Strand 0, right after dispatch */

 struct nvkm_device *device = ctx->device;
 int smallm2mf = 4) /
 if(evice-chipset<x92 | device-chipset = 0x98)
 smallm2mf =1;
 /* SEEK */
 xf_emit (ctx, 1, 0);  /* DMA_NOTIFY instance >> 4 */
 xf_emit (ctx, 1, 0);  /* DMA_BUFFER_IN instance >> 4 */
 xf_emit (ctx, 1, 0);  /* DMA_BUFFER_OUT instance >> 4 */
 xf_emit (ctx, 1, 0);  /* OFFSET_IN */
  ctx 1,0; /* OFFSET_OUT */
 xf_emit (tx,1 ) /
 xf_emit (ctx, 1, 0) /* 000007ff */
xf_emit (ctx,1 ) / LINE_LENGTH *
 xf_emit (>-)/8
 xf_emit (ctx, 1, 0x21);  /* FORMAT: bits 0-4 INPUT_INC, bits 5-9 OUTPUT_INC */
 xf_emit ( ctx->ctxvalspos=offset+ *8;
 xf_emit (ctx  0x86:
 xf_emit (ctx, 1, 0x100); /* TILING_PITCH_IN */
 xf_emit (ctx, 1, 0x100); /* TILING_HEIGHT_IN */
 xf_emit (ctx, 1, 1);  /* TILING_DEPTH_IN */
 xf_emit (ctx,1;/
 xf_emit (ctx, 1, 0);  /* TILING_POSITION_IN */
 xf_emit (ctx, 1,  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 26
 xf_emit (ctx, 1, 0x2);  /* TILING_MODE_OUT: bits 0-2 y tiling, bits 3-5 z tiling */
 xf_emit (ctx, 1, 0x100); /* TILING_PITCH_OUT */
 xf_emit (java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 9
 xf_emit (ctx, 1, 1);  /* TILING_DEPTH_OUT */ */
 xf_emit (ctx, 1, 0);  /* TILING_POSITION_OUT_Z */
 xf_emit (ctx, 1, 0);  /* TILING_POSITION_OUT */
 xf_emitcase0xa0:
  ctx 1 )  * OFFSET_OUT_HIGH */
/
 if ( xf_emit,x400,0;/
  xf_emit(ctx, 0x40, 0); /* 20 * ffffffff, 3ffff */
 else
  xf_emit(ctx, 0x100, 0); /* 80 * ffffffff, 3ffff */
 xf_emit(ctx, 4, 0);  /* 1f/7f, 0, 1f/7f, 0 [1f for smallm2mf, 7f otherwise] */
 /* SEEK */

   xf_emit(ctx 1 0x80)  /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
 else
  xf_emit(xf_emitc,1,); *00000001  */
 xf_emit(ctx, 4, xf_emit(tx,1,0)  *00000001 tesla *
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 xf_emit(ctx, 0x40, 0);   if (IS_NVA3F(device->chipset))
xf_emit(ctx, 0x6, 0); /* 1f, 0, 1f, 0, 1f, 0 */

}

static void
nv50_gr_construct_gene_ccache(tructnvkm_grctx*ctx)
{/* SEEK */
 struct nvkm_device *device = ctx->device;
 java.lang.StringIndexOutOfBoundsException: Range [42, 7) out of bounds for length 42
 if (device(-chipset  0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 switch (device->chipset) {
 case 0x50:
 case 0x92:
 case 0xa0:
  xf_emit(tx,0x2b,0)
 xf_emit(,2,0)  /* 00007fff WINDOW_OFFSET_XY */
 (,,0; /* ffff0ff3 */
  xf_emit ctx,1, 0)/java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  break;
casex94:
 case 0:
case 0xa3
  xf_emit(ctx, 0x27, 0);
  break;
 case 0x86:
 case0:
 case0:
 case 0xa8:xf_emit xf_emit(,0,0)
 case 0xaa:
 case 0xac:
 case 0xaf:
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 1
 break
 }
 /* CB bindings, 0x80 of them. first word is address >> 8, second isctx{
 * size >> 4 | valid << 24 */

xf_emit,x100 0; java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 47
 int smallm2mf = 0;
 xf_emitc,1,0)  /* 0 */
 xf_emit(ctx, xf_emitctx,1,0)  /* 00000001 */
xf_emit(tx,1,0) /* 3f last  */
ctx ctx,1, 0x804) * 00000fff SEMANTIC_CLIP */
  ctx, ,0; 
xf_emit(ctx, 8, 0); /* 1f, 0, 0, ... */

 xf_emit(ctx, 8, 0);  /* ffffffff */
 xf_emit(ctx, 4, 0);  /* ffffffff */
 xf_emit(ctx, 1, 0);  /* 3 */
 xf_emit(ctx, 1, 0);  /* ffffffff */xf_emitctx 1, / (txjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 xf_emit(ctx,1 0; /* 0000ffff DMA_CODE_CB */ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_TIC */
xf_emit(tx,1,0) /* 0000ffff DMA_TSC */
 xf_emit(ctx, 1, 0);  /* 00000001 LINKED_TSC */
 xf_emit(ctx, 1, 0);  /* 000000ff TIC_ADDRESS_HIGH */
 ( xf_emit (ct,, 
 xf_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */
 xf_emit(ctx, 1, 0);  /* 000000ff TSC_ADDRESS_HIGH */ctx ,0; /* 00000001 tesla UNK0D7C */
 xf_emit(ctx, 1, 0);  /* ffffffff TSC_ADDRESS_LOW */
  ,x1fff;java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
xf_emit( 1,); /* 000000ff VP_ADDRESS_HIGH */
 xf_emit(ctx,   (evice-chipset ! 0x50java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 xf_emit(tx,1 0)  /* 00ffffff VP_START_ID */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 56
 (ctx,,) java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
 xf_emitctx,1,0)  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0);  /* xf_emit(,1 ) / 0000007CB_ADDR_BUFFER *
 xf_emit(tx,1,0) * ffffffff */
 xf_emit(ctx, 1, 0);  /* 00ffffff GP_START_ID */
 xf_emit(ctx, 1, 0);  /* 000000ff FP_ADDRESS_HIGH */
 xf_emit(ctx, 1, 0);  /* ffffffff FP_ADDRESS_LOW */
 xf_emit(ctx, 1, 0);  /* 00ffffff FP_START_ID */
}

static void
nv50_gr_construct_gene_unk10xx(struct nvkm_grctx *ctx)
{
nvkm_device=->;
 int i;
 /* end of area 2 on pre-NVA0, area 1 on NVAx */
 xf_emit(ctx, 1, 4);  /* 000000ff GP_RESULT_MAP_SIZE */
 static void
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0x80);  /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
 xf_emit(ctxjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54
 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */
 xf_emit(1,0; *00000001 VERTEX_TWO_SIDE_ENABLE*
 if (device->chipset == 0x50)
  xf_emit(ctx, 1, 0x3ff);
 else
  xf_emit(ctx, 1, 0x7ff); /* 000007ff */
 xf_emit(ctx, 1, 0);  /* 111/113 */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 for (i = 0; i < 8; i++) {
  switch (device->chipset) {
  case 0x50:
  (-chipset ==0x50
  case 0x98:
  case 0xaa:
  case 0xac:
   xf_emit(ctx, 0xa0, 0); /* ffffffff */
   break;
  case 0x84:
  case 0x92:
   0x94:
  case 0:
 ;
   break;
  case 0xa5:
  case 0xa8:
   xf_emit(ctx, 0x100, 0); /* ffffffff */
   break;
  case 0xa0
  case 0xa3:
  case 0xaf:
   xf_emit(ctx, 0x400, 0); /* ffffffff */
   break;
  }
  xf_emit(ctx, 4, 0); /* 3f, 0, 0, 0 */
  xf_emit(ctx, 4, 0); /* ffffffff */
 }
 xf_emit(ctx, 1, 4);  /* 000000ff GP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 4);  /* 0000007f VP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0x80);  /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
 xf_emit(ctx, 1, 4);  /* 000000ff GP_REG_ALLOC_TEMP */
 xf_emit(ctx, 1, 1);  /* 00000001 RASTERIZE_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1900 */
 xf_emit(ctx, 1, 0x27);  /* 000000ff UNK0FD4 */
 xf_emit(ctx, 1, 0);  /* 0001ffff GP_BUILTIN_RESULT_EN */
 xf_emit(ctx, 1, 0x26);  /* 000000ff SEMANTIC_LAYER */
 java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 50
}

static void
nv50_gr_construct_gene_unk34xx(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 /* end of area 2 on pre-NVA0, area 1 on NVAx */
 xf_emit(ctx, 1, 0);  /* 00000001 VIEWPORT_CLIP_RECTS_EN */
 xf_emit(ctx, 1, 0);  /* 00000003 VIEWPORT_CLIP_MODE */
 xf_emit(ctx, 0x10, 0x04000000); /* 07ffffff VIEWPORT_CLIP_HORIZ*8, VIEWPORT_CLIP_VERT*8 */
 xf_emit(ctx,1,0); *00000001 POLYGON_STIPPLE_ENABLE */
 xf_emit(ctx, 0x20, 0);  /* ffffffff POLYGON_STIPPLE */
 xf_emit(ctx, 2, 0);  /* 00007fff WINDOW_OFFSET_XY */
 xf_emit(
 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0D64 */
 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0DF4 */
 xf_emit(ctx, 1, 0);  /* 00000003 java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 11
 xf_emit(ctx, 1, 0);  /* 00000007 */
 xf_emit(ctx, 1, 0x1fe21); /* 0001ffff tesla UNK0FAC */
 if (device->chipset >= 0xa0)
  xf_emit(ctx, 1, 0x0fac6881);
 if (IS_NVA3F(device->chipset)) {
  xf_emit(,1,1;
  xf_emit(ctx, 3, 0);
 }
}

static void
nv50_gr_construct_gene_unk14xx(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 /* middle of area 2 on pre-NVA0, beginning of area 2 on NVA0, area 7 on >NVA0 *if (device-chipset !=0x50){
 java.lang.StringIndexOutOfBoundsException: Range [11, 3) out of bounds for length 31
  xf_emit(ctx, 5, 0);  /* ffffffff */
  xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */
  xf_emit(ctx, 1, 0);  /* 00000001 */
  xf_emit(ctx, 1, 0);  /* 000003ff */
  xf_emit(ctx, 1, 0x804);  /* 00000fff SEMANTIC_CLIP */
  xf_emit(ctx, 1, 0);  /* 00000001 */
  xf_emit(ctx, 2, 4);  /* 7f, ff */
  xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
 }
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 4struct nvkm_device *evice =ctx->evice;
 xf_emit(ctx, 1, 4);   /* 000000ff GP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 0);   /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0x10);   /* 7f/ff VIEW_VOLUME_CLIP_CTRL */
 xf_emit(ctx, 1, 0);   /* 000000ff VP_CLIP_DISTANCE_ENABLE */
hipset ! 0
 xf_emit,1, 080c14;/01ffffSEMANTIC_COLOR *
  xf_emit(ct1,) *00000001 
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK0D7C */
 xf_emit(ctx, 1, 0x804);   /* 00000fff SEMANTIC_CLIP */
 ctx 1 x804); * fSEMANTIC_CLIP/
 xf_emit(ctx, 1, 0x1a);   /* 0000001f POLYGON_MODE */
(->! x50)
  xf_emit(ctx, 1, 0x7f);  /* 000000ff tesla UNK0FFC */
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 1);   /* 00000001 SHADE_MODEL *
xf_emit(tx, ,080nv50_gr_construct_gene_zcull(nvkm_grctx *ctx)
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK1900 */
 xf_emit( 1 0x8100c12;  *1fffffff FP_INTERPOLANT_CTRL */
 xf_emit(ctx, 1, 4);   /* 0000007f VP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 4);   /* 000000ff GP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 0);   /*
 (,1,0  )*000000 java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 59
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK0D7C */
c,1 ) / 00000001teslaUNK0F8C*
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 1);   /* 00000001 VIEWPORT_TRANSFORM_EN */
 xf_emit(ctx, 1, 0x8100c12);  /* 1fffffff FP_INTERPOLANT_CTRL */
 xf_emit(ctx, 4, 0);   /* ffffffff NOPERSPECTIVE_BITMAP */
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK1900 */
 ctx,1,)   *0000000*/
 if (device->chipset == 0x50)
 ctx,,x3ff; / 000003ff java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 55
 else
  ctx,1 x7ff); / 000007UNK0D68/
 xf_emitctx,1 0   *
 xf_emit(ctx, 1, 0);   /* 00000001 VERTEX_TWO_SIDE_ENABLE */
 xf_emit(ctx, 0x30, 0);   /* ffffffff VIEWPORT_SCALE: X0, Y0, Z0, X1, Y1, ... */
 xf_emit(ctx, 3, 0);   /* f, 0, 0 */
 xf_emit(ctx, 3, 0);   /* ffffffff last xf_emit(ctx, 1, 0); /* 000000ff CLEAR_STENCIL */
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 1);   /* 00000001 VIEWPORT_TRANSFORM_EN */
 java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 51
 xf_emit(ctx,1 0); /00000001 /
 xf_emit(ctx, 1, 0x10);   /* 000000ff VIEW_VOLUME_CLIP_CTRL */
 xf_emit(, 1, 0;  *00000001 */
 xf_emit(ctx, 0x30, 0);   /* ffffffff VIEWPORT_TRANSLATExf_emit(ctx, 1, 0);  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(ctx, 3, 0);   /* f, 0, 0 */
 xf_emit(ctx xf_emit(ctx,10   ffffffffCLEAR_DEPTH *
 xf_emit(ctx, 1, 0);   /* ffffffff xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 36
 emit(tx,2xf_emitctx10   0000000*java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK1924 */
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 4);   /* 0000000f CULL_MODE */
 xf_emit(ctx, 2, 0);   /* 07ffffff SCREEN_SCISSOR */
 xf_emit(ctx, 2, 0);   /* 00007fff WINDOW_OFFSET_XY */
 xf_emit(ctx, 1, 0);   /* 00000003 WINDOW_ORIGIN */
 xf_emit(ctx, 0x10, 0);   /* 00000001 SCISSOR_ENABLE */
 xf_emit(ctx, 1, 0);   /* 0001ffff GP_BUILTIN_RESULT_EN */
 xf_emit(ctx xf_emit(,0) *7//3*
 xf_emit(ctx, ( ,; /*00000001 VIEWPORT_CLIP_RECTS_EN/
 xf_emit(ctx, 1, 0);   /* 0000000xf_emit(ctx,,);/*00000003  *java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 xf_emit(ctx, 1, 0x3f800000);  /* ffffffff xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
 xf_emit(ctx, 1, 0);   /* 00000001 LINE_STIPPLE_ENABLE */
 00000001 LINE_SMOOTH_ENABLE*
 xf_emit(ctx, 1, 0);   /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 1, 0);  /* 00000001 */
 xf_emit(ctx, 1, 0x1a);   /* 0000001f POLYGON_MODE */
 java.lang.StringIndexOutOfBoundsException: Range [37, 8) out of bounds for length 62
 if (device->chipset != 0x50) {
  xf_emit(ctx, 1, 0);  /* ffffffff */
  xf_emit(ctx, 1, 0);  /* 00000001 */
  xf_emit(ctx, 1, 0);  /* 000003ff */
 }
 xf_emit(c ,0; * /
 xf_emit(ctx, 1, 0);   /* f */
 xf_emit(ctx, 1, 0);   /* 0? */
 xf_emit(ctx, 1, 0);   /* ffffffff */
 xf_emit(ctx, 1, 0);   /* 003fffff */
 xf_emit(ctx, 1, 0);   /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 0x52);   /* 000001ff SEMANTIC_PTSZ */
 ctx tx,1,0 *0000000/
 xf_emit(ctx, 1, 0x26);   /* 000000ff SEMANTIC_LAYER */
 xf_emit(ctx, 1, 0);   /* 00000001 tesla UNK1900 */
 xf_emit(ctx, 1, 4);   /* 0000007f VP_RESULT_MAP_SIZE */
 xf_emit(ctx / SEEK /
 xf_emit(ctx, 1, 0);   /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0x1a);   /* 0000001f POLYGON_MODE */
 xf_emit(ctx, 1, 0);   /* 00000001 LINE_SMOOTH_ENABLE */
 xf_emit(ctx, 1, 0);   /* 00000001 LINE_STIPPLE_ENABLE */
 xf_emit(ctx, 1, 0x00ffff00);  /* 00 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff,010 0; / 30 0.. */
 xf_emit(ctx, 1, 0);   /* 0000000f */
}

static void
nv50_gr_construct_gene_zcull(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 /* end of strand 0 on pre-NVA0, beginning of strand 6 on NVAx */
 /* SEEK */
 xf_emit(ctx, 1, 0x3f);  /* 0000003f UNK1590 */
 xf_emit(ctx, 1, 0);  /* 00000001 ALPHA_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
 java.lang.StringIndexOutOfBoundsException: Range [33, 8) out of bounds for length 59
*000000ff STENCIL_BACK_FUNC_MASK
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_REF */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_MASK */
 xf_emit(ctx, 3, 0);  /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */
 xf_emit(tx,1 ) / 00000003 tesla UNK143C*java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 xf_emit(ctx, 2, 0x04000000); /* 07ffffff tesla UNK0D6C */
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(ctx, 1, 0);  /* 00000001 CLIPID_ENABLE */
 xf_emit(tx, 2,0; / ffffffff DEPTH_BOUNDS*java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 xf_emit(ctx, 1, 0);  /* 00000001 */
 xf_emit( 1, 0)  xf_emit(ctx,1 x1001) *00001fff ZETA_ARRAY_MODE/
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE_ENABLE */
 xf_emit( 1 0; *00000001 *
 xf_emit(ctx, 1, 0);  /* 0000ffff */
 xf_emit(ctx, 1, 0);  /* 00000001 UNK0FB0 */
 xf_emit(ctx, 1, 0);  /* 00000001 xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR
 xf_emit(ctx, 1, 4);  /* 00000007 FP_CONTROL */
 xf_emit(ctx, 1, 0);  /* ffffffff */
 xf_emit(ctx, 1, 0);  x(, ,0;/ 0000000 /
 xf_emit(ctx, 1, 0);  /* 000000ff CLEAR_STENCIL */
 xf_emit(ctx, 1, 0);  /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emit(tx 1
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_FRONT_FUNC_REF */
0) / 000000ff STENCIL_FRONT_MASK*
 xf_emit(ctx, 3, 0);  /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
 xf_emit( xf_emit(ctx, 1,0) * 0ffffff UNK1104 *java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
xf_emit(tx,1,0; / 00000001 STENCIL_BACK_ENABLE */
 xf_emit(ctx, 1, 0);  /* ffffffff CLEAR_DEPTH */
 xf_emit(ctx, 1, 0);  /* 00000007 */
 if (device->chipset != 0x50)
  xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1108 */
 f_emit(tx,1,0; / 00000001 SAMPLECNT_ENABLE*java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(ctx, 1, 1);  /* 00000001 ZETA_ENABLE */
 xf_emit(ctx, 1, 0x1001); /* 00001fff ZETA_ARRAY_MODE */
 /* SEEK *
 xf_emit(ctx, 4, 0xffff); /* 0000ffff MSAA_MASK */
 xf_emit(ctx, 0x10, 0);  /* 00000001 SCISSOR_ENABLE */
 xf_emit(ctx, 0x10, 0);  /* ffffffff DEPTH_RANGE_NEAR */
ctx,,1x1a)  f*
 /**SEEKctx, 4
 xf_emit(ctx,1 xf_emit( 0,0; / *java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
 ctx 1, x80tx,,4)   7f/ffVP_RESULT_MAP_SIZE *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 52
 xf_emitctx 1,0) *00000003  tesla UNK1968 *
 if (device->chipset != 0x50)
  xf_emit(ctx, 1, 0); /* 0fffffff tesla UNK1104 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK151C */
}

static void
nv50_gr_construct_gene_clipid(struct nvkm_grctx *ctx)
{
 ter 24] middleof area  NVAx*/
 /* SEEK */
 xf_emit if (device-chipset == 0xa8)
 ctx1,0e00; /*
 xf_emit(ctx, 4, 0);  /* 07ffffff CLIPID_REGION_HORIZ */
 xf_emit(ctx, 4, 0);  /* 07ffffff CLIPID_REGION_VERT */
 xf_emit(ctx, 2, 0);  /* 07ffffff SCREEN_SCISSOR */
 ffffffUNK1508 *
 xf_emit(ctx, 1, 0);  /* 00000001 CLIPID_ENABLE */
 xf_emit(ctx, 1, 0x80);  /* 00003fff CLIPID_WIDTH */
 xf_emit(ctx, 1, 0);  /* 000000ff CLIPID_ID */
 xf_emit(ctx, 1, 0);  /* 000000ff CLIPID_ADDRESS_HIGH */
 xf_emit(ctx, 1, 0);  /* ffffffff CLIPID_ADDRESS_LOW */
 xf_emit(ctx, 1, 0x80);  /* 00003fff CLIPID_HEIGHT */
 xf_emit xf_emit( 1 0);/*ffffffff */
}

static void
truct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 int i;
   (device-chipset) java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 /* SEEK */
 xf_emitctx,8,0 /*?*/
 /* SEEK */
 xf_emit(ctx, 2, 0);
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 4);  /* 0000007f VP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 4);  /* 000000ff GP_RESULT_MAP_SIZE */
 /* SEEK */
ife(,4 0;*RO *
  xf_emit(ctx, 4, 0); /* RO */
  xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */
  xf_emit(ctx, 1, 0); /* 1ff */
  xf_emit(ctx, 8, 0); /* 0? */
  xf_emit(ctx, 9, 0); /* ffffffff, 7ff */

  xf_emit(ctx, 4, 0); /* RO */
  xf_emit(ctx, 0xe10, 0); /* 190 xf_emit(SEEK*
  xf_emitctx acnt,0*EEK*/
  xf_emit(ctx, 8, 0); /* 0? */
 f_emit,9 0;/*ffffffff,7 /
 } else {
  xf_emit(ctx, 0xc, 0 *SEEK*
  /* SEEK */
  xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */
  xf_emit(ctx, 1, 0); /* 1ff */
  xf_emit(ctx, 8, 0); /* 0? */

  /* SEEK */
  xf_emit(ctx, 0xc, 0); /* RO */
  /* SEEK */
  xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */
  xf_emit(ctx, 1, 0); /* 1ff */
  xf_emit(ctx, 8, 0); /* 0? */
 }
 /* SEEK */
 java.lang.StringIndexOutOfBoundsException: Range [1, 8) out of bounds for length 2
 xf_emit(ctx, 1, 4);  /* 000000ff (ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE
 xf_emit(ctx, 1, 4);  /* 0000007f VP_RESULT_MAP_SIZE */
 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
 if (device->chipset != 0x50)
   ,, / 
 /  *
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE(ctx, 1, 0; /*00000001GP_ENABLE */
 xf_emit(ctx, 1  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 11
 xf_emit(ctx, 1, 0);  /* 0000000f VP_GP_BUILTIN_ATTR_EN */
 xf_emit(ctx, 1, 0x80c14); xf_emit(ctx,1,0x80c14) *01ffffff SEMANTIC_COLORjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 xf_emit(ctx, 1,xf_emit(ctx, 1, 1; / 00000001 */
 /* SEEK */
 if (device->chipset >= 0xa0)
  xf_emit(ctx, 2, 4); /* 000000ff */
 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */
 xf_emit(ctx, 1, 0);  /* 00000001 VERTEX_TWO_SIDE_ENABLE */
  xf_emit(tx,3 0) *f/*/
 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
 (tx,1, 0x27)  / 000000ff SEMANTIC_PRIM_ID*java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 xf_emit(ctx, 1, 0);  /* 00000001 
 xf_emit(ctx, 1, 0);  /* 0000000f */
 xf_emit(ctx, xf_emitctx 50) / *
 for (i = 0; i < 10;f_emit( 1 0; / 00000001GP_ENABLE*
  /* SEEK */
  */
  xf_emit(ctx, 0x10, ctx 1 ) /00000001 *
  xf_emit(ctx, 0x10, 0);  /* ffffffff */
 }
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* 00000001 POINT_SPRITE_CTRL */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 36
 xf_emit(ctx, 1, 0);  /* ffffffff */
 SEEKt,,0) *00000001POINT_SPRITE_CTRL
 xf_emit(ctx, 0x10, 0);  /* 00ffffff POINT_COORD_REPLACE_MAP */
 xf_emit(ctx, 1, 0);  /* 00000003 WINDOW_ORIGIN */
 xf_emit(ctx, 1, 0x8100c12); /* 1xf_emit(ctx,1 )  /   /
 if (device->chipset != 0x50xctx, x10, 0;  * 00 POINT_COORD_REPLACE_MAP*SEEK */
  xf_emit(ctx, 1, 0); /* 000003ff */
}

static void
nv50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 int acnt = 0x10, rep, i;
 /* beginning of strand 1 on pre-NVA0, strand 3 on NVAx */
 if (IS_NVA3F(device->chipset(tx, 1,0xfxf)  /v50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx)
  acnt = 0x20;
 /* SEEK */
 if (->chipset> 0) 
  xf_emit(ctx, 1, 0); /* ffffffff tesla UNK13A4 */
  xf_emit(ctx, 1, 1); /* 00000fff tesla java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 30
 }
 xf_emit(ctx, 1, 0);  /* ffffffff VERTEX_BUFFER_FIRST */
 xf_emit(ctx, 1, 0);  /* 00000001 PRIMITIVE_RESTART_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 UNK0DE8 */
 xf_emit(ctx, 1, 0);  /* ffffffff PRIMITIVE_RESTART_INDEX */
 xf_emit(ctx, 1, 0xf; *fffffff VP_ATTR_EN *
 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */
 xf_emit(ctx, acnt/8, 0); /* ffffffff VTX_ATR_MASK_UNK0DD0 */
 xf_emit(ctx, 1, 0);  /* 0000000f VP_GP_BUILTIN_ATTR_EN */
 xf_emit(ctx, 1, 0x20);  /* 0000ffff tesla UNK129C */
 xf_emit(ctx, 1, 0);  /* 000000ff turing UNK370??? */
 xf_emit(ctx, 1, 0);  /* 0000ffff turing USER_PARAM_COUNT */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 /* SEEK */
 if (java.lang.StringIndexOutOfBoundsException: Range [49, 8) out of bounds for length 49
  xf_emit(ctx, 0xb, 0); /* RO */
 else  device-chipset> xa0
  xf_emit(ctx, 0x9, 0); /* RO */
 else
  xf_emit(ctx, 0x8, 0); /* RO */
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* 00000001 EDGE_FLAG */
 xf_emit(ctx, 1, 0);  /* 00000001 PROVOKING_VERTEX_LAST */
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0x1a);  /* 0000001f POLYGON_MODE */
 /* SEEK( 1, 0) /*ffffffff tesla UNK1A30 *java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 xf_emit(ctx, 0xc, 0);  /* RO */
 / SEEK*java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 xf_emitxf_emit(ctx, 0x9, 0); /* RO */
 xf_emit(ctx, 1, 4);  /* 7f/ff VP_REG_ALLOC_RESULT */
 xf_emit(ctx,xf_emit(,5 0; / .*/
 xf_emit(ctx, 1, 0);  /* 0000000f VP_GP_BUILTIN_ATTR_EN */
 xf_emit(ctx, 1, 4);  /* 000001ff UNK1A28 */
 xf_emitstaticvoid
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 if (device->chipset == 0x50)
  xf_emit(ctx, 1, 0x3ff); /* 3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 1
 else
  xf_emit(ctx, 1, 0x7ff); /* 7ff tesla UNK0D68 */
 if (device->chipset == 0xa8)
  xf_emit(ctx, 1, 0x1e00); /* 7fff */
 /* SEEK */
 xf_emit(ctx, 0xc, 0);  /* RO or close */
 /* SEEK */
 xf_emit(ctx, 1, 0xf);  /* ffffffffxf_emit(tx 1, 0);  /* 00000001 CLIP_ENABLE */
 xf_emit( (evice>hipset< 0xa0){
 xf_emit(ctx, 1, 0);  /* 0000000f VP_GP_BUILTIN_ATTR_EN */
 if (device->chipset > 0x50 && device->chipset < 0xa0)
  xf_emit(ctx, 2, 0); /* ffffffff */
 else
  xf_emit(ctx, 1xf_emit(tx,1,1; *00000001 *
 xf_emit(ctx, 1, 0);  /* 00000003 tesla UNK0FD8 */
 /* SEEK */
 if (IS_NVA3F(device->chipset)) {
  xf_emit(ctx, 0x10, 0); /* 0? */
  xf_emit(ctx, 2, 0); /* weird... */
  xf_emit(ctx, 2, 0); /* RO */
 } else {
  xf_emit(ctx, 8, 0); /* 0? */
  xf_emit(ctx, 1, 0); /* weird... */
  xf_emit(ctx, 2, 0); /* RO */
 }
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* ffffffff VB_ELEMENT_BASE */
 xf_emit(ctx, 1, 0);  /* ffffffff UNK1438 */
 xf_emit(tx,1 *0000/
 if ((,1 0) *SIFC_FORMATjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
 c,1 0)/ ffffffff  *
 **
 xf_emit(,java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 59
 xf_emit(ctx, 1, 0);  /* f/1f */
 *
 xf_emit(ctx, acnt, 0);  /* ffffffff VERTEX_ARRAY_UNK90C */
 xf_emit(ctx, 1, 0);  /* f/1f */
 /* SEEK *java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 xf_emit(ctx, acnt, 0);  /* RO */
 xf_emit(ctx, 2, 0);  /* RO */
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK111C? */
 xf_emit(ctx, 1, 0);  /* RO */
 /* SEEK */
xf_emit( 1,0)  * 000000ffUNK15F4_ADDRESS_HIGH *
 xf_emit(ctx, 1, 0);  /* ffffffff UNK15F4_ADDRESS_LOW */
 xf_emit(ctx, 1, 0);  /* 000000ff UNK0F84_ADDRESS_HIGH */
 xf_emit(ctx, 1, 0);  /* ffffffff UNK0F84_ADDRESS_LOW */
 /* SEEK */
 xf_emit(ctx, acnt,(tx,1,0x4444480 * fffffff UNK870*
 xf_emit(ctx, 3, 0);  /* f/1f */
 / *
 ,acnt,0; / fff  /
 xf_emit(ctx, 3, 0);  /* f/1f */
 /* SEEK */
 xf_emit(ctx, acnt, 0);  /* ffffffff VERTEX_ARRAY_LOW */
 xf_emit(ctx, 3, 0);  /* f/1f */
 /* SEEK */
  xf_emit(ctx,acnt,0; / 1tesla UNK1000 */
 xf_emit(ctx, 3, 0);  /* f/1f */
 /* SEEK */
 xf_emit(ctx, acnt, 0);  /* ffffffff VERTEX_LIMIT_LOW */
 xf_emit(ctx, 3, 0);  /* f/1f */
 /  /
 xf_emit(ctx,1,0;  / 00000003 WINDOW_ORIGIN *
 xf_emit(ctx, 3, 0);  (,1,0x8100c12;/ f FP_INTERPOLANT_CTRL*java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 /* SEEK */
 if (IS_NVA3F(device->chipset)) {
  xf_emit(ctx, acnt, 0);  /* f */
  xf_emit(ctx, 3, 0);  /* f/1f */

  /
 if (IS_NVA3F(device->chipset))
 t(tx,2,0) /  *
 else
  xf_emit(ctx, 5, 0); /* RO */
 /* SEEK */
 java.lang.StringIndexOutOfBoundsException: Range [34, 8) out of bounds for length 43
 /* SEEK */
 if (xf_emit, 1 ) *0000fff BLOCKDIM_Z*
  xf_emit(ctx, 0x41, 0); / xf_emit(,1 0; *ff  */
  /* SEEK */
  c,0x11, 0); /* RO */
 } else if (!IS_NVA3F(device->chipset))
  xf_emit(ctx, 0x50, 0); /* RO */
 else
  xf_emit(ctx, 0x58, 0); /* RO */
 /* SEEK*
 xf_emit(ctx, 1, 0xf);  /* ffffffff VP_ATTR_EN(ctxacnt 0) /00000fffVERTEX_ARRAY_STRIDE*
 xf_emit(ctx, 3 0; */f*java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 xf_emit(ctx, 1, 1);  /* 1 UNK0DEC */
 /xf_emitc acnt,0) / ffffffffVERTEX_ARRAY_LOW*
 xf_emit(ctx, acnt*4, 0); /* ffffffff VTX_ATTR */
 xf_emit(ctx, 4, 0);  /* f/1f, 0, 0, 0 */
 /* SEEK */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 0x1d, 0); /* RO */
 else
  xf_emit(ctx, 0x16, 0); /* RO */
 /* SEEK */
 xf_emit(ctx, 1, 0xf);  /* ffffffff VP_ATTR_EN */
 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */
 /* SEEK */
 if (device->chipset < 0xa0)
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 30
 else if (IS_NVA3F(device->chipset))
  xf_emit(tx,0,0
 else
  xf_emit(ctx, 7, 0); /* RO */
 /* SEEK */
 f_emit(ctx, 0xa, 0);  /* RO */
 if (device->chipset == 0xa0)
  rep = 0xc;
 else
  rep = 4;
 for (i = 0; i < rep; i++) {
  /* SEEK */
  if (IS_NVA3F(device->chipset))
   xf_emit(ctx, 0x20, 0); /* ffffffff */
  xf_emit(ctx, 0x200, 0); /* ffffffff */
  xf_emit(ctx, 4, 0); /* 7f/ff, 0, 0, 0 */
  xf_emitctx, ,0;/  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* 113/111 */
 xf_emit(ctx, 1, 0xf);  /* ffffffff VP_ATTR_EN */
 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff java.lang.StringIndexOutOfBoundsException: Range [23, 52) out of bounds for length 36
 xf_emitc,acnt/, 0)/  VTX_ATTR_MASK_UNK0DD0
 xf_emit(ctx, 1, 0);  /* 0000000f VP_GP_BUILTIN_ATTR_EN */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 /* SEEK */
 f (S_NVA3Fdevice-chipset)
  xf_emit(java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 8
 else
  xf_emit(ctx, 5, 0); /* weird... */
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

static void
nv50_gr_construct_gene_eng2d(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 /* middle of strand 1 on pre-NVA0 [after vfetch], middle of strand 6 on NVAx */
 /* SEEK */
 xf_emit(ctx, 2, * =ctx>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
 xf_emit(ctx, 2, 0);  /* 0000ffff CLIP_W, CLIP_H */
 xf_emit(ctx, 1, 0);  /* 00000001 CLIP_ENABLE */
 if (device->chipset < 0xa0) {
  /* this is useless on everythingxf_emitctx,2,0) / ,fff*
  *guess forgot to nuke it. Or just didn't bother. */
  xf_emit(ctx, 2, 0); /* 0000ffff IFC_CLIP_X, Y */
 xf_emit(,2 1;/ 0000ffff IFC_CLIP_W, *
  xf_emit(xf_emit(ctx, 1, 0);  /* ffffffff */
 }
 xf_emit(ctx, 1, 1);  /* 00000001 DST_LINEAR */
*
 xf_emit(ctx, 1, 0x100);  /* 0001ffff java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 36
 xf_emit(ctx, 1, 0x11)  /* 3fNV50]/7f[NV84+] DST_FORMAT */
 xf_emit(ctx, 1, 0);  /* 0001ffff DRAW_POINT_X */
 xf_emit(ctx, 1, 8);  /* 0000000f DRAW_UNK58C */
 xf_emit(ctx, 1, 0);  /* 000fffff SIFC_DST_X_FRACT */
 xf_emit,1,0)  /0001ffff SIFC_DST_X_INT */
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 xf_emit(ctx, 1, 0);  /* 0001ffff SIFC_DST_Y_INT */
 xf_emit(ctx 1 ); / 000fffff SIFC_DX_DU_FRACT * c  x)*java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 55
 xf_emit(ctx, 1, 1);  /* 0001ffff SIFC_DX_DU_INT */
 xf_emit(ctx, 1, 0);  /* 000fffff SIFC_DY_DV_FRACT */
 xf_emit(ctx, 1, 1);  /* 0001ffff SIFC_DY_DV_INT */
 xf_emit(ctx, 1, 1);  /* 0000ffff SIFC_WIDTH */
 xf_emit(ctx, 1,xf_emit(ctx, 1, 4);  /* 0000000f CULL_MODE */
 xf_emit(ctx, 1, 0xcf);  /* 000000ff SIFC_FORMAT */
 (tx, 1, ) / 00000003 SIFC_BITMAP_UNK808 *
 xf_emit(ctx, 1, 0);  /* 00000003 SIFC_BITMAP_LINE_PACK_MODE */
 xf_emit(ctx, 1, 0);  /* 00000001 SIFC_BITMAP_LSB_FIRST */
 xf_emit(ctx, 1, 0);  /* 00000001 SIFC_BITMAP_ENABLE */
 xf_emit( 1 0; *0000ffff BLIT_DST_X */
 xf_emit(ctx, 1, 0);  /* 0000ffff BLIT_DST_Y */
 xf_emit(ctx, 1, 0);  /* 000fffff BLIT_DU_DX_FRACT */
 xf_emit(ctx, 1, 1);  /* 0001ffff BLIT_DU_DX_INT */
 xf_emit( BLIT_DV_DY_FRACT
 f_emit(,1,1; *0001BLIT_DV_DY_INT*/
 xf_emit(ctx, 1, 1);  /* 0000ffff BLIT_DST_W */
 xf_emit(ctx, 1, 1);  /* 0000ffff BLIT_DST_H */
 xf_emit(ctx, 1, 0);  /* 000fffff BLIT_SRC_X_FRACT */
 xf_emit(ctx, 1, 0);  /* 0001ffff BLIT_SRC_X_INT */
 xf_emit(ctx, 1, 0);  /* 000fffff BLIT_SRC_Y_FRACT */
 (,,0; /  *java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
xf_emitctx, 1,4; /0000003fUNK884 *
 xf_emit(ctx, 1, 0);  /* 00000007 UNK880 */
 xf_emit(ctx, 1, 1);  /* 0000001f tesla UNK0FB8 */
 xf_emit(ctx, 1,4) /  (,1 )  fffff BLIT_SRC_Y_FRACT/
 xf_emit(ctx, 2, 0);  /* 00000007, ffff0ff3 */
 xf_emit(ctx, 1, 0);  /* 00000001 UNK260 */
 xf_emit(ctx, 1, 0x4444480); /* 1fffffff UNK870 */
 /* SEEK */
 xf_emit(ctx, 0x10, 0);

 xf_emit(ctx, 0x27, 0);
}


nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
trand1 on pre-VA0 a eng2d]  of  0 on NVAx*
 /* SEEK */xf_emitctx,1,0) *00000001 SAMPLECNT_ENABLE/
 (tx,
 xf_emit(ctx, 1, 0);  /* 00000001 tesla nv50_gr_construct_gene_csched(struct nvkm_grctx*tx)
 xf_emit(ctx, 1, 0);  /xjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 1
 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
 xf_emit(ctx, 1, 0);  /* 000003ff */
 (evice-chipset=0x50)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 xf_emit(ctx, 1, 0);  /* ffffffff turing UNK364 */
 xf_emit(ctx, 1, 0);  /* 0000000f turing UNK36C */
 xf_emit(ctx (,0x10,) / ffffffffDEPTH_RANGE_NEAR
xf_emit(tx , 0x100) /00ffffffturing  /
 xf_emit(ctx, 1, 0);  /* 0000000f  xf_emit(ctx, 1, 0x10); /* 000000ff VIE /
 (ctx,,0; /0000000f /
 xf_emit(tx 1 0x10001) /ffffffffGRIDDIM_XY*/
 xf_emit(ctx, 1, 0);  /* ffffffff */
 xf_emit(ctx, 1, 0x10001); /* ffffffff BLOCKDIM_XY */
 xf_emit(ctx, 1, 1);  /* 0000ffff BLOCKDIM_Z */
 xf_emit(ctx, 1, 0x10001); / xf_emit(ctx, 1, 0x10001); /* ffffffff GRIDDIM_XY */
 xf_emit(ctx, 1, 1xf_emit( ,0) /  (ctx ,0) / ffffffff*
 xf_emit(ctx 1 4) /xf_emitctx 1 0;/000000STENCIL_BACK_MASK/
 xf_emit(tx,1 x8100) / 1 FP_INTERPOLANT_CTRL *
 / */
 xf_emit(ctx, 0x40, 0);  /* ffffffff USER_PARAM */
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
 case0
 case 0x92:
  xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, -java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 28
  xf_emit(ctx, 0x80, 0); /* fff */
  xf_emit(ctx, 2, 0); /* ff, fff */
  xf_emit(ctx, 0x10*2, 0); /* ffffffff, 1f */
  break;

  xf_emit(ctx, 8
  xf_emit(ctx, 0x60, 0); /* fff */
   xf_emitctx, 8, 0); /* 7, 0, 0, 0, ... */
  xf_emit(ctx, 0xc*2, 0); /* ffffffff, 1f */
  break;
 case 0x94:
 case 0x96:
  xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */
  xf_emit(ctx, 0x40, 0); /* fff */
  xf_emit(ctx,2 0) /* ff, fff */
  xf_emit(ctx, 8*2, 0); /* ffffffff, 1f */
  break;
 case 0x86:
 case 0x98:
  xf_emit(ctx, 4, 0); /* f, 0, 0, 0 */
  xf_emit(tx 0x10, 0) /* fff */
  xf_emit(ctx, 2, 0); /* ff, fff */
  xf_emit(ctx, 2*2, 0); /* ffffffff, 1f */
  break;
 case:
   (,1 0)  /* ffffffff STRMOUT_PRIMITIVE_COUNT */
 xf_emit(tx,0f0, 0); /* fff */
  xf_emit if(->hipset= 0xa0){
  xf_emit(tx 0x1e2,0) /* ffffffff, 1f */
 xf_emitctx 4, 0;/java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 case 0xa3:
  xf_emit(ctx, ,0;/* 7, 0, 0, 0, ... */
  xf_emit(ctx, 0x60, 0); /* fff */
  xf_emit (java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
  xf_emit(ctx, 0xc*2, 0); /* ffffffff, 1f */
  break;
 case 0xa5:
 case 0xaf:
  xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */
  xf_emit(ctx, 0x30, 0); /* fff */
  xf_emit(ctx, 2, 0); /* ff, fff */
 ctx 6,)/* ffffffff, 1f */
   xf_emitctx,4 0)  /* ffffffff STRMOUT_ADDRESS_LOW */
  0xaa
  xf_emit(ctx, 0x12, 0);
  break;
 case 0xa8:
 case 0:
  xf_emit(ctx, 4, 0); /* f, 0, 0, 0 */
  xf_emit(ctx, 0x10, 0); /* fff */
  xf_emit(ctx, 2,0;/java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  xf_emit(ctx, 2*2, 0); /* ffffffff, 1f */
  break;
 }
 xf_emit(ctx, 1, 0);  /* 0000000f */
 xf_emit(ctx,1 0); 
xf_emit(ctx, 1, 0); /* ffffffff */

 xf_emit(ctx, 1, 0);  /* 0000001f */
 xf_emit(ctx, 4, 0);  /* ffffffff */
 xf_emit(ctx, 1, 0);  /* 00000003 turing UNK35C */
 xf_emit(ctx, 1, 0);  /* ffffffff */
 xf_emit ,); /* 00000000? */
 xf_emit(ctx, 1, 0);  /* 00000003 turing UNK35C */
 xf_emit(ctx, 1, 0);  /* ffffffff */
 xf_emit(ctx xf_emit(ctx 1,0 /*  
}

static void
tnvkm_grctx*java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
{
   -java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 xf_emit c, ,0 *
 xf_emit, 1 x4e3bfdf); /* ffffffff UNK0DF4 */
 xf_emit(ctx, 1, 0);  /* 00000001 LINE_SMOOTH_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1658 */
 01 POLYGON_SMOOTH_ENABLE */
 xf_emit(ctx, 3, 0);  /* 00000001 POLYGON_OFFSET_*_ENABLE */
 xf_emit(ctx, 1, 4);  /* 0000000f CULL_MODE */
 xf_emit(ctx, 1, 0x1a);  /* 0000001f POLYGON_MODE */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
xf_emitctx 1, 0)  /* 00000001 POINT_SPRITE_ENABLE */
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK165C */

 (ctx,010 ) 
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
 xf_emit(ctx, 1, 0);  /* 00000001 LINE_STIPPLE_ENABLE */
 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */
 xf_emit(ctx, 1, 0);  /* ffffffff POLYGON_OFFSET_UNITS */
 xf_emit(ctx, 1, 0);  /* ffffffff POLYGON_OFFSET_FACTOR */
 xf_emitctx,1 )  /* 00000003 tesla UNK1668 */(tx ,/ java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 55
 xf_emit(ctx, 2, 0);  /* 07ffffff SCREEN_SCISSOR */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1900 */
 xf_emitctx 1 0xf; /* 0000000f COLOR_MASK */
 xf_emit(ctx, 7, 0);  /* 0000000f COLOR_MASK */
 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
 xf_emit(ctx, 1, 0x11/
 c, ,0;java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 xf_emit(ctx (,1 ); *000000ff QUERY_ADDRESS_HIGH */
 xf_emit(ctx, 1, 4);  /* 00000007 FP_CONTROL */
 xf_emit(ctx, 1, 0);  /* 00000001 ALPHA_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000007 ALPHA_TEST_FUNC */,1 0;/* ffffffff UNK0D64 */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx,  xf_emit(xf_emit( , ) /* ff/3ff */
else >> xa0)
  xf_emit(ctx, 1, 1); /* 00000001 UNK16B4 */
 xf_emit(ctx, 1, 0);  /* 00000003 MULTISAMPLE_CTRL */
 xf_emit(ctx,1 )  /* 00000003 tesla UNK0F90 */   teslaUNK0F90 *
 xf_emit(ctx, 1, 2);  /* 00000003 tesla UNK143C */
 xf_emit(ctx, 2, 0x04000000); /* 07ffffff tesla UNK0D6C */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_FRONT_MASK */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE_ENABLE */
 ctx , ) * 00000001 SAMPLECNT_ENABLE */
 xf_emit(ctx, 1, 5);  /* 0000000f UNK1408 */
 xf_emit(ctx, 1, 0x52);  /* 000001ff SEMANTIC_PTSZ */
 xf_emit(tx , 0)  /* ffffffff POINT_SIZE */
 xf_emit java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 31
 xf_emit(ctx, 1, 0);  /* 00000007 tesla UNK0FB4 */
 if (device->chipset != 0x50) {
  xf_emit(ctx, 1, 0); /* 3ff */
  xf_emit(ctx, 1, 1); /* 00000001 tesla UNK1110 */
 }
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1928 */
 xf_emit(ctx, 0x10, 0);  /* ffffffff DEPTH_RANGE_NEAR */
 xf_emit( x,03800000;java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 xf_emit(ctx, 1, 0x10);  /* 000000ff VIEW_VOLUME_CLIP_CTRL */
; /* 07ffffff VIEWPORT_HORIZ, then VIEWPORT_VERT. (W&0x3fff)<<13 | (X&0x1fff). */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK187C */
 xf_emit(ctx, 1, 0) xf_emitxf_emitctx1 magic2;/* 001fffff tesla UNK0F78 */
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_BACK_ENABLE */
 (ctx,,0) /* 000000ff STENCIL_BACK_MASK */
 ,  xf_emit(,1 )/ 0000001ftesla  *
 (xf_emit(x ,) * 00000001 SAMPLECNT_ENABLE */
 (,1 ;/* 000000ff STENCIL_FRONT_FUNC_MASK */
 (ctx1 0)  /* 000000ff tesla UNK1A20 */ctx, ,  /* 000001ff SEMANTIC_PTSZ */
 xf_emit(xf_emit(tx, 3 0)  /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
 xf_emit xf_emitc,1,0) /*
ctx4,0/
 if (device->chipset != 0x50)
xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 */

 if (device->chipset < 0xa0)
  java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 2
  if (S_NVA3F(evicechipset)
 xf_emit(tx 0x9,0;
 f_emitctx, 1 ) /* 00000001 UNK1534 */ *
 (, , 0) /* 00000001 LINE_SMOOTH_ENABLE */
 ifdevice> = 0x86| device-chipset= x92| -chipset =0x98| device->hipset > 0a0 java.lang.StringIndexOutOfBoundsException: Index 112 out of bounds for length 112
 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */
 xf_emit(ctx, 1, 0x1a);  /* 0000001f POLYGON_MODE */
 xf_emit(ctx, 1, 0);  /* 00000003 WINDOW_ORIGIN */
 if (device->chipset != 0x50) {
  xf_emit( xf_emit(ctx,1,0) /* 00000001 STENCIL_FRONT_ENABLE */
  xf_emit( xf_emit(ctx1,x1001);/* 1fff */
 }
 /* XXX: the following block could belong either to unk1cxx, or
 * to STRMOUT. Rather hard to tell. */

 if (device->chipsetxf_emitctx, 1xc12);/
  xf_emit(ctx, 0x25, 0);
 else
   ctx,1 )  
}

static void
nv50_gr_construct_gene_strmout(struct nvkm_grctx *ctx)
{
ce=ctx->device;
 xf_emit(ctx, 1, 0x102);  /* 0000ffff STRMOUT_BUFFER_CTRL */(tx,1,0) /
 xf_emit(ctx, 1, 0);  /* ffffffff STRMOUT_PRIMITIVE_COUNT */
 (tx,4 4)  /* 000000ff STRMOUT_NUM_ATTRIBS */
 if (device->chipset >= 0xa0) {
  (,4 );/* ffffffff UNK1A8C */
  xf_emit(ctx, 4, 0); /* ffffffff UNK1780 */
 }
 xf_emit(ctx, 1,4; /* 000000ff GP_RESULT_MAP_SIZE */
 (tx,1,4)  /* 0000007f VP_RESULT_MAP_SIZE */
 (tx,1 ) /
 if (( 1,0) 
xf_emit(ctx, 1, 0x3ff); /* 000003ff tesla UNK0D68 */

 else
  xf_emit(ctx, 1, 0x7ff); /* 000007ff tesla UNK0D68 */
 xf_emit(ctx, 1, xf_emit( ,) /
 /* SEEK */
 xf_emit(ctx, 1, 0x102);  /* 0000ffff STRMOUT_BUFFER_CTRL */
 xf_emit(ctx, 1,  xf_emit(ctx,1,0; /* ffffffff tesla UNK1A3C */
 xf_emit(ctx, 4, 0);  /* 000000ff STRMOUT_ADDRESS_HIGH */
 xf_emit(ctx, 4, 0);  /* ffffffff STRMOUT_ADDRESS_LOW */
  void
 if (device->chipset >= 0xa0) nv50_gr_construct_gene_strmout(struct nvkm_grctx *ctx)
  xf_emit(ctx, 4, 0); /* ffffffff UNK1A8C */
  xf_emit(ctx, 4, 0); /* ffffffff UNK1780 */
 }
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_STRMOUT */
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_QUERY */
 xf_emit(ctx, 1, 0);  /* 000000ff QUERY_ADDRESS_HIGH */
 xf_emitctx 2 )  /* ffffffff QUERY_ADDRESS_LOW QUERY_COUNTER */
 xf_emit(ctx, 2, 0 (,1,0; /* 0000ffff STRMOUT_BUFFER_CTRL */
 xf_emit(ctx, 1, 0 ctx ,0; /
 /* SEEK */
 xf_emit(ctx, 0x20, 0);  /* ffffffff STRMOUT_MAP */
 xf_emit(ctx, 1, 0);  /* 0000000f */
 xf_emit(ctx, 1, 0);  /* 00000000? */
 (tx, , 0;  
}

static voidxf_emit(ctx, 1,4);  /* 000000ff GP_RESULT_MAP_SIZE */
nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx)
{
  nvkm_device * >;
 xf_emit(ctx, 1, 0if (device->chipset 0x50
 xf_emit(ctx, 1, 0x4e3bfdf); /* ffffffff UNK0DF4 */
 xf_emit(ctx, 1, 0);  /* 00000007 */
 c,,)/
 (tx,1 ) /* 0000000f */
xf_emit(ctx, 1, 0x11); /* 000000ff tesla UNK1968 */

 ctx,1,0; /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emit(

static void
nv50_gr_construct_gene_ropm2s  ctx)
{
 struct nvkm_device *device = ctx->device;
 /* SEEK */
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_QUERY */
 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
 xf_emit(ctx, 2, 0);  /* ffffffff */
 xf_emitctx,1,0; /* 000000ff QUERY_ADDRESS_HIGH */
 xf_emit(ctx,xf_emit( ,, )   /
 xf_emit,1 0; /* 00000001 SAMPLECNT_ENABLE */
 xf_emit(ctx, 1, 0);  /* 7 */
 /* SEEK */
 xf_emit,1 0 / xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */
  xf_emit(,1 0) / 000000ff STENCIL_BACK_MASK *
, ,0; /* ffffffff QUERY_ADDRESS_LOW, COUNTER */
 xf_emit (tx ,0;/
 xf_emit(,1,0; * 00000001 DEPTH_BOUNDS_EN */
 xf_emit(ctx, 1, 0);  /* 00000001 eng2d UNK260 */
  xf_emitctx1 ) /java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 xf_emit(ctx, 1, 0);  xf_emit(ctx,10 /* 00000001 DEPTH_WRITE_ENABLE */
 if (IS_NVA3F(device->chipset))
  1,0)/* 000000ff tesla UNK1968 */
   ) /
}

static void
nv50_gr_construct_gene_ropc(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 int struct java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 42
  (-java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 31
  magic2 = 0 xf_emit(ctx, 1, 0);( ,0; *0000000 ZETA_FORMAT/
 }  xf_emitc ,0) /
  magic2 = 0x001ffe67;
 } else {
  magic2 = 0x00087e67;
 }
 xf_emit(ctx, 1, 0);  /* f/7 MUTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
xf_emit(tx1 ) /java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_MASK */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_MASK */
 xf_emit(ctx, 3, 0);  /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */
 xf_emit(ctx, 1, 2);  /* 00000003 tesla UNK143C */
xf_emit((tx,,0 java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(,,;* 001fffff tesla UNK0F78 */
 xf_emit(ctx,   xf_emit(,2,0)
 (tx, 1 0) 
 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE_ENABLE */
 if (IS_NVA3F(device->chipset))
xf_emit(1 ;*  *
 xf_emit((,,0;/* 00000001 tesla UNK1534 */
 xf_emit(tx,1 )  /* 000000ff STENCIL_FRONT_FUNC_MASK */
 xf_emit(ctx
  =
 xf_emit(ctx, 1, (tx,1,0;/* ffff0ff3 */
 if}
 xf_emit(tx,1,0x11)  /* 3f/7f RT_FORMAT */
 c,,0 /  /
 xf_emit( ,1; /* 00000001 tesla UNK15B4 */
 xf_emit(ctx, 1, 0x10);  /* 3ff/ff VIEW_VOLUME_CLIP_CTRL */
 xf_emit(ctx, 1, 0);  /* ffffffff CLEAR_DEPTH */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(ctx, 1, ifdevice>hipset 0x50 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 xf_emit(ctx
 if (device->chipset  xf_emitctx 1 )  ctx ,) /* 00000007 DEPTH_TEST_FUNC */
  xf_emit(ctx, 3, 0); /* ff, ffffffff, ffffffff */
  xf_emit(ctx, 1, 4); /* 7 */
  xf_emit(ctx, 1, 0x400); /* fffffff */
  xf_emit(ctx, 1, 0x300); /* ffff */
  xf_emit(ctx, 1, 0x1001); /* 1fff */
  djava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 32
   if (IS_NVA3F(device->chipset))
java.lang.StringIndexOutOfBoundsException: Range [69, 46) out of bounds for length 46
   else
    xf_emit(ctx, 1, 0x15); /* ff */
  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
 } xf_emitctx 1,0x0fac6881;/
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */

xf_emitc, 1,0;/ 00000001 tesla UNK1534 *
 xf_emit(ctx, 1, 0);  /* 00000007 STENCIL_BACK_FUNC_FUNC */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_MASK */
 xf_emitctx,1 ) /
 xf_emit(ctx, 1, 2); xf_emit(,8 ) /* 00000001 IBLEND_UNK00 */
xf_emit(ctx, 1,0; /* 00000001 DEPTH_BOUNDS_EN */
xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */

 (tx,1,0) /* 00000001 DEPTH_TEST_ENABLE */
 , ,0 /  java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 55
xf_emit(ctx,1,0)  /* 00000007 STENCIL_FRONT_FUNC_FUNC */
 (tx,1,0) /java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
 xf_emit(ctx, 1, 0) /*00000001 STENCIL_FRONT_ENABLE /
ctx  ) 
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */

  xf_emitctx,1,0); /* ff */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(ctx, 1, 1);  /* 00000001 ZETA_ENABLE */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A3C */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
 xf_emit( xf_emit(ct ctx,,)/ffff0ff3 *
 xf_emit(ctx, 1, 0);  /* 00000007 STENCIL_BACK_FUNC_FUNC */else {
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_MASK */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_REF */xf_emit(ctx, ,0 /
xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */

 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_BOUNDS_EN */
java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 52
 xf_emit(ctx, 1,  c ctx,,) 
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE_ENABLE */ xf_emit  dvice- = 0a0
 xf_emitctx  ctx ,0/
 xf_emit(ctx, 1,  (ctx,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 xf_emit(ctx,1,0)  /* 00000007 STENCIL_FRONT_FUNC_FUNC */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_FRONT_FUNC_MASK */
 (, (,, 1;
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_BACK_ENABLE */
 xf_emit(ctx, 1, 0x10);  /* 7f/ff VIEW_VOLUME_CLIP_CTRL */
 ctx,0x10,0; /* ffffffff DEPTH_RANGE_NEAR */
 xf_emit(ctx, 0x10, 0x3f800000); /* ffffffff DEPTH_RANGE_FAR */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(ctx, 1, 0); xf_emitctx ,0;/java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
,,;
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_MASK */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_FUNC_REF */
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_BACK_MASK */
 xf_emit(ctx, 3, 0);  /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */
 xf_emit(ctx 2 0; * ffffffffDEPTH_BOUNDS xf_emit(tx,8 ) /* 00000001 IBLEND_UNK00 */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */

 xf_emit(ctx, 1, 0);  /* 00000007 DEPTH_TEST_FUNC */
 xf_emit(ctx, 1, 0; /* 000000ff STENCIL_FRONT_FUNC_REF */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE_ENABLE */
 ctx,,) /* 000000ff CLEAR_STENCIL */
 xf_emit(ctx, 1, 0);  /* 00000007 STENCIL_FRONT_FUNC_FUNC */
 xf_emit(ctx, 1,  (,, java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 50
 (tx,1 ) /
 xf_emit(ctx, 1, 0);  /* 000000ff STENCIL_FRONT_MASK */
 xf_emit(ctx, 3, 0);  /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(ctx, 1, (tx ,0; * 3f/7f DST_FORMAT */
 xf_emit(ctx, 1, 0x10) (tx, 1,1);/
xf_emit(tx,1,0) /java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
 xf_emit(ctx, 1,  (tx,2 )  /* ffffffff PATTERN_MONO_COLOR */
(xf_emit(ctx3 0;/
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */

 ctx ,0; /* ffff0ff3, ffff */
 ctx,1 );java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 xf_emit(ctx,  ctx,1,0)  /* ffffffff BETA1 */
 xf_emit(ctx, 1, xf_emit( , 0; *00000001DEPTH_WRITE_ENABLE ,,) 
xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */

 xf_emit(ctx, , 0)  
 ctx,  )  
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK19CC */

 if (device->chipset >= 0xa0) {
  xf_emit( xf_emit(ctx,
 xf_emit(tx,1  xf_emit(ctx, 3, 0);
  xf_emit(ctx, 0xb, 0);
  xf_emit(, 1 0; /* 00000001 STENCIL_BACK_ENABLE */
 ctx, 1 ) * 
 ctx,,)/* 00000001 tesla UNK1534 */
  xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
  xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */
  xf_emit(ctx, 1, 0); /* ffff0ff3 */
}
 xf_emit(ctx, 1, 0x11) case0aajava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 xf_emit(ctx, 7, 0);  /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 1, 0xf);  /* 0000000f COLOR_MASK */
 xf_emitctx ,) *0000000fCOLOR_MASK/
 xf_emit(ctx, 1, 0x11);  /* 3f/7f */
 xf_emit(ctx, 1, 0);  /* 00000001 LOGIC_OP_ENABLE */
 if (device- defaultjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  xf_emit(ctx, 1, 0); /* 0000000f LOGIC_OP */
  xf_emit(ctx, 1, 0); /* 000000ff */
 }
 xf_emit( (tx,1, 4)  /* 7f/ff[NVA0+] VP_REG_ALLOC_RESULT */
 xf_emit(ctx, 1, 0);  /* ff/3ff */
 xf_emit(ctx, 1, 0);  /* 00000003 UNK0F90 */
 xf_emit(ctx, 2, 1);  /* 00000007 BLEND_EQUATION_RGB, ALPHA */
 xf_emit(ctx, 1, 1);  /* 00000001 UNK133C */
 xf_emit(ctx, 1, 2);  /* 0000001f BLEND_FUNC_SRC_RGB */
 xf_emit(ctx, 1, 1);  /* 0000001f BLEND_FUNC_DST_RGB */
 xf_emit(ctx, 1, 2);  /* 0000001f BLEND_FUNC_SRC_ALPHA */
 xf_emit(ctx, 1, 1);  /* 0000001f BLEND_FUNC_DST_ALPHA */
 xf_emit(ctx, 1, 0);  /* 00000001 */
 xf_emit(, xf_emitctx ,); ffff0ff3//
 xf_emit(ctx, 1, 0 xf_emitctx,0,0;/* ffffffff */
 (tx,1, 0x0fac6881) /* 0fffffff RT_CONTROL */
iff_emitctx x0f,)/* ffffffff */
  xf_emit(ctx, 1, 0); /* 00000001 tesla UNK12E4 */
  xf_emit(ctx, 8, xf_emit(,1,0xf); 
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */

  xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */
  xf_emit(ctx, 8 ifdevice> =0)
  xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_RGB */( ,003020100) * ffffffff */
  xf_emit(ctx, 8, 2); 
  (,8 ) /* 0000001f IBLEND_FUNC_DST_ALPHA */
  (ctx,1,0;/* 00000001 tesla UNK1140 */
   xf_emit(java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 44
  xf_emit( c ,0; /* 111/113, 7f/ff */xf_emit(,1) / 00000001 UNK133C *
 (tx ,4;/java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  ctx ,)
  (ctx , )
xf_emit(ctx, 2, 0); /* 00000001 */

  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 (ctx,1,0;/* 00000001 */
  xf_emit ctx ,0x0fac6881;/* 0fffffff RT_CONTROL */
 } else if (device->chipset >= 0xa0) {
  xf_emit(ctx,  (tx , 0); /* ffffffff tesla UNK1A30 */
 xf_emit(,1,0) /* 00000007 */

  xf_emit(ctx, 1, (ctx ,0)  /* 0000001f */
 (tx ,0) /* 00000001 */
 } else {
  xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
  xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1430 */
  xf_emit(ctx (tx 1,x80) /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
 }
 xf_emit(ctx, 4, 0);  /* ffffffff CLEAR_COLOR */
 (ctx 4 ) /* ffffffff BLEND_COLOR A R G B */
 xf_emit(ctx, 1, 0);  /* 00000fff eng2d UNK2B0 */
 if (device->chipset >= 0xa0)
  xf_emit(ctx, 2, 0)  ()
 xf_emit(ctx, 1, 0);  /* 000003ff */
xf_emit( 80;/* 00000001 BLEND_ENABLE */
 xf_emit(ctx, 1, 1);  /* 00000001 UNK133C */
 xf_emit(ctx, 1, 2);  /* 0000001f BLEND_FUNC_SRC_RGB */
xf_emit( 1 ) /* 0000001f BLEND_FUNC_DST_RGB */
 xf_emit(tx,1,1) /* 00000007 BLEND_EQUATION_RGB */
, 1, )  /* 0000001f BLEND_FUNC_SRC_ALPHA */
ST_ALPHA
 xf_emit(ctx, xf_emit xf_emit(tx,1 4) /* 000000ff GP_RESULT_MAP_SIZE */
 xf_emitctx,1,3) /
 xf_emit(ctx, 1,0)  /* 00000001 PROVOKING_VERTEX_LAST */
 ctx 1 )  
 if (device->chipset >=   xf_emit(ctx,1 0;/
  xf_emit(ctx, 1, 0); /* 00000001 UNK12E4? NVA3+ only? */(,1,(ctx1 ) *ffffffff tesla  /
 if }
  xf_emit(ctx,8,1) *00000001IBLEND_UNK00/
 xf_emit(tx,8 1) /* 00000007 IBLEND_EQUATION_RGB */
 /* 0000001f IBLEND_FUNC_SRC_RGB */
  xf_emit( xf_emit(ctx0, 0;*  (xxfffffff,  , 0    java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
  xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */
  xf_emit(ctxifdevice>hipset >=0)
  xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_ALPHA */
 xf_emit(tx,1,4;  /* 000000ff GP_RESULT_MAP_SIZE */
  xf_emit(tx 1,0;/* 00000001 */
  xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1140 */ */
 }
 xf_emitjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 xf_emit(ctx, 1, xf_emit(ctx, 1, 2); /* 000ctx ,) /* 0000001f BLEND_FUNC_SRC_ALPHA */
 xf_emit(ctx, 1, 0);  /* 00000007 PATTERN_COLOR_FORMAT */
;  /* ffffffff PATTERN_MONO_COLOR */
 xf_emit(ctx  magic1 magic2;
 xf_emit(ctx, 2, 0);  /* ffffffff PATTERN_MONO_BITMAP */
 xf_emit(ctx,1,0) /* 00000003 PATTERN_SELECT */
  magic1=0x3ff; (tx10 /
 magic2 =x00003e60java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  1, ); /* ffffffff BETA4 */
xf_emit(,1 0)  /* 00000007 OPERATION */
 xf_emit(ctx, 0x50, 0);  /* 10x ffffff, ffffff, ffffff, ffffff, 3 PATTERN */
}

static void
nv50_gr_construct_xfer_unk84xx(struct nvkm_grctx ctx)
{
 struct  magic2= 0x00087e67;
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 switch (device->chipset) {
 case 0x50:
 magic3  0x1000;
  ;
 case 0x86java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 case 0x98:
 case(,1 0)  /* 000000ff STENCIL_BACK_MASK */
 0xaa
 casexf_emitctx 4 ) /*ffffffffBLEND_COLOR
 case 0xaf:
  magic3 = 0x1e00;
  break;
 default:
 magic3 =0;
 }
 xf_emit(ctx, 1, ) /* 00000007 OPERATION */
 xf_emit(ctx,  ctx, 1,0)  /* 00000001 LOGIC_OP_ENABLE */
 (ctx,1 0) /
 xf_emit(static void
 xf_emit  nvkm_device*device =ctx- xf_emit(tx 3 ;/java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  (tx 1,0) /* 00000001 STENCIL_FRONT_ENABLE */
  xf_emit(,0fcasex50java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
 else if (device->chipset >= 0xa0)
  xf_emit(ctx, 0x0f, 0); /* ffffffff */
 else
  xf_emit(ctx, 0x10, 0); /* fffffff VP_RESULT_MAP_1 up */(ctx1 ) 00000001ZETA_ENABLE /
 xf_emit(ctx, 2, 0);  /* f/1f[NVA3], fffffff/ffffffff[NVA0+] */
 xf_emit(ctx, 1, 4);  /* 7f/ff VP_REG_ALLOC_RESULT */
java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 52
 if (device->chipset >= 0xa0)
  xf_emit(ctx, 1, 0x03020100); /* ffffffff */
 java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 2
  xf_emit(ctx, 1, 0 ctx ,0 /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 (tx 2,0) /
 xf_emit( } else if (device-chipset = 0xa0){
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
xf_emit( 1,0) /
 xf_emit(ctx   {
 / SPDX#nclude<linux/module.h>
 (tx,1 x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */ xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
 define 4
  xf_emit(tx,, ) /* 00007fff tesla UNK141C */
#MAX9485_FS_32KHZ < 0)
 xf_emit(ctx,define

xf_emit(ctxtx  ) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 xf_emit(ctx, 1, 0);  /* 0000001f */
 xf_emit(ctx, 1, 0);  /* ffffffff */
 xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
 (tx,1,4)  /* 000000ff GP_REG_ALLOC_RESULT */
_OUTPUT_COUNT /
 (,4) /* 000000ff GP_RESULT_MAP_SIZE */
 java.lang.StringIndexOutOfBoundsException: Range [54, 8) out of bounds for length 60
 xf_emit( 16934400,MAX9485_FS_44_1KHZ|MAX9485_SCALE_384,
 if(magic3   8, )
(,1 magic3;  7 (,, ;
 xf_emit(ctx, 1,  struct(8,;*0000001 IBLEND_DST_RGB/
xf_emit(,1,0) /java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 xf_emit(ctx, 1, 0);  /* 111/113 */
 xf_emit(ctx 1, }
 xf_emit xf_emit(ctx, 1, 0);  /* ffffffff */
  xf_emit 
 xf_emit(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 (,,) *  UNK13A0 *
 (,1 )
 xf_emit(ctx, 1, 0  drvdata> ,4; /* 000000ff GP_RESULT_MAP_SIZE */
 xf_emit( xf_emit(ctx 1,0) /* ff/3ff */
 xf_emit(ctx,1 )  /* 111/113 */
 xf_emit(ctx ,0; /* 00000003 UNK0F90 */    clk_hw-enable_bit,
  xf_emit(ctx, 0x1020, 0); /* 4 x (0x400 x 0xffffffff, ff, 0, 0, 0, 4 x ffffffff) */
 else if (device
  xf_emit
 else if (!IS_NVA3F(device->chipset))
  xf_emit(ctx, 0x210, 0); /* ffffffff */

  for (entry = max9485_rates; entry->out != 0; entry++)
 xf_emitctx 1 0;reg_value;
GP_RESULT_MAP_SIZE
 (x  3;/* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */
 xf_emit returnentry>;
  xf_emit,,)/ 0000001  UNK169C /
}

static void
 *If thefirstentry,clamp thevalueto
{
 struct nvkm_device(,1,1) /* 00000007 BLEND_EQUATION_ALPHA */
 int magic1,magic2;
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  magic1 = 0x3ff;
  magic2 = 0MAX9485_MCLKOUT={
} (IS_NVA3Fdevice-chipset) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
   ]= java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
  magic2 = 0x001ffe67;
 java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 9
  magic1 = 0x7ff;
  magic2  0java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10
 }
 xf_emit(ctx, 1,   intidx  tx
 struct max9485_driver_data *drvdata;
  ,) 
 xf_emit(ctx ,0; *00000001 DEPTH_BOUNDS_EN *
x 1,1) /* 0000000f UNK16A0 */
 xf_emit(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
xf_emit
 xf_emit(ctxreturn
 xf_emitifdrvdata>)
 xf_emit(ctx ,0; /* ffffffff BLEND_COLOR */
 xf_emit(ctx, 1 (devifdjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
(ctx ,0)  /* 00000001 UNK0FDC */
 xf_emit ifjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
ctx ;/
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */

,,0; /* 00000001 DEPTH_WRITE_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 LOGIC_OP_ENABLE */
 xf_emit(ctx, 1, 0);  /* ff[NV50]/3ff[NV84+] */
 xf_emit(ctx, 1, 4);  /* 00000007 FP_CONTROL */
 xf_emit(ctx, 4, ctx ,) /java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 (,1,0)  /* 000000ff STENCIL_FRONT_MASK */hwi].;
xf_emit(tx,1,); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
  -h[]. tx10) *00000001teslajava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 44
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_BACK_ENABLE */
xf_emit(, 2, 0; /* 00007fff WINDOW_OFFSET_XY */
 xf_emit(ctx, 1, 1);  /* 00000001 tesla UNK19CC */
 xf_emit(ctx
xf_emit(ctx, 1,0) /java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
 xf_emit(1,0; /* 0000000f ZETA_FORMAT */
  ctx ,;3/ teslaUNK0D68*
 (,1{name="
 xf_emit(, =
 xf_emit(ctx, 1, 0);  /* 00000007 COLOR_KEY_FORMAT */
 20 
 xf_emit(txc,1" v2
 if (S_NVA3F(->))
 xf_emit(tx,1 ) /* 00000001 ALPHA_TEST_ENABLE */
if (IS_NVA3Ftx  ) /* 0000ffff DMA_COLOR */
  xf_emit(tx,1,3) /* 00000003 tesla UNK16B4 */
  xf_emitctx , 0)  /* 0000ffff DMA_LOCAL */
 xf_emit(tx,1,0) /* 00000003 tesla UNK1298 */
 } else if (device->chipset >= 0 xf_emit(,1,0; * ff/3ff */
  xf_emit(ctx, 1, 1); /* 00000001 tesla UNK16B4 */
  xf_emit(ctx, 1, 0); /* 00000003 */
 } xf_emi(ctx  ctx  )/* 00000003 tesla UNK16B4 */
  xf_emitctx,1 ) /java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
 }
 (ctx, ,0); /* 00000001 tesla UNK1534 */
 xf_emit(ctx, 8, 0);  /* 00000001 BLEND_ENABLE */
 xf_emit(ctx (ctx,xf_emittx80;/* ffffffff RT_ADDRESS_LOW */
 xf_emit(ctx, 1, 1);  /* 00000007 BLEND_EQUATION_ALPHA */
 xf_emit(ctx, 1, 2) (tx,7,0) /* 3f/7f RT_FORMAT */
 xf_emit((tx , 0x0fac6881)/*
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 55
xf_emit(tx,1,2; /* 0000001f BLEND_FUNC_SRC_RGB */
 ifc,1 ) /
  xf_emitxf_emit(ctx ,0f);  /* 0000000f COLOR_MASK */
  xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */
  xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */
  xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */
  xf_emit(ctx, 8, 2); /* 0000001f IBLEND_SRC_RGB */
 (ctx ,) /* 0000001f IBLEND_DST_RGB */ 0000001fjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  xf_emit(ctx, 8, 2); /* 0000001f IBLEND_SRC_ALPHA */
  c, 8,1;/* 0000001f IBLEND_DST_ALPHA */
  xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */
 }
 xf_emit(ctx, 1, 1);  /* 00000001 UNK133C */
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 7, 0);  /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
 xf_emit(ctx, 1, 0);  /* 00000001 LOGIC_OP_ENABLE */
 xf_emit(ctx, 1, 0);  /* ff/3ff */
 xf_emit(ctx, 1, 4);  /* 00000007 FP_CONTROL */
 xf_emit(ctx, 1, 0);  /* 00000003 UNK0F90 */
 xf_emit(ctx, 1, 0);  /* 00000001 FRAMEBUFFER_SRGB */
 xf_emit(ctx, 1, 0);  /* 7 */
xf_emitc,1 ) /* 000000ff DST_ADDRESS_HIGH */
 (, 1, ) /* 00000001 DST_LINEAR */
 xf_emit(ctx, 1, 0);  /* 00000007 OPERATION */
 xf_emit(ctx, 1, 0xcf);  /* 000000ff SIFC_FORMAT */
 (tx1 xcf)  /* 000000ff DRAW_COLOR_FORMAT */
 xf_emit(ctx, 1, 0xcf);  /* 000000ff SRC_FORMAT */
 (,1 ) /
  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */c ,0; /* 0001ffff GP_BUILTIN_RESULT_EN */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */

 xf_emit(ctx, 1, 0);  /* 7/f[NVA3] MULTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 8, 0);  /* 00000001 BLEND_ENABLE */(tx,1, ) /* 0000001f tesla UNK169C */
xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */

  xf_emitctx,1 ) /
 xf_emit( (x,1,)/00000001 tesla *
 xf_emit(ctx,1 ) /* ffff0ff3 */
 xf_emit(ctxxf_emit( ctx 1 x11;/* 3f/7f DST_FORMAT */
 xf_emit(ctx, 1, 2);  /* 0000001f BLEND_FUNC_SRC_RGB */
 xf_emit(ctx, 1, 1);  /* 00000001 UNK133C */ */
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(tx,8,1; /* 00000001 UNK19E0 */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 7, 0);  /* 3f/7f RT_FORMAT */
xf_emit(tx,1,0x0fac6881;/* 0fffffff RT_CONTROL */
 xf_emit(,1,1)  /* 00000001 tesla UNK15B4 */
 xf_emit( xf_emit(ctx1,0)  
xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */

 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_BOUNDS_EN */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */(,1,0)  /* 000000ff ZETA_ADDRESS_HIGH */
 xf_emit(,1,0x11) /* 3f/7f DST_FORMAT */
 xf_emit(ctx, 1, 1);  /* 00000001 DST_LINEAR */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 if (device->chipset == 0x50)
  xf_emit(ctx,xf_emitctx,8  1x) /* 0000ffff ZETA_VERT */
 else
  xf_emit(ctx, 3, 0); /* 1, 7, 3ff */
 xf_emit(ctx xf_emit(tx ,) /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 1, 0);  /* 00000003 UNK0F90 */
  if (S_NVA3F(evice-chipset)
xf_emit(tx,1,0; * 00000007 */
 xf_emit(ctx, 1, 0);  /* 00000001 SAMPLECNT_ENABLE */
 xf_emit(ctx, 1, 0 (tx 1,0) /
 xf_emitctx 7 ) /
 xf_emit(ctx, 1, 0 ctx 1 x0fac6881;/* 0fffffff RT_CONTROL */
 ctx,1,0; /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f RT_FORMAT */
 xf_emit(ctx, 7, 0);   xf_emit(ctx, 1, 0); /* 00000001 FRAMEBUFFER_SRGB *//
 xf_emit(tx,1,x0fac6881; /* 0fffffff RT_CONTROL */
 xf_emit(,1 0)  /* 00000001 DEPTH_BOUNDS_EN */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
ctx1 )/* 00000007 */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f DST_FORMAT */
 1)  /* 00000001 DST_LINEAR */
}
 xf_emit(ctx, 1, 1);  /* 0001ffff BLIT_DU_DX_INT */
xf_emit(tx,1,0)  /* 000fffff BLIT_DV_DY_FRACT */
 xf_emit(ctx, 1, 1);  /* 0001ffff BLIT_DV_DY_INT */
 xf_emit(ctx, 1, 0);  /* ff/3ff */
 xf_emit(ctx, 1, magic1); /* 3ff/7ff tesla UNK0D68 */
 xf_emit(ctx, 1, 0);  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(ctx, 1, 1);  /* 00000001 tesla UNK15B4 */
xf_emit(tx (,1 ;/* 0fffffff RT_CONTROL */
 xf_emit(ctx, 1, 1);  /* 00000001 ZETA_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000007 */
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A3C */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 xf_emit(ctx, 8, 0);  /* 0000ffff DMA_COLOR */
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_GLOBAL */
 xf_emit(ctx, 1, 0);  /* 0000ffff DMA_LOCAL */
  xf_emitctx,1,0)  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit(tx, ,1) /* 00000001 tesla UNK15B4 */
 xf_emit(tx,1 ) /
 xf_emit(ctx, 1 ) /
xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */

 xf_emit(ctx,, )  /* ffff0ff3 */
 xf_emitctx 8 0)  /* 000000ff RT_ADDRESS_HIGH */
 (ctx8,) java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
 xf_emit(ctx, 8, 0);  /* ffffffff RT_ADDRESS_LOW */
 xf_emit(ctx, 8 xf_emitctx,1 ) /* 0000000f tesla UNK15C8 */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f RT_FORMAT */
  (tx ,0;/java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
 xf_emit(ctx, 8, 0x400);  /* 0fffffff RT_HORIZ */
 xf_emit(ctx, 8, 0x300);  /* 0000ffff RT_VERT */
 xf_emit(ctx, 1, 1);  /* 00001fff RT_ARRAY_MODE */
 xf_emit(ctx, 1, 0xf);  /* 0000000f COLOR_MASK */
 xf_emit(ctx, 7, 0);  /* 0000000f COLOR_MASK */
 xf_emit(ctx, 1, 0x20);  /* 00000fff DST_TILE_MODE */
 xf_emit(ctx, 1, 0x11);  /* 3f/7f DST_FORMAT */
 xf_emit(ctx, 1, 0x100);  /* 0001ffff DST_HEIGHT */
 xf_emit(ctx, 1, 0);  /* 000007ff DST_LAYER */
 xf_emit(ctx, 1, 1);  /* 00000001 DST_LINEAR */
 xf_emit(ctx, 1, 0);  /* ffffffff DST_ADDRESS_LOW */
xf_emitctx,1 )  /* 000000ff DST_ADDRESS_HIGH */
 xf_emit(ctx, 1, 0x40);  /* 0007ffff DST_PITCH */
 1,0x100; * 0001ffff DST_WIDTH */
 xf_emit xf_emit(,8 8)  /* 0000007f RT_TILE_MODE */
 xf_emit(ctx, 1, 3);  /* 00000003 tesla UNK15AC */
 xf_emit(ctx, 1, 0);  /* ff/3ff */
 xf_emit(ctx, 1, 0);  /* 0001ffff GP_BUILTIN_RESULT_EN */
 (tx,1,0; /* 00000003 UNK0F90 */
 xf_emit(ctx, 1, 0);  /* 00000007 */
 if (IS_NVA3F(device-> xf_emit(ctx, 1, 1); /**
   xf_emit(, 5, 0) /* 1, 7, 3ff, 3, 7 */
  if (- xf_emit(ctx, 1, 0xf); /fjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
 xf_emit(ctx, 1, 0);  /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1534 */
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(ctx, 1, 2);  /* 00000003 tesla UNK143C */
 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
 xf_emit(ctx, 1,  c, ;/
 xf_emit(ctx, 1 *device -d;
 xf_emit(tx,1,0; /* 00000001 DEPTH_TEST_ENABLE */
 (tx,1,0; /* 00000001 DEPTH_WRITE_ENABLE */
xf_emit(ctx, 2, 0); /* ffff, ff/3ff */

 xf_emit(ctx, 1, 0);  /* 0001ffff GP_BUILTIN_RESULT_EN */
 (ctx,1,0)  /* 00000001 STENCIL_FRONT_ENABLE */
 xf_emit (ctx,1,0) /  BLIT_DU_DX_FRACT
xf_emit(tx,1,1)  /* 00000001 tesla UNK15B4 */
 xf_emitxf_emit(, 1,0)  *fffff */
xf_emit, 1, 0); /* ffffffff ZETA_LAYER_STRIDE */
 xf_emit(ctx, 1, 0);  /* 000000ff ZETA_ADDRESS_HIGH */
xf_emit(tx, 1,0) /
 xf_emit(ctx, 1, 4);  /* 00000007 ZETA_TILE_MODE */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(tx,1 1) /* 00000001 ZETA_ENABLE */
 (,1 x400)  /* 0fffffff ZETA_HORIZ */
 xf_emit(ctx, 1, 0x300);  /* 0000ffff ZETA_VERT */
 xf_emit(ctx, 1, 0x1001); /* 00001fff ZETA_ARRAY_MODE */
 xf_emit(, ,0;/00000001DEPTH_TEST_ENABLE/
 ctx,1 x10100)/* */
if(-chipset)
 xf_emit(tx,1,0) /* ffffffff SRC_TIC_7 */
 xf_emit(tx,1,); *ffff0ff3
11) /java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
 xf_emit(ctx, 7, 0);  /* 3f/7f RT_FORMAT */
 xf_emit(tx 1,0x0fac6881) /* 0fffffff RT_CONTROL */
 xf_emitctx,1,0) /* 00000001 turing UNK32C tesla UNK0F94 */
 xf_emit(ctx, 7,   if (IS_NVAAF(evice-) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 xf_emit ctx, 1,) /* 00000003 */
 ,,) /* 00000001 BLEND_ENABLE */
 xf_emit(tx 1, 0)  /* 00000003 UNK0F90 */
 xf_emit(ctx, 1, 0);  /* 00000001 FRAMEBUFFER_SRGB */
 xf_emit(ctx, 1, 0);  /* 7 */
 xf_emit(ctx, 1, 0);  /* 00000001 LOGIC_OP_ENABLE */
 if (IS_NVA3F(device->chipset)) {
  xf_emit(ctx, 1, 0) ( xf_emit(tx,,0) /*f/ff /
  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 }
 xf_emit( xf_emit(ctx 1,0; /* 00000003 UNK0F90 */
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 44
 xf_emitctx ,0) /
 if (device->chipset >= 0xa0)
xf_emit(ctx, 1, 0x0fac6881); /* fffffff */

 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_BOUNDS_EN */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
 xf_emit(ctx,1,0); /* 00000001 DEPTH_WRITE_ENABLE */
 xf_emit(ctx,  (tx,1 ) /java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK0FB0 */
 xf_emit(ctx, 1, 0);  /* ff/3ff */
 xf_emit(ctx, 1, 4);  /* 00000007 FP_CONTROL */
 xf_emitc,1,0) /* ffffffff UNK0D64 */
(ctx 1,1); /java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 50
 xf_emit(ctx, 1, 0);  /* 00000007 */
 ctx,1,0) /* 00000001 SAMPLECNT_ENABLE */
 xf_emit(ctx, 1, 0);  /* 0000000f ZETA_FORMAT */
 xf_emit(ctx, 1, 1);  /* 00000001 ZETA_ENABLE */
 xf_emitc,1 ) /* 00000003 tesla UNK1668 */
   xf_emit(ctx,1,0;  
  xf_emit(ctx, 1, 0); /* 0000000f tesla UNK15C8 */
 }
 xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A3C */
-c=0 (ctx,1 )/* 7/f MULTISAMPLE_SAMPLES_LOG2 */
 (tx,3 )  /* 7/f, 1, ffff0ff3 */
  xf_emit(ctxc,1,0)  /* 00000001 LINE_SMOOTH_ENABLE */
  xf_emit(ctx, 4, 0);  /* 1, 1, 1, 3ff */
  xf_emit(ctx, 1, 4);  /* 7 */
  xf_emit(ctx, 1, 0);  /* 1 */
  xf_emit(ctx, 2, 1);  /* 1 */
  xf_emit(ctx, 2, 0);  /* 7, f */
  (tx,1 1) /*
xf_emit(ctx, 1, 0); /* 7/f */

  ifxf_emit(tx,1,0x70605040) /* ffffffff tesla UNK1670 */
   xf_emit,1 xb8a89888;/* ffffffff tesla UNK1670 */
  else
   xf_emit(ctx, 0x8, 0); /* 1 */
  xf_emit(ctx, 1, 0);  /* ffff0ff3 */
  xf_emit(ctx, 8, 1);  /* 1 */
  xf_emit(ctx, 1, 0x11);  /* 7f */
  xf_emit(ctx, 7, 0);  /* 7f */
  xf_emit(ctx, 1, 0xfac6881); /* fffffff */
  xf_emit(ctx, 1, 0xf);  /* f */
  xf_emit(ctx, 7, 0);nv50_gr_construct_xfer_unk8cxxctx);
  xf_emit(ctx, 1, 0x11);  /* 7f */
  xf_emit(()
   nv50_gr_construct_xfer_tprop(tx)
  if (IS_NVA3F(device->chipset)) {
   xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */
   xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 }
 }
}

static nv50_gr_construct_xfer_mpc(structnvkm_grctx *)
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 1
{
 struct nvkm_device *device = ctx->device;
xf_emit /
 if (device->chipset != 0x50)
  xf_emit(ctx, 1, 0); /* 3 */
 xf_emit(ctx, 1, 1 xf_emit(tx1 ); ;
xf_emit(tx,1 )  /* fffff BLIT_DU_DX_FRACT */
 xf_emit(ctx, 1, 1);  /* 1ffff BLIT_DV_DY_INT */
 xf_emit(ctx, 1, 0);  /* fffff BLIT_DV_DY_FRACT */
 java.lang.StringIndexOutOfBoundsException: Range [11, 3) out of bounds for length 29
  xf_emit(ctx, 1, 0); /* 3 BLIT_CONTROL */
 else
  xf_emit(ctx, 2   casexac
 ctx,1,0 * ffffffff SRC_TIC_0 */
 xf_emit(ctx, 1, 0);  /* ffffffff SRC_TIC_1 */
 xf_emit(ctx case:
 xf_emit(ctx, 1, 0x40);  /* ffffffff SRC_TIC_3 */
 xf_emit(ctx, 1, 0x100);  /* ffffffff SRC_TIC_4 */
 xf_emit(ctx, 1, 0x10100  case0a5java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 xf_emit(ctx, 1, 0x02800000); /* ffffffff SRC_TIC_6 */
 (ctx1 0}
 if (device->chipset == 0x50) {
  xf_emit(ctx, 1, 0); /* 00000001 turing UNK358 */
  xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34? */
  xf_emit(ctx, 1, 0); /* 00000003 turing UNK37C tesla UNK1690 */
  xf_emit(ctx, 1, 0); /* 00000003 BLIT_CONTROL */
 xf_emit(,1 ) /* 00000001 turing UNK32C tesla UNK0F94 */
 } else if 
  xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34? */
  xf_emit(ctx, 1, 0);  xf_emit(ctx, 1, 0xc0); /* 00007fff tesla UNK152C */ UNK152C/
  xf_emit(ctx, 1, 0); /* 000003ff */
  xf_emit(ctx, 1, 0); /* 00000003 */
  xf_emit(ctx, 1, 0); /* 000003ff */
 java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 1
  xf_emit(ctx, 1, 0); /* 00000003 */
  xf_emit(ctx, 1, 0); /* 000003ff */
 } else {
  xf_emit(ctx, 0x6, 0);
 }
xf_emitctx,1, (,,) /* 00000001 LINKED_TSC */
 (  ) * P_ENABLE/
 (, 1,0)  /* 0000ffff DMA_SRC */
}

static void
nv50_gr_construct_xfer_unk8cxx(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx if (IS_NVAAF(evice-chipset)
 xf_emit(ctx, 1, 0);  /* 00000001 UNK1534 */
 xf_emit(ctx, 1, 0);  /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(,,0; /* 7, ffff0ff3 */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE */
ctx ,x04e3bfdf;/* ffffffff UNK0D64 */
 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0DF4 */
 xf_emit(ctx, 1, 1);  /* 00000001 UNK15B4 */
 (,1 ); 
xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */

 xf_emit(ctx, 1, 1);  /* 00000001 tesla UNK0F98 */
 if (IS_NVA3F(device->chipset))
  xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
 xf_emit(ctx, 1 xf_emit(tx,1 x1fe21;/
 xf_emit}
 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */
 xf_emit(ctx, 1, 0);  /* 00000001 POLYGON_SMOOTH_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 UNK1534 */
 xf_emit(ctx, 1, 0);  /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
 xf_emit(ctx, 1, 0);  /* 00000001 tesla UNK1658 */
 xf_emit(ctx, 1,  xf_emit(ctx 1,01a;  *0000001fPOLYGON_MODE*/
 xf_emit(ctx, 1, 0);  /* ffff0ff3 */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_TEST_ENABLE */
 xf_emit(ctx, 1, 0);  /* 00000001 DEPTH_WRITE */
 xf_emit(ctx, 1, 1);  /* 00000001 UNK15B4 */
 xf_emit(,1 0; /
 xf_emit(ctx, 1, 1);  /* 00000001 tesla UNK165C */
 xf_emit(ctx, 1, 0x30201000); /* ffffffff tesla UNK1670 */
 xf_emit(ctx, 1, 0x70605040); /* ffffffff tesla UNK1670 */
 xf_emit(ctx, 1, 0xb8a89888); /* ffffffff tesla UNK1670 */
e8d8c8) /* ffffffff tesla UNK1670 */
 xf_emit(ctx
xf_emit(tx 1,01); /* 0000001f POLYGON_MODE */
}

static void
xf_emit,1 4); /
{
 struct nvkm_device *device = ctx->device;
 if  xf_emit(tx,1,0x11)  * 0000007f RT_FORMAT */
  (ctx)
  xf_emit(ctx 1,0); /* 00000007 */
  ()
  xf_emit,1, 0)   /* 00000003 MULTISAMPLE_CTRL */
 }else {
  nv50_gr_construct_xfer_tex(xf_emit(tx 1 )  /* 00000003 tesla UNK16B4 */
  nv50_gr_construct_xfer_tprop(ctx);
  nv50_gr_construct_xfer_unk8cxx(ctx);
  nv50_gr_construct_xfer_unk84xx(ctx);
 }
}

static void
nv50_gr_construct_xfer_mpc(struct nvkm_grctx *ctx)
{
  x84java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 int i, mpcnt = 2;
 switch (xf_emitctx,1,2)   /* 0000001f BLEND_FUNC_SRC_ALPHA */
   (, 1,1; /
  case 0xaa:
   mpcnt = 1;
   break;
 case0x50:
  case 0x84:
  case 0x86:
  case 0x92:
  xf_emit,,)/
  case 0x96:
  case 0xa8:
 ctx , )  /* 00000001 UNK1140 */
   mpcnt = 2;
 (tx,1 0)or (i  0     +)
  case 0xa0:
 case xa3:
  case 0xa5:
  case 0xaf:
   mpcnt = 3;
   break;

  0  <pcnt;+{
xf_emit(ctx, 1, 0); /* ff */

  xf_emit(ctx, 1, 0x80);  /* ffffffff tesla UNK1404 */
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 59
  xf_emit(ctx, 1, 0x04000400); /* ffffffff */
  if (device->chipset >= 0 xf_emit(ctx, 1, 1); /* 1 DS*
   xf_emit(ctx, 1, 0xc0); /* 00007fff tesla UNK152C */
  xf_emit(ctx, 1, 0x1000); /* 0000ffff tesla UNK0D60 */
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
  xf_emit(ctx, 1, 0);  /* ffffffff tesla UNK1A30 */
 if(evice-chipset = 0x86 ||device-chipset == 0x98 | device>=  (c xjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
   xf_emit(ctx, 1, 0xe00);  /* 7fff */
   xf_emit(ctx, 1, 0x1e00); /* 7fff */
  }
  xf_emit(ctx, 1, 1);  /* 000000ff VP_REG_ALLOC_TEMP */
  xf_emit(ctx, 1, 0);  /* 00000001 LINKED_TSC */
  xf_emit( int size =0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
   else (>chipset > 0xa0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
   xf_emit(ctx, 2, 0x1000); /* 7fff tesla UNK141C */
  xf_emit(ctx, 1, 1)  device><0xa0 {
  xf_emit(ctx, 1, 0);  /* 00000001 GP_ENABLE */
  xf_emit(ctx, 1, 4);  /* 000000ff FP_REG_ALLOC_TEMP */
  xf_emit(ctx, 1, 2);  /* 00000003 REG_MODE */
  if (IS_NVAAF(device->chipset))
   xf_emit(    * what 
  else if (device->chipset >= 0xa0)
   xf_emit(ctx, 0xc  xf_emit(,1,x08100c12) /* FP_INTERPOLANT_CTRL */
  ifunits  ( ,0  *fff 0,0*
  xf_emit(tx,0xa,0; /* RO */
 }
 xf_emit(ctx, 1, 0x08100c12);  /* 1fffffff FP_INTERPOLANT_CTRL */
 xf_emit(ctx, 1, 0);   /* ff/3ff */
 if (device->chipset } lse
  xf_emit(ctx, 1, 0x1fe21); /* 0003ffff tesla UNK0FAC */
 }
 xf_emit(ctx, 3, 0);   /* 7fff, 0, 0 */
, ,0; /
  xf_emitctx,,0; /* 1ffff/3ffff[NVA0+] tesla UNk0FAC */
 ctx ,if units ( < 0)
 xf_emit(ctx, 1, 1);   /* 00000001 LANES32 */
xf_emit(tx 1,0x10001) /* 00ffffff BLOCK_ALLOC */
 (tx,1,0x10001)  /* ffffffff BLOCKDIM_XY */
 xf_emit(ctx, 1, 1);   /* 0000ffff BLOCKDIM_Z */
 xf_emit(ctx, 1, 0);   /* ffffffff SHARED_SIZE */
 xf_emit(ctx, 1, 0x1fe21);  /* 1ffff/3ffff[NVA0+] tesla UNk0FAC */
(ctx,1,0;  /* ffffffff tesla UNK1A34 */
 if (IS_NVA3F(device->chipset))
ctx,, ) /
 xf_emit(ctx, 1, 0);   /* ff/3ff */
 xf_emit  (ctx>-offset/ >size
 (ctx 1,0)  /* ff FP_ADDRESS_HIGH */
 
  /* Strand:TPs ,5 6 *
 xf_emit(ctx, 1, 4); ctx-ctxvals_pos =offset+2;
,1,0;  /* 000000ff FRAG_COLOR_CLAMP_EN */
 (, 1 2)   * 00000003 REG_MODE */
)  /* 0000007f RT_FORMAT */
 xf_emit(ctx, 7, 0);   /* 0000007f RT_FORMAT */
 xf_emit if(nits&( < 6)
 ctx 1 xfac6881)  /* 0fffffff RT_CONTROL */
  if(ctx-ctxvals_pos-ffset8  size)
 if (IS_NVA3F(device->chipset))
  xf_emit, ) java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
  nv50_nv50_gr_construct_xfer_mpcctx;
 xf_emit(ctx, 1, 0);   /* 00000007 ALPHA_TEST_FUNC */
 xf_emit(ctx, 1, 0);   /* 00000001 FRAMEBUFFER_SRGB */
 xf_emit(ctx, 1, 4);   /* ffffffff tesla UNK1400 */
 xf_emit(ctx, 8, 0);   /* 00000001 BLEND_ENABLE */
 xf_emit(ctx, 1, 0 nv50_gr_construct_xfer_mpcc;
  2; /
  sizec ,1;/ 0000001f java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
 xf_emit(tx,1,1)   /* 00000007 BLEND_EQUATION_RGB */
 xf_emit(ctx, 1, 2);   /* 0000001f BLEND_FUNC_SRC_ALPHA */
 xf_emit(ctx, 1, 1);   /* 0000001f BLEND_FUNC_DST_ALPHA */
 xf_emit(ctx, 1, 1);   /* 00000007 BLEND_EQUATION_ALPHA */
 xf_emit(ctx, 1, 1);   /* 00000001 UNK133C */
cp_outctx,CP_SEEK_2)
  xf_emit(tx,1,0)  *  xf_emit(x  ) 
  xf_emit(ctx (tx,XFER,BUSY)
}
  xf_emit(ctx, 8, 1);  /* 00000007 IBLEND_EQUATION_RGB */
  xf_emit(ctx, 8, 2);  /* 0000001f IBLEND_FUNC_SRC_ALPHA */
  xf_emit(ctx, 8, 1);  /* 0000001f IBLEND_FUNC_DST_ALPHA */
  xf_emit(ctx, 8, 1);  /* 00000007 IBLEND_EQUATION_ALPHA */
  xf_emit(ctx, 8, 1);  /* 00000001 IBLEND_UNK00 */
  xf_emit(ctx, 1, 0);  /* 00000003 tesla UNK1928 */
  xf_emit(ctx, 1, 0);  /* 00000001 UNK1140 */
 }
 xf_emit(ctx, 1, 0);   /* 00000003 tesla UNK0F90 */
 xf_emit(,1,4)  /* 000000ff FP_RESULT_COUNT */
 /* XXX: demagic this part some day */
 if (device->chipset == 0x50)
  xf_emit(ctx, 0x3a0, 0);
 else if (  xf_emit(ctx,0x39f, 0;
  xf_emit(ctx, 0x3a2, 0);
 else if (device->chipset == 0x98 || device->chipset == 0xaa)
  xf_emit(ctx, 0x39f, 0);
 else
  xf_emit(ctx, 0x3a3, 0);
 /
 xf_emit(ctx, 1, 0);   /* 7 OPERATION */
 xf_emit(ctx, 1, 1);   /* 1 DST_LINEAR */
 xf_emit(ctx, 0x2d, 0);
}

static
nv50_gr_construct_xfer2(struct nvkm_grctx *ctx)
{
 struct nvkm_device *device = ctx->device;
 int i;
 u32 offset;
 offset  >0)~
 int java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    *

 if (device->chipset < 0xa0) {
  for (i = 0; i < 8; i++) {
   >txvals_pos= offset+i
   /* that little bugger belongs to csched. No idea(-ctxvals_pos-offset)8)
 * what it's doing here. */

   if (i == 0)}
    xf_emit(ctx, 1, 0x08100c12); /* FP_INTERPOLANT_CTRL */
   if (units & (1 << i))
    nv50_gr_construct_xfer_mpc(ctx);
  if ((txctxvals_pos-ffset8>size
    size = (ctx-> ctx->ctxvals_pos = offset
  }
 } else {
  /* Strand 0: TPs 0, 1 */
  ctx->ctxvals_pos = offset;
  /* that little bugger belongs to csched. No idea
 * what it's doing here. */

xf_emitctx 1 0x08100c12)/* FP_INTERPOLANT_CTRL */
  if ( nv50_gr_(ctx;
   nv50_gr_construct_xfer_mpc(ctx);
  if (units & (1 << 1))
   nv50_gr_construct_xfer_mpc(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-offset)/8;

  /* Strand 1: TPs 2, 3 */
  ctx->ctxvals_pos = offset + 1;
  if (units & (1 << 2))
   nv50_gr_construct_xfer_mpc(ctx);
  if (units & (1 << 3))
   nv50_gr_construct_xfer_mpc(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-offset)/8;

    ctx
  ctx->ctxvals_pos = offset + 2;
  if (units & (1 << 4))
   nv50_gr_construct_xfer_mpc(ctx);

   nv50_gr_construct_xfer_mpc(ctx);
  if (units & (1 << 6))
   nv50_gr_construct_xfer_mpc(ctx);
  if ((ctx->ctxvals_pos-offset)/8 > size)
   size = (ctx->ctxvals_pos-offset)/8;

  /* Strand 3: TPs 7, 8, 9 */
 -ctxvals_pos =   3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  &( < 7)
   nv50_gr_construct_xfer_mpc(ctx }
  if (->txvals_pos =offset   * 8;
   ctx->ctxvals_pos (-ctxvals_pos+x3f&0;
  if(nits  ( < 9)
  nv50_gr_construct_xfer_mpcctx)
  ifcp_lsr ( size;
   size =cp_out(tx CP_SEEK_2)
 }
 ctx->ctxvals_pos =  cp_wait(tx,XFER );
 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f;
 cp_lsr (ctx, offset);
 cp_out}
 cp_lsr (ctx, size);
 cp_out (ctx, CP_SEEK_2);
 cp_out (ctx, CP_XFER_2);
 cp_wait(ctx, XFER, BUSY);
}

Messung V0.5 in Prozent
C=93 H=94 G=93

¤ Dauer der Verarbeitung: 0.220 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

letze Version des Elbe Quellennavigators


Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1127926
#Domains=2039723