Quellcode-Bibliothek ctxnv50.c
Sprache: C
|
|
/*
* Copyright 2009 Marcin Kościelnicki
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 77
* Permission is hereby granted, free of charge, to any * to deal in the Software without restriction, including
* copy of this software and associated documentation files (the "Software"),*and/ sell copies of the Software andpermit persons towhomthe
* to deal in the Software without restriction, including without java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 75
* and/or sell copies of the Software, and to permit persons to whom the
* Software is allcopies java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54
*
LIABILITY,WHETHER ANACTIONOF CONTRACT, OTHERWISE,
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED,djava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
# java.lang.StringIndexOutOfBoundsException: Range [39, 25) out of bounds for length 39
* THE CP_FLAG_UNK03_CLEAR
OTHER LIABILITY, WHETHER AN ACTION OF , TORT OTHERWISE,
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 39
IN
*/
#define CP_FLAG_CLEAR 0
#define CP_FLAG_SET 1
*32) )
#define * ARISING FROM java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 72
#define java.lang.StringIndexOutOfBoundsException: Range [38, 34) out of bounds for length 39
( )+1)
#define CP_FLAG_UNK01_CLEAR 0
#define CP_FLAG_UNK01_SET 1
#define CP_FLAG_UNK03 ((0 * 32) + 3)
#define CP_FLAG_UNK03_CLEAR 0
#java.lang.StringIndexOutOfBoundsException: Range [39, 25) out of bounds for length 39
#define
djava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
#define CP_FLAG_USER_SAVE_PENDING1
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 39
#define CP_FLAG_USER_LOAD_NOT_PENDING 0
# java.lang.StringIndexOutOfBoundsException: Range [39, 35) out of bounds for length 39
#define CP_FLAG_UNK0B ( java.lang.StringIndexOutOfBoundsException: Range [38, 27) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define CP_FLAG_UNK0B_SET
#define CP_FLAG_XFER_SWITCH##define 1
#define CP_FLAG_XFER_SWITCH_DISABLE 0
#define CP_FLAG_AUTO_LOAD_NOT_PENDING
32)+0x1cjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
#define CP_FLAG_STATE_STOPPEDCP_FLAG_NEWCTX_BUSY0
#define 1
d (0* 32 x1d
#define CP_FLAG_UNK1D_CLEAR#define CP_FLAG_UNK03_CLEAR 0
#define CP_FLAG_UNK1D_SET 1
#define CP_FLAG_UNK20 ((1 * 32)define(2 32 13)
#define CP_FLAG_UNK20_CLEAR define 1
#define CP_FLAG_UNK20_SET 1
#define CP_FLAG_STATUS ((2 * 32) + 0)
# 1
# #define CP_CTX
# 0000
#define CP_FLAG_AUTO_SAVE_NOT_PENDING 0
# 1
java.lang.StringIndexOutOfBoundsException: Range [33, 7) out of bounds for length 52
#define CP_FLAG_AUTO_LOAD_NOT_PENDING 0
definedefine CP_FLAG_USER_LOAD((0* 32) ) +6)
#define CP_FLAG_NEWCTX ((2 * 32) + 10)
#efineCP_BRA
#efineCP_FLAG_NEWCTX_DONE dCP_FLAG_USER_LOAD_PENDING java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
#define CP_FLAG_XFER ((2 java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 43
defineCP_FLAG_XFER_IDLE
#define defineCP_WAIT_SET0
#define#define x0000007java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
#define CP_FLAG_ALWAYS_FALSE define CP_SET_1
#define CP_FLAG_ALWAYS_TRUE 1
define#define CP_FLAG_UNK0
# CP_FLAG_INTR_NOT_PENDING 0
#define CP_FLAG_INTR_PENDING 1
##define 0x00600006
CP_CTX_COUNT0x000f0000
#define CP_CTX_COUNT_SHIFT 16
#define CP_CTX_REG #efine CP_END0
#define # CP_DISABLE10x0090ffff
#define CP_LOAD_SR_VALUE 0x000fffff
#define CP_BRA 0x00400000
##defineCP_SEEK_1 x00c000ff
#define CP_BRA_IP_SHIFT 8
#defineCP_BRA_IF_CLEAR 0x00000080
##include "h"
0x00500000
java.lang.StringIndexOutOfBoundsException: Range [21, 7) out of bounds for length 43
#defineCP_WAIT_FLAG 0x0000007f
#define # IS_NVA3Fx (x)>xa0& x x| )=CP_FLAG_UNK1D(( *32 +xjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
define
#define java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
# 0
#efineCP_NEXT_TO_SWAP x00600005
#CP_SET_CONTEXT_POINTER x00600006
#define CP_SET_XFER_POINTER 0x00600007
#define CP_ENABLE 0x00600009
defineCP_END 0x0060000c
#define CP_NEXT_TO_CURRENT#define CP_FLAG_UNK20_SET 1
#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"
#include <subdev/fb.h>
#define IS_NVA3F(x) (((x) > 0xa0 && (x) < 0xaa) || (x) == 0xaf)
#define IS_NVAAF(x) ((x) >= 0xaa && (x) <= 0xac)
/*
* context[fer strands]isntdefine java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
* the GPU itself that does context-switching, but it needs a special
* microcode to do it. And it's the driver'define
* further known as ctxprog, as well as the initial define java.lang.StringIndexOutOfBoundsException: Range [38, 22) out of bounds for length 53
* as ctxvals.
*
* Without ctxprog, java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* # 0
* stuck with a single channel, and you also suffer all the problems resulting
* from missing ctxvals, since you cannot load them.
* Without ctxvals, you're stuck with PGRAPH's default context. It's enough#define CP_BRA 0x00400000
* run 2d operations, but trying to utilise 3java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 43
* since you don't have... some sort of needed setup.
*
* Nouveau will just disable acceleration if not given ctxprog + ctxvals, since
* it's too much hassle to handle no-ctxprog as a special case.
*/
/*
How work.
*
* The ctxprog is written in its own kind of microcode, channel,andload newcontext consistsof three
* crappy set of available commands. You upload it to a small [512 insns]
* switch channel. or when #cp_setup_save,
staticjava.lang.StringIndexOutOfBoundsException: Range [54, 52) out of bounds for length 59
* perchannelarea in [as ctxvalsor grctx,
lags registers, a scratch register, two grctx pointers, plus many
.
*
* When ctxprog cp_name(ctx,cp_check_load;
*save old requested and
new context. Context of major
* parts: cp_set(ctx,UNK1D,CLEAR);
*/
:
*- bits to
* - NVAx: make
* - use04008fc insteadof 0x1540java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
*/
java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 15
cp_check_loadtx)
java.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 26
cp_setup_load,
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
cp_swap_state,
,
)
};
static void( * run 2d operations utilise lock up
nv50_gr_construct_xfer1(nvkm_grctx ctx;
ctxSWAP_DIRECTION ) /* no idea why this is needed, but fixes at least one lockup. */
/* Main function: construct the ctxprog skeleton, call the other functions. */
static int
nv50_grctx_generate( *ctx)
{
(ctx, )
ctx,,ENABLE
/ whether'loadingthe *
cp_brajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [23, 7) out of bounds for length 49
cp_name(cp_set (ctx, UNK01, CLEAR);
cp_bra (ctx, AUTO_LOAD, PENDING cp_set c java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [12, 7) out of bounds for length 49
cp_bra (ctx, ALWAYS, TRUE, cp_prepare_exitjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* setup for context load */ ctx,CP_NEXT_TO_CURRENT)
cp_name(ctx, cp_setup_auto_load);
cp_out(,CP_DISABLE1)
cp_out ctx );
cp_out (tx );
cp_set(,XFER_SWITCH,DISABLEjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
, SETjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
_);
cp_out (ctx, CP_NEWCTX);
cp_wait(ctx, NEWCTX, BUSY);
cp_set (ctx, UNK1D, CLEAR
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
cp_bra(, ,SET );
cp_bra (ctx, ALWAYS, TRUE, cp_swap_state);
/* setup for context save */
cp_setup_save)
cp_setctx,UNK1D,)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
cp_wait(ctx,
(,INTR );
cp_bra (nv50_grctx_init nvkm_device* 4 flags registers ascratchregister two grctx , many
cp_set ({
(tx , );
/* general PGRAPH state */
cp_name(ctx, cp_swap_state);
cp_set ctx,,SET;
(tx,000004/)
cp_ctx (ctx, 0x400828, 1); .txprog_max java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
cp_pos (ctx, 0x00100/4);
nv50_gr_construct_mmio(ctx);
nv50_gr_construct_xfer1(ctx);
nv50_gr_construct_xfer2(ctx);
cp_bra (ctx, ctx
(UNK20
( ,,loadnew Context consists three major
cp_lsr (ctx, ctx->ctxvals_base);
cp_out (tx CP_SET_XFER_POINTER
cp_lsr ( size=ctx.java.lang.StringIndexOutOfBoundsException: Range [29, 24) out of bounds for length 29
cp_out (ctx, CP_SEEK_1);
cp_out (ctx, java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
XFER,
/* pre-exit state updates */
cp_name(ctx, cp_prepare_exit);
cp_set (ctx, UNK01 *
cp_set (ctx, UNK03, CLEAR);
cp_set (ctx, UNK1D, CLEAR);
cp_bra (ctx, USER_SAVE, PENDING, cp_exit);
cp_out (ctx, CP_NEXT_TO_CURRENT);
cp_name(ctx, cp_exit);
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
cp_set (nv50_gr_consstructjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 53
cp_set * nv50_gr_construct_mmiostructctxjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
cp_set (, , ) *
cp_out (ctx, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
ctx>txvals_pos = 0x400; /* padding... no idea why you need it */int basejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
/* 0800: DISPATCH */
}
void
nv50_grctx_fill(struct nvkm_device *device, struct java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 9
{
nv50_grctx_generate(((struct nvkm_grctx) {
. gr_def(ctx, 0x400834, 0xff400040);
.mode =static void (ctx x,0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.data=mem
});
}
int
nv50_grctx_init(struct nvkm_device *device, u32 *size)
{
(tx,0400894 ;
struct nvkm_grctxjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
.device = device,
. =,
. if (dev (-chipset= 0x50java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
/* decide whether we're loading/unloading the context */
};
if (!ctxprog)
return -ENOMEM;
cp_ctx,x400908 xe)
nvkm_wr32(device, 0x400324, 0);
for( = cp_ctx(tx x400b00,0);
nvkm_wr32(device, 0x400328, ctxprog[i]);
*size = ctx.ctxvals_pos * 4;
kfree(ctxprog); gr_defctx,x400b10 x;
return 0;
}
/*
* Constructs
* registers to save cp_name
*/
tatic
nv50_gr_construct_mmio_ddata( cp_out*
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Range [29, 22) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
* c-;
int i, j;
int offset, base;
u32units
/
cp_ctx(ctx, 0x400808, 7);
gr_def(ctx, 0x400814, 0x00000030);
cp_ctx(ctx, cp_bra ctx java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(> = x50 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
(tx , xff400040java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
gr_def( 0,0)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
(,x40083c,0;
gr_def(ctx, 0x400840, 0xffe806a8 cp_ctx(ctx, 0x40181c, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nv50_gr_construct_mmio(tx)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
,x400894 0x00001000)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
gr_def(ctx, 0x4008e8, 0x00000003);
gr_def(ctx,04008java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 35
if (device->chipset == 0x50)
cp_ctx(ctx, 0x400908, 0;
case x:
cp_ctxc, )
else
cp_ctx(ctx, 0x400908, 0xe); ctx,, PENDING, 0xa8:
> 0)
cp_ctx(ctx, 0x400b00, 0x1);
if (if device-=)
cp_ctx *
gr_def(ctx, 0x400b10, 0 gr_def(ctx, 0x400b10, 0x0001629d
if (dev-chipset= ;
gr_def(java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
}
nv50_gr_construct_mmio_ddatactx);
/* 0C00: VFETCH */
cp_ctx((ctxjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 36
gr_def(ctx, 0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 18
/* 1000 */
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
cp_ctx(ctx, 0x401008, 0x4)if (evicejava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
} else if (! gr_defctx x403404, x00000001);
cp_ctx(ctx, 0x401008, 0x5);
gr_def(ctx, 0x401018, 0x00001000);
} else {
cp_ctx(ctx, 0x401008, 0x5);
c, x)
}
cp_ctx(ctx, 0x401400;
cp_ctx(ctxjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if i=0 0xa3
ctx, 0x40142c 0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 11
else
gr_def(ctx, 0x40142c, 0x00000187);
cp_ctx(ctx, 0x401540
gr_defjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 35
/* 1800: STREAMOUT */*ConstructsMMIO java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
401814,0;
break
if (device->chipset == 0x50) {
cp_ctx(ctx, 0x40181c, 0xe);
gr_defjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 53
} device->cp_ctx(ctx 0)
cp_ctx(ctx, 0 cp_ctx(ctx, 0x40502c,0x1);
gr_def(ctx, 0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1
} else {
cp_ctx(ctx, 0x40181c, 0x13);
gr_def(ctx, 0x401864, 0x00000004);
int ;
/
java.lang.StringIndexOutOfBoundsException: Range [23, 8) out of bounds for length 36
switch (device->chipset) {
case 0x50:
401c00,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36
break;
case x:
case 0x86:
casex:
gr_def(ctx, 0x401c00, 0gr_def(ctx, 0x400834, 0xff400040
break;
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 11
case 0x96:
0 ,x 03;
case0xa0:
0java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
case 0xac:
gr_def(ctx, 0x401c00 ifu c,4008,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
case 0xa3:
xa5:
case 0xa8:
case:
gr_defctx ;
;
}
ctx+<) ctx0);
/* 2400 */
cp_ctx(ctx,
(d-java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 29
cp_ctx(ctx, 0x402408, 0x1);
else
x,);
gr_def(ctx, c java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 47
/* 2800: CSCHED */
cp_ctx(ctx, 0x402800, 0x1);
if (device->chipset =
gr_defc, 0402800, 0java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 36
/* 2C00: ZCULL */
cp_ctx(ctx, 0x402c08, 0x6);
(java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 48
gr_def(ctx, 0x402c14, 0x01000000);
gr_def(ctxjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ifdevice>hipset = x50)
cp_ctx(ctx, 0x402ca0, =0xa5
else
cp_ctx(ctx, 0x402ca0,
if d- 0xa0)
gr_def(,0if (device->chipsetdevice=0)
else e { gr_defc,+<),0java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 47
00800)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
gr_def
cp_ctx(ctx, 0x402cac, 0x4);
ENG2D*
0 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
ctx ,0;
/* 3400 */
if java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
tx )
gr_def(ctx, 0 gr_def(ctx, 0x4070a0)
}
(tx, 0x401814,,0x000000ff)
tch (-c {
casex50:
gr_def(ctx, 0x405000, 0 cp_ctx( 0x40181c,0e;
break;
case else
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
case 0gr_defctx 0000000022)
case 0xa5java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
case 0xa8:
casexaa gr_def(x,0401864 000000004)
case 0xac:
, 0407c2c,)
gr_def(ctx, 0 x50}
break;
case 0x86:
case 0x92:
casecase086:
case 0x96:
case 0x98:
gr_def(ctx, 0x405000, 0
x96
if- :
cp_ctx( case 0xaa:
gr_defc,0case0:
cp_ctx(ctx, 0java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 7
cp_ctx(ctx, 0x405024, 0x1);
cp_ctx(ctx, 0,0)
/* 6000? */
if ( gr_def(ctx(, x)
cp_ctx->b>->!java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
/* 6800: M2MF */
if (device->chipset (, 4024000)
cp_ctx(ctx, 0x406814, 0x2b);
gr_def cp_ctx
( xf)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
gr_def,0402408 java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
} else {
( 0 )java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
if (device- base=0+(<);
gr_def>java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 29
else
06818 0;
if (IS_NVA3F(device->chipset))
gr_def(ctx, 0x40681c, 0x00000030);
cp_ctx(ctx, 0x406830, 0x3);
}
/* 7000: per-ROP group state */
for(i=;i <;i+ java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
if (units & (1<<(i+16))) {
cp_ctx(ctx, 0 /* per-MP state
if(evice-chipset = x50)
gr_def(ctx, 0x407000 + (i<<8), 0x1b74f820)if device->chipset <0)
else if (device->chipset != 0xa5)
gr_def(ctx, 0x407000 + (i<<8), 0x3b74f821);
else
gr_def gr_def(ctx 0,0);
(ctx0x407004+(<8), 089058001;
if =+x j<7;
cp_ctx(ctx ,java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 30
} else if (device->chipset < 0xa0) {
(i<) );
gr_def(ctx, 0x407010 + (i gr_defc,0 gr_def(ctx, offsetx04 0;
gr_def(ctx, 0x407014 + (i<<8), 0x0000001f);
else{
cp_ctx(ctx, 0x407010 + (i<<8), 3);
ctx,+(<)0x00001000;
if (device->chipset != 0xa5)
gr_def(ctx
else
gr_def(switch (devicechipset){
}
cp_ctx(ctx, 0x407080 + (i<<8), 4);
if (device->chipset != 0xa5)
gr_defbreak
else
gr_def(ctx, 0x407080 + (i<<8), casex:
if (device->chipset == 0java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 11
gr_def(java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 11
else
gr_def(ctx, 0x407084 + (casex86:
gr_def(ctx, 0x407088 + (i<<8), 0xb7892080);
if (device->chipset < 0xa0)
cp_ctx }
if((-)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
cp_ctx(ctx, 0x407094 + (i<<8), 3);
else {
cp_ctx(ctx, 0x407094 + (i<<8), 4);
(,x i<8), java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
}
}
}
, c, 0java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 44
if (device->( 0java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 36
gr_def(ctx, 0x407c00 gr_def(,0 case0:
else if dcp_ctx x406814,x4;
gr_def(ctx, 0x407c00, 0x00390040java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
else
gr_def( if(java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 32
gr_def(ctx, 0(ctx, 0x406830 03 0a0java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
if (device->chipset >= 0xa0) {
cp_ctx(ctx, 0x407c10, 0java.lang.StringIndexOutOfBoundsException: Range [27, 1) out of bounds for length 28
cp_ctx(ctx, 0x407c20, 0x1);
cp_ctx(ctx, 0x407c2c,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
}
if (device->chipset < 0xa0) {
c, 0
} else {
cp_ctx( x407d00java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 14
}
if(--chipset= 98)
gr_def(ctx, 0gr_defctx x407004 +(<8) x89058001)java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
, +0,0300c0000;
if (device->chipset < java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 39
gr_def(ctx, 0x407d08, 0x00010040);
gr_def(ctx, 0x407d08, 0java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 11
else {
if(>-ramtype=)
gr_def(ctx, 0x407d08, 0x003d0040);
else
, x407 0x003c0040;
}
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
}
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
for (i = 0; i < 10; i++) {
if (java.lang.StringIndexOutOfBoundsException: Range [1, 11) out of bounds for length 7
if (device-> if (device->hipset= 0x50)
=0java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 30
else
0x408000 +(<11;
if (device->chipset < 0xa0)
offset = base + 0xc00 if (evice->hipset= 0x50)
else
offset = base + 0x80;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
gr_def(ctx, offset + 0x00, 0x0000ff0a) ( 0x407094 i< else
cp_ctx(ctx, offset + 0x08, 1);
/* per-MP state */else {
set <x : 4;j+ {
if (!(units & (1 << (j+24))g( 0 i<) ;
if (device->chipset < }
offset = base + 0x200 + java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else
offset = base + 0x100 + (j<<7);
cp_ctx(ctxjava.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 33
gr_def(ctx, offset + 0x00, 0x01800000);
gr_def(ctx, offset + 0x04, 0x00160000);
gr_def(ctx, offset + 0x08, 0x01800000);
gr_def(ctx, gr_def(ctx, 0x407c08x00000022;
switch (if (device-c > 0){
case 0x50:
gr_def(ctx, offset + 0x1c, 0x00080000);
break;
cp_c(ctx +x300, x4)
gr_def(ctx, offset + 0x1c, 0x00880000);
break;
case 0x86:
gr_def(ctx, offset + 0x1c, 0x018c0000);
break;
case 0x92:
if (device= x)
case 0x98:
gr_def(ctx, offset + 0x1c java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 42
break {
x:
gr_def(ctx, offset + 0x1c, 0x10880000);
break;
case 0xa0:
case 0xa5:
gr_def(ctx, offset + 0x1c, 0x310c0000);
break;
case 0xa3:
0a8:
case 0xaa:
case 0xac:
case 0xaf:
gr_def(ctx gr_def( 0,000000022)
break;
}
gr_def(ctx, offset + 0x40, 0x00010401); for( ;i 10 +){
if (device->chipset == 0x50)
gr_def(ctx, offset + 0x48, 0x00000040);
gr_def(ctx, offset + 0x48, 0x00000078);
gr_def(ctx, offset + 0x50, 0x000000bf) (evice>java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 30
gr_def(ctx, offset + 0x58, 0x00001210);
if (device->chipset == 0x50)
gr_def(ctx, offset+ 0x5c, 000000080;
else
gr_def gr_def( offset+000,00000f0a);
if (device->chipset >= 0xa0)
gr_def(ctx, offset + 0x68, 0x0000003e
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
if (device->chipset < 0xa0)
if ( 1< (24))continue
gr_defc 0 0)java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
else
if (evice- =x)
gr_def(ctx, base + 0x304, 0x00007070); (tx ,020)
else if (device->chipset < 0xa0)
gr_def(ctx, base + 0x304, 0x00027070);
c +0 x003ffff;
gr_def,+x,0)
else
(tx base +0x304, 0x05127070);
if (device->chipset < ;
cp_ctx(ctx, base + 0x318, 1);
else
cp_ctx(ctx, base + 0x320, 1);
d-java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31
gr_def(ctx, base + 0x318, 0x0003ffff);
else if (device->chipset < 0xa0)
gr_def(ctx, base + 0x318, 0x03ffffff);
else
gr_def(ctx, base + 0x320, 0x07ffffff);
if (device->chipset < 0xa0)
cp_ctx(ctx,base +0x324,5;
else
cp_ctx(ctx, base + 0x328, 4);
if (device gr_def(tx,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
cp_ctx(tx, base 0340 9);
offset = base + 0x340;
} else if (!IS_NVA3F(device->chipset)) {
cp_ctx(ctx, base + 0x33c, 0xb);
offset =base +0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
} else {
cp_ctx(ctx, base + 0x33c, 0xd);
offset =base+ 0x344;
}
gr_def(offset +0x0,0x00120407)
gr_def(ctx, offset + 0x4, 0x05091507);
if (device->chipset == 0x84)
gr_def0java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 32
else
gr_def(ctx, offset + 0x8, 0x05010202);
gr_def(ctx, offset + 0 gr_def(ctx, offset + 0x0x00010401);
if (-chipset= 0a3
cp_ctx(ctx, base + 0x36c, 1);
cp_ctx(ctx, base + 0x400, 2);
tx base x,0)
cp_ctx(ctx, base + gr_def(tx,offset+x,0)
gr_def(ctx, base + gr_defctx + ;
ife>=50
if (device->chipset < 0xa0)
(,+0x33c 0;
else
offset = 0x500;
cp_ctx(ctx, offset, 6);
gr_def(ctx, offset + 0x0, 0x000001f0);
gr_def(ctx, offset + 0x4, 0x00000001);
gr_def(ctx, offset + 0x8, 0x00000003);
if (device->chipset == 0x50 || IS_NVAAF(device->chipset))
gr_def(ctx, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
gr_def(ctx, offset + 0x14, cp_ctx(tx base+033c 0xd)
cp_ctx(ctx, offset + 0x1c, 2);
if (device->chipset == 0x50)
gr_def(, offset = base + 0x344
else
gr_def(ctx, offset + 0x1c, 0x00000100);
gr_def(ctx, offset + 0x20, 0x00003800);
(evice (x +x04 01127070)
cp_ctx(ctx, base + 0x54c, 2);
if (!IS_NVA3F(device->chipset))
( +054c0x003fe006)
else
gr_def(ctx (ctx+ ;
gr_def(ctx, base + 0x550, else
}
(evice-=0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
offset = base + 0xa00;
else
offset = base + 0x680;
cp_ctx(ctx, offset, 1);
gr_def(ctx, offset, 0java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 7
if (device->chipset < 0xa0)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else
offset = base + 0x700;
cp_ctx(ctx, offset, 2);
if (evice->hipset <0xa0)
gr_def(ctx, offset, 0x0077f005);
else if (device->chipset == 0xa5)
gr_def(tx, x);
else if (device->cp_ctx(ctx, base + 0x340
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 36
elseif (-chipset == 0xac)
gr_def(ctx, offset, 0x0cfff007);
else
gr_def(ctx, offset, 0x0cf7f007);
if (device->chipset == 0x50)
gr_def(ctx, offset + 0x4, 0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 11
else if (device->chipset < 0xa0)
gr_def java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
gr_def(ctx, offset + 0x4, 0x02bf7fff);
cp_ctx(ctx, offset + 0 gr_def(ctx, offset + 0x4,(, offset + 04,0x05091507);
if (device->gr_def(ctx, base + 0x4040x00000040)
cp_ctx(ctx, offset + 0x50, 9);
gr_def(ctx cp_ctx( 0x40c )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
(, offset+ 0, x05010202;
x +0java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 43
gr_def(ctx, offset + 0x60, 0x000001ff);
gr_def(ctx, offset + 0x64, 0x0000001f);
gr_def(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
gr_def(ctx, offset + 0x6c, 0x0000000f);
} else if (device->chipset < 0xa0) {
cp_ctx gr_defc if (device->chip<0xa0)
cp_ctx(tx,offset +070 )java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
} else {
cp_ctx(ctx, offset + 0x50, 1);
cp_ctx(ctx, offset + 0x60, 5);
}
}
}
c x,0)
static void
(struct num val
int;
if (val && ctx->mode == NVKM_GRCTX_VALS) {
for (i = 0; i < num; i++)
pos + i,val)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
}
(chipset=0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
static void
nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx)
{
struct nvkm_device
int base, num;
base = ctx->ctxvals_pos;
/* tesla state */if(IS_NVA3Fdevice-)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
dd_emit(ctx, 1, 0); /* 00000001 UNK0F90 */
dd_emit(ctx, 1, 0); /* 00000001 UNK135C */
/* SRC_TIC state */
, 1 }
dd_emit(ctx, 1, 2); /* 00000007 SRC_TILE_MODE_Y */
dd_emit(ctx, 1, 1); /* 00000001 SRC_LINEAR #1 */
dd_emit(ctx, 1, 0); /* 000000ff SRC_ADDRESS_HIGH */
( 1,0;/* 00000001 SRC_SRGB */
if (device->chipset >= 0java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 26
dd_emit(ctx, 1, 0); /* 00000003 eng2d UNK0258 */
dd_emit( java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 30
dd_emit(ctx, 1, 0x100); /* 0000ffff SRC_HEIGHT */
/* turing state */
); /* 0000000f TEXTURES_LOG2 */
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 */
dd_emit(,1 2) /
dd_emit(ctx, 1, 1); /* 0000ffff BLOCK_ALLOC_THREADS */
dd_emit( 1 ;/
dd_emit(ctx, 1, 0); /* 000000ff UNK370 */
dd_emit( 1,0; /
dd_emit(ctx, 1, 0); /* 000000ff USER_PARAM_COUNT */
dd_emit(ctx, 1, 1); /* 000000ff UNK384 bits 8-15 */
dd_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */
dd_emit(ctx, 1, 0x1fff
1,0; * 0000ffff CB_ADDR_INDEX */
dd_emit(ctx, 1, 1); /* 000007ff BLOCKDIM_X */
dd_emit(ctx, 1, 1); /* 000007ff BLOCKDIM_XMY */
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 */
001 BLOCKDIM_DIRTY
if (IS_NVA3F(device->chipset))
dd_emit(ctx, 1, 0); /* 00000003 UNK03E8 */gr_defctx 0 )
*
dd_emit(ctx, 1, 1); /* 00000007 LOCAL_WARPS_NO_CLAMP */
dd_emit(ctx, 1, 7); /* 00000007 LOCAL_WARPS_LOG_ALLOC */
dd_emit(ctx, 1, 1); /* 00000007 STACK_WARPS_NO_CLAMP */
dd_emit(ctx, 1, 7); /* 00000007 STACK_WARPS_LOG_ALLOC */
(,1 ) /* 00001fff BLOCK_ALLOC_REGSLOTS_PACKED */
dd_emit(ctx, 1, 1); /* 00001fff BLOCK_ALLOC_REGSLOTS_STRIDED */
000007BLOCK_ALLOC_THREADS
/* compat 2d state */
if (java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
dd_emit(ctx, 1, 1); /* ffffffff chroma COLOR_FORMAT */
pattern */
dd_emit(ctx, 1, 0); i
,1 1) /* ffffffff pattern PATTERN_SELECT */
dd_emit(ctx, 1, 0xa); /* ffffffff surf2d SRC_FORMAT */
dd_emit(ctx, 1, 0); /* ffffffff surf2d DMA_SRC */
dd_emit(ctx, >java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 25
dd_emit(ctx, 1, 0)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
dd_emit(ctx, 1, 0x40); /* 0000ffff surf2d SRC_PITCH */(struct*txjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
dd_emit(tx,1,0; /* 0000000f surf2d SRC_TILE_MODE_Z */
dd_emit(ctx, 1, 2); /* 0000000f surf2d SRC_TILE_MODE_Y */
dd_emit(ctx, 1, 0x100); /* ffffffff surf2d SRC_HEIGHT */
dd_emit,,)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
dd_emit( 1 x100;/ SRC_WIDTH*
dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_B_X */
dd_emit(ctx, 1, dd_emit( ,0) /* 00000007 SRC_TILE_MODE_Z */
dd_emit(tx 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, 1, 0); /* 0000ffff gdirect CLIP_D_Y */
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 */
(ctx1,) * 0000ffff gdirect POINT_Y */
dd_emit(ctx, 1, 0
dd_emit(ctx, 1, 0); /* ffffffff blit OPERATION */
dd_emit(ctx, 1, 0); /* ffffffff ifc OPERATION */
dd_emit( gr_def(ctx0)
ET*/
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(ctx, 1, 0); /* ffffffff m2mf LINE_LENGTH_IN */
dd_emit(ctx, 2 ctx ,0) /* 000000ff UNK370 */
dd_emit(ctx, 1, 1); /* ffffffff m2mf TILING_DEPTH_OUT */
dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_HEIGHT_OUT */
dd_emit((ctx ,0 /
dd_emit(ctx, 1, 1); /* 00000001 m2mf LINEAR_OUT */( ,1; /* 000000ff UNK384 bits 8-15 */
dd_emit(ctx, 2, 0); /* 0000ffff m2mf TILING_POSITION_OUT_X, Y */
dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_PITCH_OUT */
dd_emit(tx,1 ) /java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
dd_emit( ctx ,1; /* 000007ff BLOCKDIM_XMY */
dd_emit(ctx, 1, 0); /* ffffffff m2mf TILING_POSITION_IN_Z */
dd_emit(ctx, 1, 1); /* 00000001 m2mf LINEAR_IN */
dd_emit(
dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_PITCH_IN */
/* more compat 2d state */
->chipset =0 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 55
dd_emit(ctx, 1, 0); /* ffffffff line OPERATION */
(,1 1) /* ffffffff triangle COLOR_FORMAT */
dd_emit(ctx, 1, 0); /* ffffffff triangle OPERATION */
dd_emit(ctx, 1, 0); /* 0000000f sifm TILE_MODE_Z */
dd_emit(1,) /* 0000000f sifm TILE_MODE_Y */
x 1 ; /* 000000ff sifm FORMAT_FILTER */
tx11 /
dd_emit(ctx, 1, 0); /* 0000ffff sifm SRC_PITCH */
( , ) /*00000001sifm /
dd_emit(ctx, 1, 0); /* 000000ff sifm SRC_OFFSET_HIGH */
dd_emit(ctx, 1, 0); /* ffffffff sifm SRC_OFFSET */
dd_emit(ctx, 1, 0); /* 0000ffff sifm SRC_HEIGHT */
dd_emit(ctx, 1, 0) dd_emit(ctx1 1) /
dd_emit(ctx, 1, 3); /* ffffffff sifm COLOR_FORMAT */
dd_emit(ctx, 1, 0); /* ffffffff sifm OPERATION */
dd_emit( dd_emit( 1,1; /* ffffffff pattern PATTERN_SELECT */
}
/* tesla state */
dd_emit(ctx, dd_emit(,1,0;
dd_emit(ctx, 1, 0); /* 0000000f GP_SAMPLERS_LOG2 */
dd_emit f x 0000001f;
dd_emit(ctx, 1, 0); /* ffffffff */
dd_emit(ctx, 1, 4); /* 000000ff UNK12B0_0 */
dd_emit(ctx, 1, 0x70); /* 000000ff UNK12B0_1 */
dd_emit(ctx, 1, 0x80); /* 000000ff UNK12B0_3 */
dd_emit(ctx, 1, 0); /* 000000ff UNK12B0_2 */
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 43
dd_emit(ctx, 1, 0); /* 0000000f FP_SAMPLERS_LOG2 */
ifIS_NVA3F>)) {
dd_emit(ctx, 1 dd_emitctx ,0;
dd_emit(ctx, 1, 0); /* 0000007f MULTISAMPLE_SAMPLES_LOG2 */
} else {
dd_emit(ctx, 1, 0); /* 0000000f MULTISAMPLE_SAMPLES_LOG2 */
}
dd_emit(, 1 xc) /* 000000ff SEMANTIC_COLOR.BFC0_ID */
java.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_COLOR.CLMP_EN */
dd_emitctx ,8; /* 000000ff SEMANTIC_COLOR.COLR_NR */
dd_emit(ctx, 1, 0x14); /* 000000ff SEMANTIC_COLOR.FFC0_ID */
if (device->chipset == 0x50)
1 0;/
dd_emit(ctx, 1, 0); /* 00000001 */
} else {
dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_PTSZ.ENABLE */
dd_emit(ctx, 1, 0x29); /* 000000ff SEMANTIC_PTSZ.PTSZ_ID */
dd_emit(ctx, 1, 0x27) dd_emit(ctx,1,0) /
dd_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */
dd_emit(ctx, 1, 8); /* 0000000f SMENATIC_CLIP.CLIP_HIGH */
dd_emit(ctx, 1, 4); /* 000000ff SEMANTIC_CLIP.CLIP_LO */
dd_emit(ctx, 1, 0x27); /* 000000ff UNK0FD4 */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
}
ctx,1 ) /* ffffffff m2mf LINE_LENGTH_IN */
dd_emit(}
dd_emit(ctx, 1, 3); /* 00000007 RT_CONTROL_MAP3 */
dd_emit(ctx, 1, 4); /* 00000007 RT_CONTROL_MAP4 */
dd_emit ,0100) /* ffffffff m2mf TILING_HEIGHT_OUT */
dd_emit(tx 1,6) /
dd_emit(ctx, 1, 7); /* 00000007 RT_CONTROL_MAP7 */
dd_emit(ctx, 1, 1); /* 0000000f RT_CONTROL_COUNT */
dd_emit(ctx, 8, 0); /* 00000001 RT_HORIZ_UNK */ i
dd_emit(ctx, 8, 0) (& ctx> = ){
dd_emit(ctx, 1, 0xcf); /* 000000ff RT_FORMAT */
dd_emit(ctx, 7 <numi+
if (device->chipset != 0x50)
dd_emit(ctx, 3, 0); /* 1, 1, 1 */
else
dd_emit(ctx, 2, 0); /* 1, 1 */
dd_emit(ctx, 1, 0); /* ffffffff GP_ENABLE */
/* more compat 2d state */
dd_emitc,1,4; /* 000000ff GP_REG_ALLOC_RESULT */
dd_emit( dd_emitc,1 1) /* ffffffff line COLOR_FORMAT */
dd_emit(,1,;/
dd_emit(ctx, 1, 3); /* 00000003 */
dd_emit(ctx, 1, 0); /* 00000001 UNK1418. Alone. */
if (device->chipset != 0x50)
(txint;
dd_emit(ctx, 1, 1); /* ffffffff RASTERIZE_ENABLE */
dd_emit(ctx, 1, 0) =>;
if (device->chipset != 0x50)
(ctx ,0;/
dd_emit(ctx, 1, 0x12 dd_emit10 /
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,)
dd_emit(ctx, 1, 0); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.Y */
dd_emit(ctx, 1, 0); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.Z */
dd_emit(ctx, 1, 4); /* 000000ff FP_RESULT_COUNT */
dd_emit(ctx, 1, 2); /* ffffffff REG_MODE */
dd_emit(ctx, 1, 4); /* 000000ff FP_REG_ALLOC_TEMP */
ifdd_emit(10;/* 0000000f GP_TEXTURES_LOG2 */
c,1, 0;/*ffffffff/
dd_emit(ctx, 1, 0); /* 00000001 GP_BUILTIN_RESULT_EN.LAYER_IDX */
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 (device->chipset != 0x50)
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 */
/* 00000001 SEMANTIC_COLOR.CLMP_EN */ ); /
dd_emit(ctx, 1, 0); /* 000000ff VTX_ATTR_DEFINE.ATTR */
}
dd_emit(ctx, 1 (device>000000 *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
dd_emit,,014); * 0000001f ZETA_FORMAT */
dd_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
dd_emit(ctx, 1, 0); /* 0000000f VP_TEXTURES_LOG2 */
ctx,1,0;
if (IS_NVA3F(device->chipset))
ctx 1 ) /* 00000001 */
dd_emit(ctx, 1, 2); /* 00000003 POLYGON_MODE_BACK */
if (device->chipset >= 0xa0)
dd_emit(ctx,1,0) /* 00000003 VTX_ATTR_DEFINE.SIZE - 1 */
dd_emit(ctx 1 0) /* 0000ffff CB_ADDR_INDEX */ 0000ffff
if (device, , 0); dd_emit(ctx, 1, 1); /* 0000007f BLOCKDIM_Z */
ctx,1 0; /* 00000003 */
ctx ,2)
dd_emit (ctx 1, 3) /* 00000007 RT_CONTROL_MAP3 */
dd_emit(ctx, 1, 0); /* 00000001 FRONT_FACE */
dd_emit(ctx, 1, 2); /* 00000003 POLYGON_MODE_FRONT */
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 48
ifdd_emitctx(ctxctx ,) /* 0000000f RT_CONTROL_COUNT */
dd_emit(ctxdd_emit(ctx 8 ) tx ,1; /* 00000007 STACK_WARPS_NO_CLAMP */
dd_emit(ctx, 1, 0x1000); dd_emit(,8 0 / dd_emit(ctx, 1, 0x1000); /* 7fff */
dd_emit(ctx, 1, 0x1e00); /* 7fff */
}
dd_emit(ctx, 1, 0); /* 00000001 BEGIN_END_ACTIVE */
dd_emit(ctx, 1, 1); /* 00000001 POLYGON_MODE_??? */ dd_emit( d_emit(ctx1 ) /
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/* compat 2d state */(,, )
ctx,1 1; /* 00000001 */
dd_emit(ctx, 1, 0); /* 00000001 */
dd_emit(ctx, 1, 0); /* 00000001 VTX_ATTR_MASK_UNK0 nonempty */
dd_emit(ctx, 1, 0); /* 00000001 VTX_ATTR_MASK_UNK1 nonempty */
dd_emitctx,1,4) /* 000000ff GP_RESULT_MAP_SIZE */
if (S_NVA3F(evice->hipset) {
dd_emitctx,1,0x200)
dd_emit( dd_emit(ctx,0) * 00000001 UNK1418. Alone. */
if (device->chipset < 0xa0) {
dd_emit(ctx, 1, 1); /* 00000001 */
dd_emit(ctx, 1, 0x70); /* 000000ff */
dd_emit(ctx, 1, 0x80); /* 000000ff */
dd_emit(tx ,)
dd_emit(ctx, 1, 0); /* 00000001 */
dd_emit(ctx, 1, 1); /* 00000001 */
dd_emit(ctx, 1, 0x70); /* 000000ff */
dd_emit(ctx, 1, 0x80); /* 000000ff */
,1 ) /* 000000ff */
dd_emit( ,0) /* ffffffff surf2d SRC_HEIGHT */
dd_emit(ctx, 1, 1); /* 00000001 */
dd_emit(ctx, 1, 0xf0); /* 000000ff */
dd_emit(ctx, 1, 0xff); /* 000000ff */
(,1 )
dd_emit(ctx, 1, 0); /* 00000001 */
dd_emit(ctx, 1, 1); /* 00000001 */
dd_emit(ctx, 1, 0xf0); /* 000000ff */
dd_emit(ctx, 1, 0xff); /* 000000ff */
dd_emit(ctx, ctx ,0;
dd_emit(ctx, 1, 9); /* 0000003f UNK114C.COMP,SIZE */
}
/* eng2d state */
dd_emit(ctx, 1, 0); /* 00000001 eng2d COLOR_KEY_ENABLE */
dd_emit(ctx, 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 */
, , 0);/
dd_emit(ctx, 1, 1);
ctx ,) *00000007eng2d *
dd_emit(ctx, 1, 0); /* 00000007 eng2d OPERATION */
(,10;/
dd_emit(ctx, 1, dd_emit ; /* ffffffff iifc LUT_OFFSET */
dd_emit(ctx, 1, 0); /* 00000001 eng2d SIFC_BITMAP_ENABLE */
dd_emitctx ,2;/* 00000007 VTX_ATTR_DEFINE.TYPE */
dd_emitjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
dd_emit(ctx, 1, 1); /* ffffffff eng2d BLIT_DU_DX_INT */
dd_emit(ctx, 1, 0); /* ffffffff eng2d BLIT_DV_DY_FRACT */
dd_emit(ctx, 1, 1); /* ffffffff eng2d BLIT_DV_DY_INT */
ctx,,0; /* 00000001 eng2d BLIT_CONTROL_FILTER */
dd_emit ,) /* ffffffff m2mf TILING_POSITION_OUT_Z */
dd_emit(ctx, 1, 0xcf); /* 000000ff eng2d SRC_FORMAT */
dd_emit(ctx, 1, 1); /* 00000001 eng2d SRC_LINEAR #2 */
num = ctx->ctxvals_pos - base;
ctx->ctxvals_pos = base;
if (IS_NVA3F(device->chipset))
cp_ctx(ctx, 0, num);
else
(ctx0 num;
}
/*
* xfer areas. These are a pain.
*
are2 firstone and all sorts
* stuff, the second is small and contains some per-TP context.
*
* Each area is split dd_emit ; /* ffffffff triangle COLOR_FORMAT */( ,0)/
* are made of 8- dd_emitdd_emitjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* each strand. The strands are independent of each other, their
* addresses are unrelated to each other, and data in them is closely
* packed dd_emit(ctx, 1, ;
* and there, a single word is thrown out in the middle and the whole
* strand is offset by a bit from corresponding one on another chipset.
* For(,1 0;
* of stuff anddd_emitc ,)/
* useful, and that's how we build the strandsif(IS_NVA3F(device->dd_emit(ctx, 1, 0xff); /* 00000/
*
*takes new cutting oldstrands
* into a few dozen pieces [ dd_emit(ctx, 1, 8); /* 000000ffCOLR_NR /
* and putting them dd_emitctx,1 0; /* 00000007 eng2d COLOR_KEY_FORMAT */
* genes correspond more or less directly to the same PGRAPH subunits
*as 400040register.
*
* most valuevalue in java.lang.StringIndexOutOfBoundsException: Range [43, 35) out of bounds for length 68
* are separated by 0's, gene bounduaries are quite speculative. (tx, ,)
* some of them can be clearly deduced, others can be dd_emit1xcf
* 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 for 0,which isthe longest
end corresponds to end the xfer.
*
* An unsolved mystery is if (device->chipset != 0x50
* in bits 8-18, and that argument dd_emit( 1; /* ffffffff RASTERIZE_ENABLE */
* seek to... but the offsets don't seem to correspond to offsets as
* grctx sanother,real randomly-
* addressing in strands, and the xfer insn just happens to skip over
* the unused bits? NV10-NV30 PIPE comes to mind...
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* As far as I know, dd_emit(ctx,1 01fff;java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
* without the help of ctxprog.
*/
static void
xf_emit(struct nvkm_grctx *ctx, int num, u32 val) {
int ;
if (val && ctx->mode == NVKM_GRCTX_VALS) {
for (i = 0; i < num; i++)
(-data 4 (>ctxvals_pos i < 3) ;
}
=num < 3
}
/* Gene declarations... */
voidnv50_gr_construct_gene_dispatch(struct nvkm_grctx*)
static void nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx);
void( * that howwebuildstrandsin generator
static void nv50_gr_construct_gene_unk10xx(struct nvkm_grctx *java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 47
static void nv50_gr_construct_gene_unk14xx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_zcull(struct nvkm_grctx *ctx);
java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 66
static void nv50_gr_construct_gene_unk24xx(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx);
void java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 65
static void nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_unk1cxx(struct nvkm_grctx *ctx);
taticvoid nv50_gr_construct_gene_strmout(struct nvkm_grctx *)
static dd_emitctx, ,);/ java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
static void nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx);
static void nv50_gr_construct_gene_ropm2(struct nvkm_grctx *ctx);
static void *as 400040 register
static void nv50_gr_construct_xfer_tp(struct nvkm_grctx
static
nv50_gr_construct_xfer1(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = ctx->device;
int i;
int offset;
int size = 0;
u32 units = nvkm_rd32(device, 0x1540);
offset = (ctx->ctxvals_pos+ java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 39
ctx->ctxvals_base = offset;
if (device->chipset < 0xa0) {
/* Strand 0 */
-=offset;
nv50_gr_construct_gene_dispatch(ctx);
nv50_gr_construct_gene_m2mfctx;
(;
(;
nv50_gr_construct_gene_zcull(tx;
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* 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);
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 36
nv50_gr_construct_gene_ropm2(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 2 */
ctx>ctxvals_pos = offset 0;
nv50_gr_construct_gene_ccache(ctx);
nv50_gr_construct_gene_unk1cxx(ctx);
nv50_gr_construct_gene_strmout(ctx);
nv50_gr_construct_gene_unk14xx(ctx);
nv50_gr_construct_gene_unk10xx(ctx);
nv50_gr_construct_gene_unk34xx(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 3: per-ROP group state */
ctx->ctxvals_pos = offset + 3;
for (i = 0; i < 6; i++)
if (units&( <<( +16)))
nv50_gr_construct_gene_ropc(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strands 4-7: per-TP state */
dd_emit(tx 1 );java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
> offset +4+ ;
if (units & (1 << (2 * i)))
* the unused bits? NV10-NV30 PIPE comes (ctx1 /* ffffffff eng2d BLIT_DV_DY_FRACT */
if (units & (1 << (2 * i + 1)))
nv50_gr_construct_xfer_tp(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
}
} else {
/* Strand 0 */
ctx- offset;
(ctx);
nv50_gr_construct_gene_m2mf(ctx);
nv50_gr_construct_gene_unk34xx(,1,)
void
xf_emit( dd_emit(ctx, ,) /* 00000001 eng2d SRC_LINEAR #2 */
nv50_gr_construct_gene_strmout(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8
/* Strand 1 */
ctx->ctxvals_pos = offset + 1;
nv50_gr_construct_gene_unk10xx(ctx);
if ((ctx->ctxvals_pos nvkm_wo32(tx> *(tx->txvals_pos i <<3),val)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 2 */
ctx->ctxvals_pos = offset + 2;
if (device->chipset == 0xa0)
nv50_gr_construct_gene_unk14xx(ctx);
nv50_gr_construct_gene_unk24xx(ctx);
if ((ctx->ctxvals_pos-offset)//* Gene declarations... */
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 3 */
static nv50_gr_construct_gene_m2mfstruct *tx)
static void nv50_gr_construct_gene_ccnv50_gr_construct_gene_ccachestruct nvkm_grctx *ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 4 */
ctx->ctxvals_pos = offset + 4;
nv50_gr_construct_gene_ccache(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 5 */
ctx>txvals_pos= offset +5;
nv50_gr_construct_gene_ropm2(ctx);
nv50_gr_construct_gene_ropm1(ctx);
/* per-ROP context */
for (ivoid nv50_gr_construct_gene_strmout(structnvkm_grctxctx;
units 1<i+16voidnv50_gr_construct_gene_unk34xx(struct nvkm_grctx *ctx)java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
nv50_gr_construct_gene_ropc(ctx);
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 6 */
ctx->ctxvals_pos = offset + 6;
nv50_gr_construct_gene_zcull(ctx);
nv50_gr_construct_gene_clipid(ctx);
nv50_gr_construct_gene_eng2d(ctx);
*For ,of strandsarealmost.
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 & (1 << 3))
(-txvals_posx0;
if ((ctx->ctxvals_pos-offset)/8 > size)
size = (ctx->ctxvals_pos-offset)/8;
/* Strand 7 */
ctx->ctxvals_pos = offset + 7;
ifd>chipset=0xa0) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if (units & (1 << 4))
nv50_gr_construct_xfer_tp(ctx);
if (units & (1 << 5))
(ctxjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
if(nits ( << 6))
(ctxctx>xvals_posoffset);
if (units & (1 << 7))
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 16
if (units & (1 << 8))
nv50_gr_construct_xfer_tp(ctx);
if (units & (1 << 9))
nv50_gr_construct_xfer_tp(ctx);
} else {
nv50_gr_construct_gene_unk14xx(ctx);
}
-offset)/8 sizejava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
size=(--offset/8;
}
ctx->ctxvals_pos = offset + size * 8ctx->ctxvals_pos = x2;
ctx>ctxvals_pos =(tx-ctxvals_pos+x3f)~0x3f
cp_lsr (ctx, nv50_gr_construct_gene_unk1cxxctx)*ctxval Forthesame reasonendingjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 65
cp_out (ctx, CP_SET_XFER_POINTER);
cp_lsr (ctx, size);
cp_out (ctx, CP_SEEK_1);
cp_out (ctx, CP_XFER_1);
cp_waitnd corresponds to ofthewhole xfer
}
/*
ctx-ctxvals_pos =offset+3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
*/
static void
nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx)
{
/* start of strand 0 */
struct nvkm_device *device = ctx->device;
/* SEEK */
(evicechipset= x50)
xf_emit(ctx, 5, 0);
else nv50_gr_construct_gene_ropc()
xf_emit(ctx, 6, if(--/ )
else
xf_emit(ctx, 4, 0);
/* SEEK */
/* the PGRAPH's internal FIFO */
if (device->chipset == 0x50)
/* Strands java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
else
ctx->ctxvals_pos +4 ;
/* and another bonus slot?!? */
xf_emit(ctx, 3, 0);
/
if (IS_NVA3F (ctx;
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 */
nv50_gr_construct_gene_m2mf);
/* SEEK */
xf_emit(ctx, 9, 0);
/* SEEK */
if (device->chipset < 0x90)
(,,0;
/* SEEK */
xf_emit(ctx, 2, 0);
/* SEEK */
xf_emit(ctx, 6static nv50_gr_construct_gene_dispatch(struct nvkm_grctx* ctx-ctxvals_posoffset+1;
xf_emitctx 2 0;
/* SEEK */
xf_emit(,2 0)
/* SEEK */
xf_emit(ctx, 6*2, 0);
ctx> = 2;
*/
if nv50_gr_construct_gene_unk14xx(ctx;
xf_emit(tx,0,0)
elseif (-ctxvals_posoffset)8>size)
xf_emit(ctx, 0x1e, 0);
else
xf_emit( /* Strand 3 */
/* SEEK */
java.lang.StringIndexOutOfBoundsException: Range [18, 8) out of bounds for length 23
}
static java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx)
{
dispatch */
struct nvkm_device *device = ctx-> (--)/8>)
int smallm2mf = 0;
if (device->chipset < 0x92 || device->chipset == 0x98)
/ Strand 5 *
*
ctx
xf_emit(, 1,0; /* DMA_BUFFER_IN instance >> 4 */
/
xf_emit (ctx, 1, fori= 0; i < d32 device ;
xf_emit (ctx, 1, 0); /* OFFSET_OUT */
xf_emit (ctx, 1, 0); /* PITCH_IN */
xf_emit (ctx, 1, 0); /* PITCH_OUT */
xf_emit (ctx, 1, 0); /* LINE_LENGTH */
xf_emit6 /
>=offset;
xf_emit (ctx, 1, 1); /* LINEAR_IN */
xf_emit (ctx, (ctx)
xf_emit (tx, 1 x100)/
xf_emit (ctx, 1, 0x100 ifu & 1< )
xf_emit (ctx, 1, 1); /* TILING_DEPTH_IN */ =ctx->offset)8;
xf_emit (ctx, 1, 0); /* TILING_POSITION_IN_Z */
xf_emit (ctx, 1, 0); /* TILING_POSITION_IN */ u &(<2)
AR_OUT
xf_emit (tx, 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 (ctx, 1,0x100) /* TILING_HEIGHT_OUT */
xf_emit (ctx, 1, 1); /* TILING_DEPTH_OUT */
xf_emit (ctx, 1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit (ctx, 1, 0); /* TILING_POSITION_OUT */
xf_emit (ctx, 1, 0); /* OFFSET_IN_HIGH */
xf_emit (ctx, 1, 0); /* OFFSET_OUT_HIGH */
/* SEEK */
if (smallm2mf)
ifunits 1<6)
else
xf_emit( if (units ( < =(-offset/8;
,4,0) /* 1f/7f, 0, 1f/7f, 0 [1f for smallm2mf, 7f otherwise] */
/ SEEK*
if ( nv50_gr_con(tx)
(tx 0x400 0) /* ffffffff */
else (;
(tx 0,0;/* ffffffff */
xf_emit(ctx nv50_gr_construct_gene_unk14xx(tx;
/* SEEK */
if(-ctxvals_posoffset/8>size
size (tx>-offset)/8;
}
static void
nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx)
{
java.lang.StringIndexOutOfBoundsException: Range [19, 7) out of bounds for length 42
xf_emit(ctx, 2, 0); /* RO */
xf_emit(ctx, 0x800, 0); /* ffffffff */
switch (device->chipset) {
case 0x50:
case0:
case 0xa0:
xf_emit(ctxjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
break;
case 0x84:
xf_emit(ctx, 0x29, 0);
break;
case 0x94:
java.lang.StringIndexOutOfBoundsException: Range [36, 11) out of bounds for length 11
case 0xa3:
xf_emit(/*
break nvkm_device*device=ctx-java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
case 0x86:
case 0x98:
case xf_emit(tx 5, 0;
case xjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
case 0xaa:
case 0xac:
case 0xaf:
xf_emit(tx, 0 /* the PGRAPH's internal FIFO */
break;
}
/* CB bindings, 0x80 of them. first word is address >> 8, second is
* size >> 4 | valid << 24 */
xf_emit(ctx, 0x100, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit(ctx, 1, 0); /* 0000007f CB_ADDR_BUFFER */-ctxvals_pos =
xf_emit(ctx, 1, 0) * and
xf_emit(ctx, 0x30, 0); /* ff SET_PROGRAM_CB */
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit(ctx, 4, 0); /* RO */
xf_emit(ctx, 0x100, 0); /* ffffffff */
xf_emit(ctx, 8, 0); /* 1f, 0, 0, ... */
xf_emit(ctx, 8, 0); /* ffffffff */
xf_emit(/* Strand
xf_emit(ctx, 1, 0); /* 3 */
xf_emit(ctx, 1, 0); /* ffffffff */
/* per */
(tx,1,0); /* 0000ffff DMA_TIC */
xf_emitctx,1 ) /* 0000ffff DMA_TSC */
xf_emit(ctx, 1, 0);/* SEEK */
xf_emit(, 1, 0java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
xf_emit(ctx, 1, 0); /* ffffffff TIC_ADDRESS_LOW */
xf_emit(ctx
xf_emit(ctx,1,0) /
xf_emit( , /* SEEK */
xf_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */
xf_emit(ctx,1 0); /* 000000ff VP_ADDRESS_HIGH */
xf_emit(ctx, 1, 0); /* ffffffff VP_ADDRESS_LOW */
xf_emit(ctx java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 34
xf_emit(ctx,1,0
xf_emit(ctx, 1, 0); /* ffffffff CB_DEF_ADDRESS_LOW */
xf_emit(ctx, * SEEK */
xf_emit(ctx, 1, 0); /* 000000ff GP_ADDRESS_HIGH */
xf_emit(ctx, 1, xf_emitc,0x1c )
xf_emit(, 0) /* 00ffffff GP_START_ID */
xf_emit(ctx, 1, 0); /* 000000ff FP_ADDRESS_HIGH */
xf_emit(ctx, 1, 0); /* ffffffff FP_ADDRESS_LOW */
=ctx->txvals_pos)8;
}
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nv50_gr_construct_gene_unk10xxnv50_gr_construct_gene_m2mf(nvkm_grctx*tx)
{
struct java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 1
int i;
/* end of area 2 on pre-NVA0, area 1 on NVAx */
4) /* 000000ff GP_RESULT_MAP_SIZE */
xf_emit device-chipset 0| device>hipset =0x98)
smallm2mf =1;
xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */
xf_emit(ctx java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 35
xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */
if (device- e {
xf_emit(,1,) /* OFFSET_OUT */
elsexf_emit(/* PITCH_IN */
x7ff; /* 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:
case0x86:
case 0x98:
case cp_out ctx, CP_SET_XFER_POINTER);
case 0xac:
xf_emit(ctx, 0xa0, 0); /* ffffffff */
break;
case 0x84:
case 0x92:
case 0x94:
case 0x96:
xf_emit(ctx, 0x120, 0);
break;
case 0xa5:
case 0xa8:
xf_emit(ctx, 0x100, 0); /* ffffffff */
break;
0xa0:
case 0xa3:xf_emit(, ,0;/
case 0 /* SEEK *
(ctx 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
,1,0) /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
xf_emitelse
(tx 1,1;/*00000001 RASTERIZE_ENABLE/
xf_emit(tx,1,0) / 00000001 tesla UNK1900*
xf_emit */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
xf_emit(ctx ,0;
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
}
staticnv50_gr_construct_gene_ccache( nvkm_grctx ctxjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
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 xf_emit(,0x2b,0)
xf_emit(tx 2,0) /* 00007fff WINDOW_OFFSET_XY */
xf_emitctx 1 ) /* ffff0ff3 */
xf_emit(,1, 0x04e3bfdf) /* ffffffff UNK0D64 */
xf_emit(,1 ;/
xf_emit(ctx, 0:
case0x96:
xf_emit(ctx, 1, 0x1fe21 case 0xa3:
if (device->chipset >= 0xa0)
xf_emit(ctx, 1, 0x0fac6881);
if (IS_NVA3F(device->chipset) 0x98
xf_emit(ctx, 1 xa5:
( xf_emitctx x22,0)
}
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
static void
nv50_gr_construct_gene_unk14xx ;
{
struct nvkm_device *device = ctx->{
/* middle of area 2 on pre-NVA0, beginning of area 2 on NVA0, area 7 on >NVA0 */
if (device xf_emitctx0,0; /
xf_emit(ctx, 5, 0); /* ffffffff */
xf_emit(ctx, 1 (tx,1,0) /* 0 */
( 1,0) /* 00000001 */
(tx,1,0; /* 3f last SET_PROGRAM_CB */f last SET_PROGRAM_CB
xf_emit(tx,1, 0x804) /java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
xf_emit(ctx, 1, 0); /* 00000001 */
xf_emit(ctx, 2, 4); /* 7f, ff */
xf_emit ctx, ,0)
}
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
(, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */
xf_emit(ctx, 1, xf_emit (tx 1,0); /* LINE_LENGTH */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */xf_emit (, 1, ) * LINE_COUNT */
xf_emit(ctx, 1, c,1,0) /* 0000ffff DMA_TSC */
xf_emit(ctx, 1, 0); /* 000000ff VP_CLIP_DISTANCE_ENABLE */
if (device->chipset != 0x50)
xf_emit(xf_emitc xf_emit (ct 0) /* TILING_HEIGHT_IN */
xf_emit(ctx, 1, 0); /* 000000ff tesla UNK1940 */
xf_emit(ctx,1 ) /* 00000001 tesla UNK0D7C */
xf_emit(ctx, 1, 0x804); /* 00000fff SEMANTIC_CLIP */
xf_emit(ctxxf_emit (ctx ,x1fff;/* 000fffff TSC_LIMIT */
xf_emit(ctx, 1 ctx,1,0; /* 000000ff VP_ADDRESS_HIGH */
ifdevice-chipset ! 0x50)
xf_emit(ctx, 1, 0x7f); /* 000000ff tesla UNK0FFC */xf_emit(tx ,0)
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
xf_emitxf_emit (ctx,,)/
xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */(tx,1 0; /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 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); /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0D7C */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0F8C */
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 */
ctx,4 ); /* ffffffff NOPERSPECTIVE_BITMAP */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 1, 0); /* 0000000f */
if (device->chipset == 0x50)
xf_emit(ctx, xf_emitc,, ;/
else
xf_emit(ctx, 1, 0x7ff); /* 000007ff tesla UNK0D68 */
xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */
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 VIEWPORT_SCALE? */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
xf_emit(ctx, 1, 1); /* 00000001 VIEWPORT_TRANSFORM_EN */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1924 */
xf_emit(ctx, 1, 0x10); /* 000000ff VIEW_VOLUME_CLIP_CTRL */
xf_emit(ctx, 1 case0x96:
xf_emit(ctx, 0x30, 0); /* ffffffff VIEWPORT_TRANSLATE */
xf_emit(ctx, 3, 0); /* f, 0, 0 */
xf_emit(ctx, 3, 0); /* ffffffff */
xf_emit( xf_emit(tx,0a0 0) / ffffffff case0:
xf_emit(ctx, 2, 0x88); /* 000001ff tesla UNK19D8 */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1924 */
xf_emit(ctx, 1 nvkm_device* -;
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 */
(,1,0; /00000003WINDOW_ORIGIN/
xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
(tx,1,0x26) / 000000ff SEMANTIC_LAYER /
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 1, 0); /* 0000000f */
xf_emit(ctx, 1, 0x3f800000); /* ffffffff LINE_WIDTH */
xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
if (IS_NVA3F(device->chipset))
xf_emit(ctx, 1, 0); /* 00000001 */
java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 53
xf_emit( 1,0x10) / f */
>chipset! x50 {
if (device->chipset != 0x50) {
xf_emit(ctx, xf_emitctx,3 0)
xf_emit(ctx, 1, 0); /* 000003ff */
}
xf_emit(ctx, 0x20, 0); /* 10xbits ffffffff, 3fffff. SCISSOR_* */
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(tx 1 0) / 000001f SEMANTIC_PTSZ */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
xf_emit(ctx, ! 0x50)
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(tx,10)*f /
xf_emit( x,1,0)/ 00000001*
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); /* 00ffffff LINE_STIPPLE_PATTERN */
xf_emit(tx,1,0) / 0000000f *
}
static void
struct java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 52
{
struct nvkm_device *device = ctx->device;
/* end of strand 0 on pre-NVA0, beginning of strand 6 on NVAx */
/* SEEK */
xf_emit(tx,1 0x3fx3f) / 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(,1,0; *3f*
xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */
xf_emit(ctx, 1, 0) / 000000ffSTENCIL_BACK_FUNC_MASK */
xf_emit(,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, 1, 2); /* 00000003 tesla UNK143C */
xf_emit(ctx, 2, 0x04000000); /* 001f POLYGON_MODE /
xf_emit( device-chipset=0x50)
xf_emit(tx 1,0x7f) / 000000ff tesla *
xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */
xf_emit(ctx, 1, 0); /* 00000001 */
xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */
f_emit(,1 ) / DEPTH_TEST_ENABLE /
xf_emit(ctx, 1, 0); /* xf_emit(ctx,1,0) / 000003tesla UNK0D68 */
xf_emit(ctx, 1, 4); /* 0000000f CULL_MODE */
xf_emit(ctx, 1, 0); /* 0000ffff */
xf_emit(ctx, 1, 0); /* 00000001 UNK0FB0 */
xf_emit( ,0;/00000001POLYGON_STIPPLE_ENABLE *
xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
java.lang.StringIndexOutOfBoundsException: Range [47, 8) out of bounds for length 50
xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emit(xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_REF */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */
xf_emitctx, 1,0); / 00000001/
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 57
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */
1 ) *ffffffff
xf_emit(ctx, 1, 0); /* 00000007 */
if ( , (,,) /f/
xf_emit(tx,1 0;/ 00000003 teslaUNK1108 /
xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */
xf_emit(ctx, 1, 0); java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
xf_emit(ctx, 1, 0x1001); /* 00001fff ZETA_ARRAY_MODE */
/* SEEK */
xf_emit(,4,0xffff) / 0000ffff MSAA_MASK /
xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */
xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR */
xf_emit(ctx, 0x10, 0x3f800000); /* ffffffff DEPTH_RANGE_FAR * (tx,3,) / f,0, /
ctx 1 x0)/7ff3f VIEW_VOLUME_CLIP_CTRL*
xf_emitctx,1 0) /* 00000001 VIEWPORT_CLIP_RECTS_EN */
(ctx,1 3; /*00000003FP_CTRL_UNK196C*/
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1968 */
if (device->chipset != 0x50)
xf_emit(ctx, 1, 0); /* 0fffffff tesla UNK1104 */
xf_emit(ctx, 1, 0); /* 00000001 *
}
static void
nv50_gr_construct_gene_clipid(struct nvkm_grctx *ctx)
{
/* middle of strand 0 on pre-xf_emit(ctx, 1, 0x10); /* 000000ff VIEW_VOLUME_CLIP_CTRL */
/* SEEK */
xf_emit(ctx, 1, 0); /* 00000007 UNK0FB4 */
/*/
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 */
K1508 */
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(ctx, 1, 0); /* 0000ffff DMA_CLIPID */
}
static void
nv50_gr_construct_gene_unk24xx(struct nvkm_grctx *ctx)
{
struct nvkm_device *evice -devicejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
int i;
/* middle of strand 0 on pre-NVA0 [after m2mf], end of strand 2 on NVAx */
/* SEEK */
xf_emit(ctx, 0x33, 0);
/* SEEK */
xf_emit(tx, 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 */
if (IS_NVA3F(device->chipset)) {
}
(ctx 0xe10,0) / 190 *:8ffffffff,7ff /
xf_emit(ctx, 1, 0); /* 1ff */
xf_emit(ctx, 8, 0); /* 0? */
xf_emit(ctx, 9, 0); /* ffffffff, 7ff * ,1 ) / *
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); /* xf_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */
} else {
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 */
xf_emit(ctx, ,) / 00000001LINE_SMOOTH_ENABLE *
/* SEEK */
xf_emit(ctx, 0xe10, 0); /* 190 * 9: xctx,1,0) / 0000000f*
xf_emit(ctx, 1, 0); /* 1ff */
xf_emit(ctx, 8, 0); /* 0? */
}
/* SEEK */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */
java.lang.StringIndexOutOfBoundsException: Range [33, 8) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 63
if (device->chipset != 0x50)
xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 */
/* SEEK */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */
xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */
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(tx,1 0) / ffff0ff3*
xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_ENABLE */
xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
xf_emit(ctx, 1, 0x27); /* 000000ff SEMANTIC_PRIM_ID */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emitc 1,) ff*
xf_emit(ctx, 1, 1); /* 00000001 */
for (i = 0; i < 10; i++) {
/SEEK*
xf_emit(ctx, 0x40, 0); /* ffffffff */
xf_emit(ctx x,) *3, , .. */
xf_emit(ctx, 0x10, 0); /* ffffffff */
}
/* SEEK */
xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_CTRL */
xf_emit(ctx, 1, 1); /* 00000001 */
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 4, 0); /* ffffffff NOPERSPECTIVE_BITMAP */
xf_emit(ctx, 0x10, 0); /* 00ffffff POINT_COORD_REPLACE_MAP */
xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */
xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */
if (device->chipset != 0x50)
xf_emit(ctx, 1, 0); /* 000003ff */
}
static void
nv50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */
int acnt = 0x10, rep, 000000 */
/* beginning of strand 1 on pre-NVA0, strand 3 on NVAx */
if (IS_NVA3F(device->chipset))
acnt = 0x20;
/* SEEK */
if (device->chipset >= 0xa0) {
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK13A4 */
xf_emitc,2 ) *ffffffff /
}
xf_emit(ctx, 1, 0); /* ffffffffctx,1 0; ctx,0; *
xf_emit(ctx, 1, 0); /* 00000001 PRIMITIVE_RESTART_ENABLE */
ctx,1, 0) / 00000001 UNK0DE8*
xf_emit(ctx, 1, 0); /* ffffffff java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 36
xf_emit(ctx, 1, 0xf); /* ffffffff 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 */
f_emit(tx, 1 0) / 0000000f VP_GP_BUILTIN_ATTR_EN*
xf_emit(ctx, 1, 0x20); /* 0000ffff tesla UNK129C */
xf_emit(ctx, 1, 0); /* 000000ff turing UNK370??c,, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit(ctx, 1, 0; *000000 *
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
/* SEEK */
if (IS_NVA3F(device->chipset))
xf_emit(ctx, 0xb, 0); /* RO */
else if (device->chipset >= 0xa0)
xf_emit(ctx, 0x9, 0); /*c 1 ) *00000001 /
else
xf_emit(ctx, 0x8, 0); /* RO */
/* SEEK */
xf_emit(ctx, 1, 0); /* 00000001 EDGE_FLAG */
xf_emit(ctx, 1 xf_emitc ,0) / 00000007UNK0FB4*java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 54
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
(tx 1,0;/ java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 52
/ /* SEEK 4 0) / 07ffffff CLIPID_REGION_VERT /
(x0xc 0) *RO /
/* SEEK */ (tx ,0x04000000;/ f UNK1508 *
xf_emit(ctx, 1, 0); /* 7f/ff */
xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */
xf_emit(tx,,4) /7ff /
xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */
xf_emit(ctx, 1, 4); /* 000001ff UNK1A28 */
xf_emit(ctx, 1, 8); /* 000001ff UNK0DF0 */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
if (xf_emit(ctx, 1, 0x80); /* 00003fff CLIPID_HEIGHT */
(tx , 0x3ff);/ f UNK0D68*
else
xf_emit(ctx, 1, 0x7ff); /* 7ff /* middle of strand 0 on pre-NVA0 [afxx, middle of 6on *
(>java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 29
xf_emit(ctx, 1, x1) *{
/* SEEK */
xf_emit(ctx, 0xc, 0); /* RO or close */
/* SEEK */
xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */
xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */
xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */
if (device->chipset > 0x50 && device->chipset < 0xa0)
xf_emit(tx,2,0);
else
xf_emitctx,1,0);/ ffffffff /
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK0FD8 */
/* SEEK */
if IS_NVA3F(nv50_gr_construct_gene_unk24xxsjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 54
xf_emit(ctx, 0x10, 0); /* 0? */
xf_emit(ctx, 2, 0); /* weird... */
xf_emit(ctx, 2, 0); /* RO */
} else {
(,8)* java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
xf_emit(,1,0)/ weird. /
xf_emit(ctx, 2, 0); /* RO */
}
*SEEK /
xf_emit(ctx, 1, 0); /* ffffffff VB_ELEMENT_BASE */
if ); /
xf_emit(, 0xe10,0);* 190*: 8*fffffff, ff*
if (device->chipset >= 0xa0)
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1118? */
/* SEEK */
xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */
xf_emit(ctx, 1, 0); /* f/1f */
* *
(, )S
xf_emit(ctx, 1, 0); /* f/1f(tx,0xe10 ) * (ctx , ) * ff*java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
/ /
xf_emit(tx,acnt 0) / RO /
xf_emit(ctx, 2, 0); /* RO */
/* SEEK */
xf_emit(ctx, 1,
xf_emit(ctx, 1, 0); /* RO */
// SEEK *
xf_emit(ctx, 1, 0); /* 000000ff UNK15F4_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, 0); /* 00003fff VERTEX_ARRAY_ATTRIB_OFFSET */
xf_emit(ctx, 3, 0); /* f/1f */
/* SEEK */
xf_emit(ctx, acnt, 0); /* 00000fff VERTEX_ARRAY_STRIDE */
xf_emit(ctx, 3, 0); /* f/1f */
/* SEEK */
xf_emit(ctx, acnt, 0); /* ffffffff if (evice> !0x50)
xf_emit(ctx, 3, 0); /* f/1f */
/* SEEK */
xf_emit(ctx, acnt,*SEEK /
xf_emit(ctx, 3, 0); /* f/1f */
/SEEK */
xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_LIMIT_LOW */
xf_emit(ctx, 3, 0); /* f/1f */
/* SEEK */
xf_emit(ctx, acnt, 0); /* 000000ff VERTEX_LIMIT_HIGH */
xf_emit(ctx, 3, 0); /* f/1f */
/* SEEK */
if (S_NVA3F(-chipset){
xf_emit(ctx, acnt, 0); /* f */
( ,0) / /1fjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
}
/* SEEK */
if (IS_NVA3F(xf_emit(ctx, 1, 0); 00000001 */
else
(,5, 0;/RO /
/* SEEK */
xf_emit(ctx, 1, 0); /* ffff xf_emit(ctx, 0x40, 0); /* ffffffff/
/* SEEK */
if (device->chipset < ( 0;i<10;+){
xf_emit(ctx, 0java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 12
/* SEEK */
xf_emit(ctx, 0x11, 0); /* RO */
} else if (!IS_NVA3F(device->chipset))
xf_emit(ctx, 1, 1); /* 00000001 */
else
xf_emit(ctx, 0x58, 0); /* RO */
/* SEEK(x ,0 /00000001 *
xf_emit(tx,1,0xf) / ffffffffVP_ATTR_EN *
xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */
( 1,1; *1 xf_emit(ctx, 1, 1); /* 1 UNK0DECjava.lang.StringIndexOutOfBoundsException: Range [57, 54) out of bounds for length 57
/ *
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(tx,1 0; java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 53
xf_emit(ctx, (acnt/8)-1{
/* SEEK */
if (device->chipset < 0xa0)
xf_emit(ctx, 8, 0); /* RO */
else if (IS_NVA3F(device->chipset))
xf_emit(ctx, 0xc, 0); /* RO */
else
xf_emit(ctx, 7, 0); /* RO */
/* SEEK */
xf_emit(ctx, 0xa, 0); /* RO */
if (device->chipset == xf_emit) / fffffffVP_ATTR_EN*
rep = 0xc;
else
rep = 4;
for (i = 0; i < rep; i++) {
/ SEEK *
f I(-chipset)
xf_emit((tx,1,) / ffffffffPRIMITIVE_RESTART_INDEX *
xf_emitctx,1,0xf) / ffffffff /
xf_emit(tx,4,0);/ f/f 0 0,0*
xf_emit(ctx, 4, 0); /* ffffffff */
}
/* SEEK */
xf_emit(ctx, 1, 0xf_emitctx ,0x20; *0000ffff tesla UNK129C*
xf_emit(ctx, 1, 0xf); /* 0000ff turing UNK370??*java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */
xf_emit(ctx, acnt/8, 0); /* ffffffff VTX_ATTR_MASK_UNK0DD0 */
xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */
xf_emitctx,1,0; fffffffftesla /
/* SEEK */
if (IS_NVA3F(device->chipset))
xf_emit(ctx, 7, 0); /* weird... */
else
ctx, 5,);*weird.. *
}
static
nv50_gr_construct_gene_eng2d(struct nvkm_grctx *ctx)
{
struct nvkm_device *devicejava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
/* middle of strand 1 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */
/* SEEK */
xf_emit(ctx, 2, 0); /* 0001ffff CLIP_X, CLIP_Y */
xf_emit(ctx, 2, 0); /* 0000ffff CLIP_W, CLIP_H */
xf_emitc,1,0); /* 00000001 CLIP_ENABLE */
ifd-> 0
/* this is useless on everything but the original NV50,
* guess they forgot to nuke it. Or just didn't bother. */
xf_emit(ctx, 2, 0); /* 0000ffff IFC_CLIP_X, Y */
xf_emit(ctx, 2, 1); /* 0000ffff IFC_CLIP_W, H */
xf_emit(ctx, 1, 0); /* 00000001 IFC_CLIP_ENABLE */
}
( 1 1) / 00000001DST_LINEAR *
xf_emit(ctx, 1, 0x100); /* 0001ffff DST_WIDTH */
xf_emit(ctx, 1, 0x100); /* 0001ffff DST_HEIGHT */
xf_emit(ctx, 1, 0x11); /* 3f[NV50]/7f[NV84+] DST_FORMAT */
xf_emit(ctx, 1, 0); /* 0001ffff DRAW_POINT_X */
xf_emit(ctx, 1, 8); /* 0000000f java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 30
xf_emit(ctx, 1, 0); /* 000fffff SIFC_DST_X_FRACT */
xf_emit(ctx, 1, 0); /* 0001java.lang.StringIndexOutOfBoundsException: Range [1, 33) out of bounds for length 30
xf_emit(ctx, 1, 0); /* 000fffff SIFC_DST_Y_FRACT */
xf_emit(ctx, 1, 0); /* 0001ffff SIFC_DST_Y_INT */
xf_emit(ctx, 1, 0); /* 000fffff SIFC_DX_DU_FRACT */
xf_emit(ctx, 1, 1); /* 0001ffff SIFC_DX_DU_INT *(evice- = 0)
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 */
c, 1 1); / 0000ffff SIFC_HEIGHT */
f_emitctx, , 0xcf) / 000000ff SIFC_FORMAT */
xf_emit(ctx, 1, 2); /* 00000003 SIFC_BITMAP_UNK808 */
xf_emit(ctx, 1, 0); / xf_emit(tx 1, ,0) / ffffffff tesla UNK1118?*
xf_emit(ctx, 1,/ SEEK *
xf_emit(ctx, 1, 0); /* 00000001 SIFC_BITMAP_ENABLE(ctx,acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */
xf_emit(ctx, 1, 0); /* 0000ffff BLIT_DST_X */
xf_emit(ctx, 1, 0); /* 0000ffff BLIT_DST_Y */
xf_emit(ctx, 1, /*SEEK /
xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DU_DX_INT */
xf_emit(ctx, 1, 0); /* 000fffff BLIT_DV_DY_FRACT */
xf_emit(ctx, 1, 1); /* 0001ffff BLIT_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 xf_emit(ctx,1,0) /00000003tesla /
xf_emit(ctx, 1, 0); /* 000fffff BLIT_SRC_Y_FRACT */
xf_emit(ctx, 1, 0); /* 00000001 UNK888 */
xf_emit(ctx, 1, 4); /* 0000003f UNK884 */
xf_emit(ctx, 1, 0); /* (tx,1, 0; / 000000ff UNK15F4_ADDRESS_HIGH /
xf_emit(ctx, 1, 1); /* 0000001f tesla UNK0FB8 */
xf_emit(ctx, 1, 0x15); /* 000000ff tesla UNK128C */
xf_emit(ctx, 2, 0); /* 00000007, ffff0ff3 */
xf_emit(ctx, 1, 0); /* 00000001 UNK260 */
xf_emitc,1 0);/1fffffff UNK870 *
/* SEEK */
xf_emit(ctx, 0x10, 0);
/* SEEK */
xf_emit(ctx, 0x27, 0);
}
static void
nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = ctx->device;
/ middle strand 1 on pre-NVA0 [after eng2d], middle of strand 0 on NVAx */
/* SEEK */
xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY... what is it doing here??? */
xf_emit/SEEK *
xf_emit(tx,1,0) / 00000003 WINDOW_ORIGIN *
xf_emitctx,1,0x8100c12) /**1ffffffFP_INTERPOLANT_CTRL /
xf_emit(ctx, 1, 0); /* 000003ff */
/* SEEK */
xf_emit(ctx, 1, 0); /* ffffffff turing UNK364 */
xf_emit(ctx, 1, 0); /* 0000000f turing UNK36C */
xf_emit(ctx, 1, 0); /* 0000ffff USER_PARAM_COUNT */
xf_emit(ctx, 1, 0x100); /* 00ffffff turing UNK384 */xf_emit(tx,1,0) java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
xf_emi(tx,2,0; / RO*
xf_emit(ctx, 1, 0); /* 0000ffff GRIDID */
(tx 1,0x10001;/ ffffffff GRIDDIM_XY *
( 1,0; /ffffffff _VTXBUF */
xf_emit(ctx, 1, 0x10001)*SEEK*/
(ctx 1,1) / f BLOCKDIM_Z *
xf_emit(ctx, 1, 0x10001); /* 00ffffff BLOCK_ALLOC */
xf_emit(ctx, 1, 1); /* 00000001 LANES32 */
xf_emit(ctx, 1, 4); /* 000000ff FP_REG_ALLOC_TEMP */
xf_emit(ctx, 1, 2); /* 00000003 REG_MODE */
/* SEEK */
xf_emit(ctx, 0x40, 0); /* ffffffff USER_PARAMxf_emit( *SEEK*java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
switch (device->chipset) {
case 0x92:
xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */
xf_emit(ctx, 0x80, 0); /* fff */
xf_emit(ctx, 2, 0); /* ff, fff */
xf_emit(ctx, 0x10*2, 0); /* ffffffff, 1f */
break;
case 0x84:
xf_emit(tx, 80;/ , ,,0,. /
xf_emit(ctx, 0x60, 0); /* fff */
xf_emit(ctx, 2, 0); /* ff, fff */
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_emitctx, 0xa, 0); /* RO */
xf_emit(ctx, 2, 0);if (java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
xf_emit(ctx, 2*2, 0); /* ffffffff, 1f */
break;
case 0xa0:
xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */
xf_emit(ctx, 0xf0, 0); /* fff */
xf_emit(ctx, 2, 0); /* ff, fff */
xf_emit(ctx, 0x1e*2, 0); /* ffffffff, 1f */
breakxf_emitctx 4 0) /7fff,0 0, /
case 0xa3:
xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ...(tx / ) * ffffffff */
f_emitctx,0 0) fff *
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 35
xf_emit(ctx, 0xc* ((device-)
break;
case 0xa5:
case 0xaf:
xf_emit(ctx, 8, 0); /* }
xf_emit(java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
xf_emit(ctx, 2, 0); /* ff, fff */
xf_emit(ctx, 6*2, 0); /* ffffffff, 1f */
break;
case 0xaad void
xf_emit(ctx, 0x12, 0);
break;
case 0xa8:
case 0xac:
xf_emit(ctx, 4, 0); /* f, 0, 0, 0 */
xf_emit(ctx, 0x10, 0); /* fff */
xf_emit(,2,0) / ff fff /
xf_emit(ctx, 2* *guessthey java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 60
break;
}
xf_emit(ctx, 1, 0); /* 0000000f * / java.lang.StringIndexOutOfBoundsException: Range [57, 9) out of bounds for length 57
xf_emit(ctx, 1, 0); /* (tx,, ) /0000ffff IFC_CLIP_W,H*
java.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 36
xf_emit(ctx, 1, 0); /* 0000001f */
xf_emit(ctx, 4, 0); /* ffffffff */
*
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 4, 0); /* ffffffff */
xf_emit(ctx, 1, 0); /* 00000003 turing UNK35C */
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 1, 0); /* 000000ff */
}
static void
nv50_gr_construct_gene_unk1cxx(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = ctx->device;
xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */
xf_emit( ,x) *java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 55
xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1658 */
xf_emit(ctx, 1, 0); /* 00000001 POLYGON_SMOOTH_ENABLE */
xf_emit xf_emit(1 1) *0001fff java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 46
xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */
xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */
xf_emit( */
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK165C */
xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */
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); /* ctx, 1, 0); /* 000fffff */
xf_emit(ctx, 1, 0); /* ffffffff POLYGON_OFFSET_FACTOR */
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1668 */
xf_emit(ctx, 2, 0); /* 07ffffff SCREEN_SCISSOR */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
(tx,1,0) 000BLIT_DV_DY_FRACT
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 47
xf_emit(ctx, 1, 0x0fac6881); /xf_emit(ctx, 1, 1); /* 0000ffff BLIT_DST_W */
xf_emit(ctx, 1, 0x11); /* 0000007f RT_FORMAT */
xf_emit(ctx, 7, 0); /* 0000007 BLIT_SRC_X_FRACT */
ctx,8 ); *00000001 */
,; * (,,) / fffff BLIT_SRC_Y_FRACT *
xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */
xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */
if (IS_NVA3F(device->chipset))
xf_emit(ctx, 1, 3); /* 00000003 UNK16B4 */
else if (device->chipset >= 0xa0)
xf_emit(ctx, 1, 1); /* 00000001 UNK16B4 xf_emit(,1,0;*000000ff
xf_emit(ctx, 1, 0); /* 00000003 MULTISAMPLE_CTRL */
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK0F90 */
xf_emit(ctx, 1, 2);
xf_emit(ctx, 2, 0x04000000); /* 07ffffff tesla UNK0D6C */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */
xf_emit(ctx, 1 1 on pre-VA0 [fter eng2d]middle of strand0 on *
(,1,0) / 00000001 */
xf_emitctx, java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
xf_emit(ctx, 1, 0x52); /* 000001ff SEMANTIC_PTSZ */
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 1
xf_emit(ctx, 1, 0); /* 00000001 */
xf_emit(ctx, 1, 0); /* 00000007 tesla UNK0FB4 */
if (evice- ! 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(tx 0x10 0; * ffffffff */
xf_emit(,1 0x100; / 00ffffff UNK384*
W_VOLUME_CLIP_CTRL*
xf_emit(ctx, 0x20, 0); /* 07ffffff VIEWPORT_HORIZ, then VIEWPORT_VERT. (W&0x3fff) ctx,1,0;/ *
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK187C */
xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */
xf_emit(xf_emit( 1 ) *0000fff *
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */
xf_emit(ctx,1 0; *00000001xf_emitctx,1 0) * *
, );*ff */
xf_emit(tx,1,08100c12;/ 1fffffffFP_INTERPOLANT_CTRL*
xf_emit(ctx, 1, 5); /* 0000000f tesla UNK1220 */
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 1, 0); /* 000000ff tesla UNK1A20 */
xf_emitxf_emit(ctx,,4) *000000 switch (device->chipset) {
xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */
xf_emit(ctx, 4, 0xffff); case 0x50:
if (device->chipset != 0x50)
xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 / SEEK */
if device->hipset 0
xf_emit(ctx, 0x1c, 0); /* RO */
else if (IS_NVA3F(device->chipset))
xf_emit(ctx, 0x9, 0);
xf_emit(ctx, 1, 0); /* 00000001 UNK1534 */
xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */
xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */
xf_emit(ctx, 1, 0x1a); /* 0000001f
xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */
if (device->chipset != 0x50) {
break
xf_emit(ctx, 1, 0); /* 3ff */
}
/* XXX: the following block could belong either to unk1cxx, or
java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 39
if (device->chipset < 0xa0)
xf_emit(ctx 0*2, 0); /* ffffffff, 1f */
else ,0) /* ff, fff */
xf_emit(ctx, 0x3b, 0);
}
static void
nv50_gr_construct_gene_strmout(,0 0)/
{
* ctx-device
xf_emit( 0xa0
xf_emitctx , 0; /* ffffffff STRMOUT_PRIMITIVE_COUNT */
xf_emit(tx,xf0, 0); /* fff */
(device> > 0xa0){
xf_emit(ctx, xf_emit(, 0*2,0) /* ffffffff, 1f */
xf_emit(,4, 0) /* ffffffff UNK1780 */
}
xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */
xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */
xf_emit(java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 8
if (device->chipset == 0x50)
xf_emit(ctx, 1, 0x3ff); /* 000003ff tesla UNK0D68 */
else
xf_emit(ctx, 1, 0x7ff); /* 000007ff tesla UNK0D68 */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
/* SEEK */
xf_emit(ctx, 1, 0x102); /* 0000ffff STRMOUT_BUFFER_CTRL */
(ctx,1, ) /* ffffffff STRMOUT_PRIMITIVE_COUNT */
xf_emit 6,;/* ffffffff, 1f */
(ctx,, 0) /* ffffffff STRMOUT_ADDRESS_LOW */
case:
if (device->java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 8
xf_emit(ctx, 4, 0); /* ffffffff UNK1A8C */
xf_emit(ctx, 4, 0); /* ffffffff UNK1780 */
}
xf_emit 2 ) /* ff, fff */
xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */
xf_emit(ctx, 1, 0); /* 000000ff QUERY_ADDRESS_HIGH */
xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW QUERY_COUNTER */
xf_emit(ctx, 2, 0); /* ffffffff */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
/* SEEK */
xf_emit(ctx,1,0; /* 0000000f */
xf_emit(xf_emit(ctx, 1,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(ctx, 1 0 /*
xf_emit(ctx, 2, 0); /* ffffffff */
}
static void
nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = structnvkm_device *device =ctx>device;
xf_emit(tx 1 0 xf_emit(ctx, 1, 0x4e3bfdf /
(ctx 1,0x4e3bfdf); /* ffffffff UNK0DF4 */
xf_emit(ctx, 1, 0); /* 00000007 */
xf_emit(ctx, 1, 0); /* 000003ff */
if (IS_NVA3F(device->xf_emit(ctx, 1, 0); /* 000000java.lang.StringIndexOutOfBoundsException: Range [58, 55) out of bounds for length 58
xf_emit(ctx, 1, 0x11); /* 000000ff tesla UNK1968 */java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */
}
static (x,)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
nv50_gr_construct_gene_ropm2(struct nvkm_grctx *ctx)
{
struct nvkm_device *device = ctx->device;
/* SEEK */
xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */
xf_emit(tx,10x0fac6881) * 0ffffffRT_CONTROL */
xf_emit(ctx, 2, 0); /* ffffffff */
xf_emitctx,1 0)
xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW, COUNTER */
xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */(,,) /
xf_emit(ctx, 1, 0); /* 7 */
/* SEEK */
xf_emit(ctx xf_emit(tx 7,0) /* 0000007f RT_FORMAT */
xf_emitctx ,0 / 000000ff QUERY_ADDRESS_HIGH java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW, COUNTER */
xf_emit(ctx 1,0x4e3bfdf) /* ffffffff UNK0D64 */
xf_emit(,1 0;/
xf_emit(ctx, 1, 0); /* 00000001 eng2d UNK260 */
ctx, 1 0 /* ff/3ff */
xf_emit if(device->hipset =0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
if (S_NVA3F(evice>)
xf_emit(ctx,1,xf_emit(,0;/00000003 /
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */
}
static void
v50_gr_construct_gene_ropcstruct nvkm_grctx *ctx xf_emit(ctx,1 ) /
{
struct nvkm_device *device = ctx->device;
int xf_emit(tx,1 0)
if(-> =0x50) {
magic2 = 0x00003e60;
} else xf_emitc 8,0; /* 00000001 RT_HORIZ_LINEAR */
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(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */
ctx,010 xf800000) /* ffffffff DEPTH_RANGE_FAR */
(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 */
java.lang.StringIndexOutOfBoundsException: Range [104, 8) out of bounds for length 104
,)
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */
xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */
xf_emit( ,0; /* 00000001 DEPTH_TEST_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */
if (IS_NVA3F(device->chipset))
xf_emit(,11 *0000001ftesla *
xf_emit((x ,) * 00000001 SAMPLECNT_ENABLE */
(,1 ) /* 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit, ,0; /* 000000ff tesla UNK1A20 */ctx, ,0) /* 000001ff SEMANTIC_PTSZ */
(tx, 3,0) /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
(tx,1,0) * 00000001 STENCIL_FRONT_ENABLE */
if (device->chipset ((,4,0;/* 0000ffff MSAA_MASK */
xf_emit(tx,1 0;/* 3ff */
xf_emit(ctx,
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */
xf_emit(ctx, 1, 0x10); /* 3ff/ff VIEW_VOLUME_CLIP_CTRL */
xf_emit(ctx, 1, 0); /* ffffffff CLEAR_DEPTH */elseIS_NVA3F(->hipset)
xf_emit( (,0x9 )java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
E*
xf_emitctx1 0) /* 00000001 LINE_SMOOTH_ENABLE */
(-chipset = 0 | device-chipset =0 |device-chipset= 0x98 |device->hipset > x){
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 */
, 1,01001) /* 1fff */
if(->chipset =0}
A3Fd->)
xf_emit(ctx, 1, 0); /* 0000000f UNK15C8 */
else
xf_emit(ctx, 1, 0x15); /* ff */
}
}
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */
xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */
xf_emit(tx,1,0) * 000000ff STENCIL_BACK_FUNC_MASK */
xf_emit(ctx, 1, 0); /* ffff0ff3 */
xf_emit(ctx, 1, 2);xf_emit(tx ,4) /java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ xf_emitctx,,0;/* ffffffff UNK1A8C */
xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */
,) /* 000000ff GP_RESULT_MAP_SIZE */
xf_emit(tx,1,4); /* 0000007f VP_RESULT_MAP_SIZE */
xf_emit(tx,1,0; /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emitctx,1,0) /* 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */
xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */
xf_emit(ctx, 1 0; /* 0000000f ZETA_FORMAT */ * to java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
1 ) java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */
xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_REF */
xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */
xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */
xf_emitc, ) /* 000003ff */
xf_emit(tx 1,0; /* 0000000f */
xf_emit(ctx, 1, 0); xf_emit(ctx,
xf_emit(tx,1,0) /
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */
xf_emit(ctx, ,0( ctx)
xf_emit(ctx, 1 xf_emit(tx ,0) /* ffffffff UNK1A8C */
xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR */
xf_emit(tx,1,); /
xf_emit(ctx10; /* 0000ffff DMA_QUERY */
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */( 1,) /* 000000ff QUERY_ADDRESS_HIGH */
, ;/ /
xf_emit(ctx, 1 java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 53
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_REF */
xf_emit(tx,1,0) *000000ff STENCIL_BACK_MASK *
xf_emit( xf_emit(ctx2 ) /* ffffffff QUERY_ADDRESS_LOW, COUNTER */
xf_emit(,2 ) * ffffffff DEPTH_BOUNDS */
xf_emit(tx,1,0) /*java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
xf_emit(, ,0; /* 00000007 DEPTH_TEST_FUNC */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */
(ctx, )/* 00000001 DEPTH_WRITE_ENABLE */
xf_emit(ctx, 1, 0; /* 000003ff */
xf_emitctx , , x;
xf_emit(,1xf_emit,,)//* ffffffff tesla UNK1A3C */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_REF */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */
xf_emit(ctx, 3, 0); java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */
xf_emitctx,1 0) (-java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 31
xf_emitctx,1 ) /*0000000f *java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
xf_emit(tx,1 0x3f; /* 0000003f UNK1590 */
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */
xf_emit(ctx, 2, 0); /* ffff0ff3, ffff */
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0FB0 */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
xf_emit(ctx, 1 ctx, ,0; * 00000007 STENCIL_BACK_FUNC_FUNC */
xf_emit(ctx, 1, 0); ) /* ffffffff UNK0D64 */
xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
xf_emit(ctx, 1, 0); /* ffffffff CLEAR_DEPTH */
xf_emit(ctx, 1,xf_emit(, 1, 0) 00000007 (tx,,) /* ffff0ff3 */
if (device-> ( ,;* 001fffff tesla UNK0F78 */
xf_emit(tx 2,0)
xf_emit(tx, 1 0 /* 00000007 DEPTH_TEST_FUNC */
xf_emit(ctx, 0xb, 0);
} else {
(1,)/ *
xf_emitctx 1,);/* 00000001 tesla UNK1534 */
(tx ,0; /* 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit =
xf_emit(tx 1 ) /* ffff0ff3 */
}
xf_emit(tx,1,0) /* 3f/7f RT_FORMAT */
xf_emitc, ) /
xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */
xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */
xf_emit(ctx, 1, 0x11); /* 3f/7f */
xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */
(-c != 0){
GIC_OP*
xf_emit(ctx, 1, 0); /* 000000ff */
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2
xf_emit(,,0;xf_emit( ,) /* 00000007 DEPTH_TEST_FUNC */
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; (-chipset =0xa0
xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */
xf_emit(ctx, 1, 1 xf_emit(,3 ) *00000007 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS
xf_emit(ctx, 1, 0); /* 00000001 */
xf_emit(,1 ;/
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 50
xf_emit(, 1,0x0fac6881) /* 0fffffff RT_CONTROL */
if (IS_NVA3Fxf_emit
xf_emit(ctx, 1, (tx 1,) *00000001 tesla UNK1534 *
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */xf_emit(tx,1, x) /* 3ff/ff VIEW_VOLUME_CLIP_CTRL */
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */(tx ,0; /* ffff0ff3 */
ctx,8,1;/* 00000001 IBLEND_UNK00 */
xf_emit(ctx,1,0) /
xf_emit(
xf_emit(ctx, xf_emit(,1,0) /* 00000001 DEPTH_TEST_ENABLE */
xf_emit(ctx, 8, 1) ctx1 )) 00000001java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 55
xf_emit(ctx, (ctx,1,0) /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emitctx,1,0; * 000000ff STENCIL_FRONT_FUNC_MASK */
xf_emit( ctx1 ) 00000001STENCIL_FRONT_ENABLE*
ctx 0
xf_emit(ctx, 1, 0); /* 00000003 */
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 2, 0); /* 00000001 */
xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */
xf_emit(ctx, 1, 0); /* 00000001 */
xf_emit(ctx, 1, 0); /* 000003ff */
} else if (device->chipset >= 0xa0) {
xf_emit(ctx, 2, 0); /* 00000001 */
x, ctx,,)/ffff0ff3 *
xf_emit(ctx, 1, 0); /* 00000003 */
xf_emit(ctx, 1, 0); /* ffffffff */
xf_emit(ctx, 2, 0); /* 00000001 */
} else {
xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1430 */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */
}
xf_emit(ctx, 4, 0); /* ffffffff CLEAR_COLOR */
xf_emit(ctx, 4, 0); /* ffffffff BLEND_COLOR A R G B */
(tx,,) /* 00000fff eng2d UNK2B0 */
if(vice- > xa0
2 )java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 36
xf_emit(ctx, 1 xf_emit(ctx,1 0) /* 0000000f ZETA_FORMAT */xf_emit(,1,0; /* 00000007 STENCIL_FRONT_FUNC_FUNC */
xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */
xf_emit(,, 1);/* 00000001 UNK133C */
xf_emit(tx,1,0;
xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */
xf_emit(tx,0x10 ) /
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 */
(,1 ); /* 00000001 UNK19C0 */
(,,;/* 00000001 LOGIC_OP_ENABLE */
xf_emit(ctx, 1, 0); /* 0000000f LOGIC_OP */
if (-chipset=0xa0)
xf_emit(ctx, 1, 0); /* 00000001 UNK12E4? NVA3+ only? */
if (IS_NVA3F(device->chipset)) {
ctx,8,1;/* 00000001 IBLEND_UNK00 */
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */
xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_RGB */
xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_RGB */
tctxxf_emit(ctx,,)
xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_ALPHA */
xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_ALPHA */
(tx,1,0) /* 00000001 tesla UNK15C4 */
xf_emit(ctx, 1xf_emit(tx,,0; /* 000000ff STENCIL_FRONT_FUNC_REF */
xf_emit(ctx ctx,0x10 0java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 63
}
xf_emit(tx,1 x11) /java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
xf_emitctx, 1,1); * 00000001 DST_LINEAR */
xf_emit(tx,1,0; /* 0000000f ZETA_FORMAT */ (ctx, 1,0; /* 000000ff STENCIL_BACK_FUNC_MASK */
xf_emit(tx,2,0; /* ffffffff PATTERN_MONO_COLOR */
xf_emit xf_emit(xf_emit(ctx30;/* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */
xf_emit(ctx, 2, 0); /* ffffffff PATTERN_MONO_BITMAP */
xf_emit(ctx, 1, 0); /* 00000003 PATTERN_SELECT */
xf_emit(ctx, 1, 0); /* 000000ff ROP */
xf_emit(ctx,1,0) /* ffffffff BETA1 */
xf_emit(ctx, 1, 0); /* ffffffff BETA4 */
xf_emitctx,,) /* 00000007 OPERATION */
xf_emit(ctx, 0x50, 0); /* 10x ffffff, ffffff, ffffff, ffffff, 3 PATTERN */java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
xf_emit( ,) /* 000000ff STENCIL_FRONT_FUNC_REF */
{
struct nvkm_device *device = xf_emit( ,0 /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
int ;
switch (java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 9
ctx,1 x10; , 10/*
ctx,,;/* 00000001 tesla UNK1534 */
break;
0
case 0x98:
}
case xaa:
0xac
case xf_emit(ctx, 1, 0)
magic3xf_emit( , ) xf_emit ,)/0000000f java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 47
break;
default:
magic3 = 0;
}
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(tx,1, 4) /* 7f/ff[NVA0+] VP_REG_ALLOC_RESULT */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
xf_emit(ctx, 1, xf_emit(ctx, 1 0;/* 00000007 */
if (IS_NVA3F(device->ctx 1, magic2); /* 001fffff tesla UNK0F78 */ (,10; */
xf_emit(tx,0x1f,)
else if (device->chipset >=xf_emit(,1, 0x0fac6881) /* 0fffffff RT_CONTROL */
f_emitctx x0f,)/
else
xf_emit(ctx, 0x10, 0); /* fffffff VP_RESULT_MAP_1 up */
xf_emit(ctx, 2, 0); /* f/1f[NVA3], fffffff/ffffffff[NVA0+] */
xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */
xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */
(device-chipset> 0xa0)
xf_emitctx,1 x03020100;/*
else
xf_emit(ctx, 1, xf_emitctx ,1;/* 0000001f IBLEND_FUNC_DST_ALPHA */
xf_emit(ctx,1,) /* 00000001 tesla UNK1140 */
xf_emit( xf_emit(ctx 1 0; java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
xf_emit(tx,2 ) /* 111/113, 7f/ff */xf_emitctx ,1 / 00000001 UNK133C *
xf_emit(tx,1 ) /* 7f/ff VP_RESULT_MAP_SIZE */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ ctx ,)/* 00000003 */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit (tx , ) /* 00000001 */
xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */
xf_emit,1 ) /* 00000001 */
if (magic3)
xf_emit(ctx, 1, magic3); /* 00007fff tesla UNK141C */
xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */
xf_emit(,1 0) /* ffffffff tesla UNK1A30 */
xf_emit(ctx 1,0) /* 00000007 */
xf_emit(ctx 8 );/* 00000001 IBLEND_UNK00 */
xf_emit(ctx,1 0) /* 0000001f */
xf_emit(ctxxxf_emitc,2 ) /* 00000001 */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */
xf_emit(tx,1,080) /* 0000ffff GP_VERTEX_OUTPUT_COUNT */
xf_emitjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
,4,) /* ffffffff BLEND_COLOR A R G B */
xf_emit xf_emit(ctx, 1 ) /* ffffffff */
fmagic3java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
xf_emit(ctx ctx ,0;tx ,0)
xf_emit(ctx,1 0;/*000003ff /
c, 1 ; * 0000001f BLEND_FUNC_DST_RGB */
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */(,1,1) /* 00000007 BLEND_EQUATION_RGB */
xf_emit( xf_emit(ctx1,2; /* 0000001f BLEND_FUNC_SRC_ALPHA */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ */
xf_emit( 1,4) /* 000000ff GP_RESULT_MAP_SIZE */
(ctx,1,3) /* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */
1,0) /* 00000001 PROVOKING_VERTEX_LAST */
xf_emit,10;
xf_emit(ctx, 1, 0); /* 00000003 tesla UNK13A0 */
xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */
xf_emitctx,1,c ,0 *ffffffff tesla UNK1A3C *
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
xf_emit(ctx, xf_emit(ctx,8,1)/ 00000001 */
if (xf_emit(tx,, 1) /* 00000007 IBLEND_EQUATION_RGB */
xf_emit(ctx, 0 xf_emit(ctx, 8, 2);
else if (device->chipset < 0xa0)
,0 0;4x( 0fffffff, ,,0 , *
else if (!IS_NVA3F(device->chipset))
xf_emit(ctx, 0x210, 0); /* ffffffff */
else
xf_emit(ctx, 0x410, 0); /* ffffffff */
xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */
xf_emit(tx,1,4) /* 000000ff GP_RESULT_MAP_SIZE */
xf_emit(,1,) /* 00000001 */
_LAST
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */
}
static void
xf_emit(ctx, 1, 2); /* 000ctx 12
{
struct nvkm_device
int, magic2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
xf_emit(ctx,1,0) /* 00000003 PATTERN_SELECT */
magic1 =0x3ff; xf_emit(tx ,)
=x00003e60;
} else if (!IS_NVA3F(device->chipset)) {
magic1 ctx ,0; /* 00000007 OPERATION */
magic2 = 0x001ffe67;
} else {
0;
;
}
xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */
xf_emit(ctx, 1, 0); /* ffffffff ALPHA_TEST_REF */
xf_emit(=0x1000;
break
case0:
(ctx, , ) /
xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */
xf_emitctx , 0; /* 000000ff STENCIL_BACK_MASK */
xf_emit(ctx, 3, :
xf_emit(ctx, 4,0); /* ffffffff BLEND_COLOR */ ffffffff */
xf_emit(ctx, 1, 0); /* 00000001 UNK19C0 */
(ctx ) /* 00000001 UNK0FDC */
xf_emitxf_emit(, 1 ) /* 00000003 PATTERN_SELECT */
xf_emit(ctx, 7, magic3 0;
xf_emit(ctx, 1 ) /* ffffffff BETA4 */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */
xf_emit(tx, 1,0) /* 00000001 LOGIC_OP_ENABLE */
xf_emit(ctx ,0; /* 00000001 GP_ENABLE */
xf_emit(static void
xf_emit, 4, 0xffff; /* 0000ffff MSAA_MASK */
xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */
xf_emit(tx 3 ;/java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
xf_emit(tx,1,0) /* 00000001 STENCIL_FRONT_ENABLE */
xf_emitctx x1 0:
xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK19CC */
xf_emit(ctx, 1, 0); /* 7 */
xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */
xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */
xf_emit, ,1; /* ZETA_ENABLE*java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
xf_emit(ctx, 1, 0); /* ffffffff COLOR_KEY */
xf_emit(, 1 0; java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 52
xf_emit(ctx, 1, 0); default
xf_emit(ctx, 2, 0); /* ffffffff SIFC_BITMAP_COLOR */
xf_emit(ctx, 1, 1); /* 00000001 SIFC_BITMAP_WRITE_BIT0_ENABLE */c,0;java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */
xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */
if (IS_NVA3F(device->chipset)) {
xf_emit(ctx, 1, 3); /* 00000003 tesla UNK16B4 */
xf_emit(ctx, 1, 0); /* 00000003 */
xf_emitxf_emit(,2,0) /* 111/113, 7f/ff */
- > 0xa0){
xf_emit(ctx, 1, 1); /* 00000001 tesla UNK16B4 */
xf_emit(ctx, 1 ctx,1,0; /* 00000001 GP_ENABLE */
}elsejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
xf_emitctx ,)/*
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
#MAX9485_NUM_CLKS4
xf_emit(tx,1magic3;/
xf_emit(ctx,define (1< 0java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
c,11;
(java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 57
xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */
xf_emit(tx,1,4) /* 000000ff GP_REG_ALLOC_RESULT */
xf_emit,1,2; /* 0000001f BLEND_FUNC_SRC_RGB */
if (IS_NVA3F(device->chipset)) {
,MAX9485_FS_48KHZ|P_0 */
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */
xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */
xf_emit,8, )/* 00000001 IBLEND_UNK00 */
xf_emit(,1magic3 /7 xf_emitctx 1 ;
itctx ,;*0000001 IBLEND_DST_RGB/
xf_emit(ctx, 8, ctx 1,0) /* 00000001 PROVOKING_VERTEX_LAST */
xf_emit(ctx, 8, 1); /* 0000001f IBLEND_DST_ALPHA */
xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */
}
000001UNK133C *
(ctx,
xf_emit(ctx, 1, 0x11) xf_emit(tx,1,0) * 00000001 GP_ENABLE */
xf_emit xf_emit(ctx,(,,) * UNK13A0 *
xf_emittx ,)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */
, 1,0) /* ff/3ff */
struct max9485_clk_hw* xf_emit(ctx ,0; /* 111/113 */
xf_emit(ctx,1 ) / clk_hw-enable_bit,
xf_emit(ctx
xf_emit(ctx, 1, 0); /* 7 */
10) *37DST_FORMAT */
(, 1 1) /
xf_emit( 1xf_emit
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 40
xf_emit( unsigned unsigned long parent_rate */
_xf_emit(x 3;/* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */
xf_emit returnentry>t
ctx,,)/ 0000001 teslaUNK169C /
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
xf_emit(ctx, 1, 0); /* 7/f[NVA3] MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 8java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */
xf_emitctx 1,1) /* 00000007 BLEND_EQUATION_ALPHA */
xf_emit(int magic1,magic2;
if
ctx, ,)
name= ""
(tx, ) /
xf_emit(ctx, 8, 1); /* 00000001 UNK19E0 */
(tx ,0x11);/*3f xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT *java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
magic2=0java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
intidx
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
,)
xf_emit(ctx,1 ) /*00000001 DEPTH_BOUNDS_EN *
xf_emit( xf_emit(ctx,1,1) /* 0000000f UNK16A0 */
_/
xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */
drvdata>
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 50
(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
xf_emit(ctx, 1, xf_emit,1 0; /* 00000001 UNK0FDC */
else
xf_emit(ctx, 3, 0); /* 1, 7, 3ff */
xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */
xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */
01 *
java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 32
xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */
ctx,1 ) /* 0000000f ZETA_FORMAT */
xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
xf_emitctx,1 0) /* 000000ff STENCIL_FRONT_MASK */hwii.|;
xf_emit(tx,1,0; /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
c,,0) * 00000001 tesla UNK1534 */teslajava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 44
xf_emit(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ifret<0)
xf_emit(devm_of_clk_add_hw_provider,drvdata
(ctx, 1 xfac6881; /* 0fffffff RT_CONTROL */
xf_emit(,1, 0; /* 00000001 DEPTH_BOUNDS_EN */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
xf_emit(,1 ) /* 00000001 DST_LINEAR */
xf_emit(ctx, (, 1 ) /
xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DU_DX_INT */
(,,0; /* 000fffff BLIT_DV_DY_FRACT */
xf_emit(ctx, , 1 0) * 00000001 SAMPLECNT_ENABLE */ ,0) /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 34
ctx ,; f/ teslaUNK0D68*
xf_emitctx,1{name=""
ctx {
xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */
,,0;
xf_emit(txc,,("
if (S_NVA3F(evicechipset
xf_emit(tx ,0; /* 00000001 ALPHA_TEST_ENABLE */
xf_emitctx,,0 /* 0000ffff DMA_COLOR */
xf_emit xf_emit(tx,1,3)/
(,1 0) /* 0000ffff DMA_LOCAL */
xf_emit(ctx xf_emit(tx,1,0) /* 00000003 tesla UNK1298 */
xf_emit(tx,1,0) /java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
xf_emit(ctx, 1, 0); /* 0000ffff DMA_DST */
t xf_emit(,,)/* 00000003 tesla UNK16B4 */
(,1,0; * 7/f MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(ctx, 1, 0); /* ffff0ff3 */
xf_emit( ctx ,); java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 50
xf_emit(ctx, 8, 0); /* ffffffff RT_LAYER_STRIDE */
xf_emitc ,0;/* ffffffff RT_ADDRESS_LOW */
xf_emit(ctx, 8, 8); /* 0000007f RT_TILE_MODE */
xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */
xf_emit(tx,7,0) /* 3f/7f RT_FORMAT */
xf_emit(tx,1 0x0fac6881) * 0fffffff RT_CONTROL */
xf_emit( ,0400) /
xf_emit(ctx, 8, 0x300); (tx,1,) /* 0000001f BLEND_FUNC_SRC_RGB */
xf_emit(tx,1,1; /* 00001fff RT_ARRAY_MODE */
xf_emit(ctx, 1 xf); /* 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 */
(tx,10;/
xf_emit(ctx, 1, 0x40); /* 0007ffff DST_PITCH */
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
xf_emit(, ,0) /* 000000ff DRAW_COLOR_FORMAT */
xf_emit(ctx, 1, 3); /* 00000003 tesla UNK15AC */
xf_emitctx 1,0; /* ff/3ff */
xf_emit(tx,1 0) /
xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */
xf_emit(ctx, 1, 0); /* 00000007 */
if (IS_NVA3F(device->chipset))
xf_emitctx,1,1;/
xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */
( ,0; /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
xf_emit(x,1,) 00000001 tesla *
xf_emit(,0; /* ffff0ff3 */
( ctx 1 x11;/* 3f/7f DST_FORMAT */
xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */
xf_emit(ctx, 1, 0); /* 0000ffff DMA_ZETA */
xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */
_ENABLE
xf_emit(ctx, xf_emit, 1,0; /* 000000ff SIFC_FORMAT */
xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */
xf_emit(tx,8 ) java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
xf_emit(,1,0) /* 0fffffff RT_CONTROL */
(tx 1,1; /* 00000001 tesla UNK15B4 */
, 1,0) /* 00000007 */
xf_emit( (ctx,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
xf_emitctx 1,0) /* 000000ff ZETA_ADDRESS_HIGH */
xf_emit(xf_emitctx,1,0x11) /* 3f/7f DST_FORMAT */
xf_emit(ctx, 1, 4); /* 00000007 ZETA_TILE_MODE */
xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */
xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */
xf_emit(ctx, 1, 0x400); /* 0fffffff ZETA_HORIZ */
ctx x) /* 0000ffff ZETA_VERT */
xf_emit(ctx, 1, 0 ,java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */
xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */
if(S_NVA3Fdevice-))
xf_emit(tx,1,);/java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 | |