Lines Matching refs:ctx
170 static void nv50_gr_construct_mmio(struct nvkm_grctx *ctx);
171 static void nv50_gr_construct_xfer1(struct nvkm_grctx *ctx);
172 static void nv50_gr_construct_xfer2(struct nvkm_grctx *ctx);
177 nv50_grctx_generate(struct nvkm_grctx *ctx) in nv50_grctx_generate() argument
179 cp_set (ctx, STATE, RUNNING); in nv50_grctx_generate()
180 cp_set (ctx, XFER_SWITCH, ENABLE); in nv50_grctx_generate()
182 cp_bra (ctx, AUTO_SAVE, PENDING, cp_setup_save); in nv50_grctx_generate()
183 cp_bra (ctx, USER_SAVE, PENDING, cp_setup_save); in nv50_grctx_generate()
185 cp_name(ctx, cp_check_load); in nv50_grctx_generate()
186 cp_bra (ctx, AUTO_LOAD, PENDING, cp_setup_auto_load); in nv50_grctx_generate()
187 cp_bra (ctx, USER_LOAD, PENDING, cp_setup_load); in nv50_grctx_generate()
188 cp_bra (ctx, ALWAYS, TRUE, cp_prepare_exit); in nv50_grctx_generate()
191 cp_name(ctx, cp_setup_auto_load); in nv50_grctx_generate()
192 cp_out (ctx, CP_DISABLE1); in nv50_grctx_generate()
193 cp_out (ctx, CP_DISABLE2); in nv50_grctx_generate()
194 cp_out (ctx, CP_ENABLE); in nv50_grctx_generate()
195 cp_out (ctx, CP_NEXT_TO_SWAP); in nv50_grctx_generate()
196 cp_set (ctx, UNK01, SET); in nv50_grctx_generate()
197 cp_name(ctx, cp_setup_load); in nv50_grctx_generate()
198 cp_out (ctx, CP_NEWCTX); in nv50_grctx_generate()
199 cp_wait(ctx, NEWCTX, BUSY); in nv50_grctx_generate()
200 cp_set (ctx, UNK1D, CLEAR); in nv50_grctx_generate()
201 cp_set (ctx, SWAP_DIRECTION, LOAD); in nv50_grctx_generate()
202 cp_bra (ctx, UNK0B, SET, cp_prepare_exit); in nv50_grctx_generate()
203 cp_bra (ctx, ALWAYS, TRUE, cp_swap_state); in nv50_grctx_generate()
206 cp_name(ctx, cp_setup_save); in nv50_grctx_generate()
207 cp_set (ctx, UNK1D, SET); in nv50_grctx_generate()
208 cp_wait(ctx, STATUS, BUSY); in nv50_grctx_generate()
209 cp_wait(ctx, INTR, PENDING); in nv50_grctx_generate()
210 cp_bra (ctx, STATUS, BUSY, cp_setup_save); in nv50_grctx_generate()
211 cp_set (ctx, UNK01, SET); in nv50_grctx_generate()
212 cp_set (ctx, SWAP_DIRECTION, SAVE); in nv50_grctx_generate()
215 cp_name(ctx, cp_swap_state); in nv50_grctx_generate()
216 cp_set (ctx, UNK03, SET); in nv50_grctx_generate()
217 cp_pos (ctx, 0x00004/4); in nv50_grctx_generate()
218 cp_ctx (ctx, 0x400828, 1); /* needed. otherwise, flickering happens. */ in nv50_grctx_generate()
219 cp_pos (ctx, 0x00100/4); in nv50_grctx_generate()
220 nv50_gr_construct_mmio(ctx); in nv50_grctx_generate()
221 nv50_gr_construct_xfer1(ctx); in nv50_grctx_generate()
222 nv50_gr_construct_xfer2(ctx); in nv50_grctx_generate()
224 cp_bra (ctx, SWAP_DIRECTION, SAVE, cp_check_load); in nv50_grctx_generate()
226 cp_set (ctx, UNK20, SET); in nv50_grctx_generate()
227 …cp_set (ctx, SWAP_DIRECTION, SAVE); /* no idea why this is needed, but fixes at least one lockup. … in nv50_grctx_generate()
228 cp_lsr (ctx, ctx->ctxvals_base); in nv50_grctx_generate()
229 cp_out (ctx, CP_SET_XFER_POINTER); in nv50_grctx_generate()
230 cp_lsr (ctx, 4); in nv50_grctx_generate()
231 cp_out (ctx, CP_SEEK_1); in nv50_grctx_generate()
232 cp_out (ctx, CP_XFER_1); in nv50_grctx_generate()
233 cp_wait(ctx, XFER, BUSY); in nv50_grctx_generate()
236 cp_name(ctx, cp_prepare_exit); in nv50_grctx_generate()
237 cp_set (ctx, UNK01, CLEAR); in nv50_grctx_generate()
238 cp_set (ctx, UNK03, CLEAR); in nv50_grctx_generate()
239 cp_set (ctx, UNK1D, CLEAR); in nv50_grctx_generate()
241 cp_bra (ctx, USER_SAVE, PENDING, cp_exit); in nv50_grctx_generate()
242 cp_out (ctx, CP_NEXT_TO_CURRENT); in nv50_grctx_generate()
244 cp_name(ctx, cp_exit); in nv50_grctx_generate()
245 cp_set (ctx, USER_SAVE, NOT_PENDING); in nv50_grctx_generate()
246 cp_set (ctx, USER_LOAD, NOT_PENDING); in nv50_grctx_generate()
247 cp_set (ctx, XFER_SWITCH, DISABLE); in nv50_grctx_generate()
248 cp_set (ctx, STATE, STOPPED); in nv50_grctx_generate()
249 cp_out (ctx, CP_END); in nv50_grctx_generate()
250 ctx->ctxvals_pos += 0x400; /* padding... no idea why you need it */ in nv50_grctx_generate()
269 struct nvkm_grctx ctx = { in nv50_grctx_init() local
278 nv50_grctx_generate(&ctx); in nv50_grctx_init()
281 for (i = 0; i < ctx.ctxprog_len; i++) in nv50_grctx_init()
283 *size = ctx.ctxvals_pos * 4; in nv50_grctx_init()
294 nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx);
297 nv50_gr_construct_mmio(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio() argument
299 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio()
305 cp_ctx(ctx, 0x400808, 7); in nv50_gr_construct_mmio()
306 gr_def(ctx, 0x400814, 0x00000030); in nv50_gr_construct_mmio()
307 cp_ctx(ctx, 0x400834, 0x32); in nv50_gr_construct_mmio()
309 gr_def(ctx, 0x400834, 0xff400040); in nv50_gr_construct_mmio()
310 gr_def(ctx, 0x400838, 0xfff00080); in nv50_gr_construct_mmio()
311 gr_def(ctx, 0x40083c, 0xfff70090); in nv50_gr_construct_mmio()
312 gr_def(ctx, 0x400840, 0xffe806a8); in nv50_gr_construct_mmio()
314 gr_def(ctx, 0x400844, 0x00000002); in nv50_gr_construct_mmio()
316 gr_def(ctx, 0x400894, 0x00001000); in nv50_gr_construct_mmio()
317 gr_def(ctx, 0x4008e8, 0x00000003); in nv50_gr_construct_mmio()
318 gr_def(ctx, 0x4008ec, 0x00001000); in nv50_gr_construct_mmio()
320 cp_ctx(ctx, 0x400908, 0xb); in nv50_gr_construct_mmio()
322 cp_ctx(ctx, 0x400908, 0xc); in nv50_gr_construct_mmio()
324 cp_ctx(ctx, 0x400908, 0xe); in nv50_gr_construct_mmio()
327 cp_ctx(ctx, 0x400b00, 0x1); in nv50_gr_construct_mmio()
329 cp_ctx(ctx, 0x400b10, 0x1); in nv50_gr_construct_mmio()
330 gr_def(ctx, 0x400b10, 0x0001629d); in nv50_gr_construct_mmio()
331 cp_ctx(ctx, 0x400b20, 0x1); in nv50_gr_construct_mmio()
332 gr_def(ctx, 0x400b20, 0x0001629d); in nv50_gr_construct_mmio()
335 nv50_gr_construct_mmio_ddata(ctx); in nv50_gr_construct_mmio()
338 cp_ctx(ctx, 0x400c08, 0x2); in nv50_gr_construct_mmio()
339 gr_def(ctx, 0x400c08, 0x0000fe0c); in nv50_gr_construct_mmio()
343 cp_ctx(ctx, 0x401008, 0x4); in nv50_gr_construct_mmio()
344 gr_def(ctx, 0x401014, 0x00001000); in nv50_gr_construct_mmio()
346 cp_ctx(ctx, 0x401008, 0x5); in nv50_gr_construct_mmio()
347 gr_def(ctx, 0x401018, 0x00001000); in nv50_gr_construct_mmio()
349 cp_ctx(ctx, 0x401008, 0x5); in nv50_gr_construct_mmio()
350 gr_def(ctx, 0x401018, 0x00004000); in nv50_gr_construct_mmio()
354 cp_ctx(ctx, 0x401400, 0x8); in nv50_gr_construct_mmio()
355 cp_ctx(ctx, 0x401424, 0x3); in nv50_gr_construct_mmio()
357 gr_def(ctx, 0x40142c, 0x0001fd87); in nv50_gr_construct_mmio()
359 gr_def(ctx, 0x40142c, 0x00000187); in nv50_gr_construct_mmio()
360 cp_ctx(ctx, 0x401540, 0x5); in nv50_gr_construct_mmio()
361 gr_def(ctx, 0x401550, 0x00001018); in nv50_gr_construct_mmio()
364 cp_ctx(ctx, 0x401814, 0x1); in nv50_gr_construct_mmio()
365 gr_def(ctx, 0x401814, 0x000000ff); in nv50_gr_construct_mmio()
367 cp_ctx(ctx, 0x40181c, 0xe); in nv50_gr_construct_mmio()
368 gr_def(ctx, 0x401850, 0x00000004); in nv50_gr_construct_mmio()
370 cp_ctx(ctx, 0x40181c, 0xf); in nv50_gr_construct_mmio()
371 gr_def(ctx, 0x401854, 0x00000004); in nv50_gr_construct_mmio()
373 cp_ctx(ctx, 0x40181c, 0x13); in nv50_gr_construct_mmio()
374 gr_def(ctx, 0x401864, 0x00000004); in nv50_gr_construct_mmio()
378 cp_ctx(ctx, 0x401c00, 0x1); in nv50_gr_construct_mmio()
381 gr_def(ctx, 0x401c00, 0x0001005f); in nv50_gr_construct_mmio()
386 gr_def(ctx, 0x401c00, 0x044d00df); in nv50_gr_construct_mmio()
394 gr_def(ctx, 0x401c00, 0x042500df); in nv50_gr_construct_mmio()
400 gr_def(ctx, 0x401c00, 0x142500df); in nv50_gr_construct_mmio()
407 cp_ctx(ctx, 0x402400, 0x1); in nv50_gr_construct_mmio()
409 cp_ctx(ctx, 0x402408, 0x1); in nv50_gr_construct_mmio()
411 cp_ctx(ctx, 0x402408, 0x2); in nv50_gr_construct_mmio()
412 gr_def(ctx, 0x402408, 0x00000600); in nv50_gr_construct_mmio()
415 cp_ctx(ctx, 0x402800, 0x1); in nv50_gr_construct_mmio()
417 gr_def(ctx, 0x402800, 0x00000006); in nv50_gr_construct_mmio()
420 cp_ctx(ctx, 0x402c08, 0x6); in nv50_gr_construct_mmio()
422 gr_def(ctx, 0x402c14, 0x01000000); in nv50_gr_construct_mmio()
423 gr_def(ctx, 0x402c18, 0x000000ff); in nv50_gr_construct_mmio()
425 cp_ctx(ctx, 0x402ca0, 0x1); in nv50_gr_construct_mmio()
427 cp_ctx(ctx, 0x402ca0, 0x2); in nv50_gr_construct_mmio()
429 gr_def(ctx, 0x402ca0, 0x00000400); in nv50_gr_construct_mmio()
431 gr_def(ctx, 0x402ca0, 0x00000800); in nv50_gr_construct_mmio()
433 gr_def(ctx, 0x402ca0, 0x00000400); in nv50_gr_construct_mmio()
434 cp_ctx(ctx, 0x402cac, 0x4); in nv50_gr_construct_mmio()
437 cp_ctx(ctx, 0x403004, 0x1); in nv50_gr_construct_mmio()
438 gr_def(ctx, 0x403004, 0x00000001); in nv50_gr_construct_mmio()
442 cp_ctx(ctx, 0x403404, 0x1); in nv50_gr_construct_mmio()
443 gr_def(ctx, 0x403404, 0x00000001); in nv50_gr_construct_mmio()
447 cp_ctx(ctx, 0x405000, 0x1); in nv50_gr_construct_mmio()
450 gr_def(ctx, 0x405000, 0x00300080); in nv50_gr_construct_mmio()
460 gr_def(ctx, 0x405000, 0x000e0080); in nv50_gr_construct_mmio()
467 gr_def(ctx, 0x405000, 0x00000080); in nv50_gr_construct_mmio()
470 cp_ctx(ctx, 0x405014, 0x1); in nv50_gr_construct_mmio()
471 gr_def(ctx, 0x405014, 0x00000004); in nv50_gr_construct_mmio()
472 cp_ctx(ctx, 0x40501c, 0x1); in nv50_gr_construct_mmio()
473 cp_ctx(ctx, 0x405024, 0x1); in nv50_gr_construct_mmio()
474 cp_ctx(ctx, 0x40502c, 0x1); in nv50_gr_construct_mmio()
478 cp_ctx(ctx, 0x4063e0, 0x1); in nv50_gr_construct_mmio()
482 cp_ctx(ctx, 0x406814, 0x2b); in nv50_gr_construct_mmio()
483 gr_def(ctx, 0x406818, 0x00000f80); in nv50_gr_construct_mmio()
484 gr_def(ctx, 0x406860, 0x007f0080); in nv50_gr_construct_mmio()
485 gr_def(ctx, 0x40689c, 0x007f0080); in nv50_gr_construct_mmio()
487 cp_ctx(ctx, 0x406814, 0x4); in nv50_gr_construct_mmio()
489 gr_def(ctx, 0x406818, 0x00000f80); in nv50_gr_construct_mmio()
491 gr_def(ctx, 0x406818, 0x00001f80); in nv50_gr_construct_mmio()
493 gr_def(ctx, 0x40681c, 0x00000030); in nv50_gr_construct_mmio()
494 cp_ctx(ctx, 0x406830, 0x3); in nv50_gr_construct_mmio()
500 cp_ctx(ctx, 0x407000 + (i<<8), 3); in nv50_gr_construct_mmio()
502 gr_def(ctx, 0x407000 + (i<<8), 0x1b74f820); in nv50_gr_construct_mmio()
504 gr_def(ctx, 0x407000 + (i<<8), 0x3b74f821); in nv50_gr_construct_mmio()
506 gr_def(ctx, 0x407000 + (i<<8), 0x7b74f821); in nv50_gr_construct_mmio()
507 gr_def(ctx, 0x407004 + (i<<8), 0x89058001); in nv50_gr_construct_mmio()
510 cp_ctx(ctx, 0x407010 + (i<<8), 1); in nv50_gr_construct_mmio()
512 cp_ctx(ctx, 0x407010 + (i<<8), 2); in nv50_gr_construct_mmio()
513 gr_def(ctx, 0x407010 + (i<<8), 0x00001000); in nv50_gr_construct_mmio()
514 gr_def(ctx, 0x407014 + (i<<8), 0x0000001f); in nv50_gr_construct_mmio()
516 cp_ctx(ctx, 0x407010 + (i<<8), 3); in nv50_gr_construct_mmio()
517 gr_def(ctx, 0x407010 + (i<<8), 0x00001000); in nv50_gr_construct_mmio()
519 gr_def(ctx, 0x407014 + (i<<8), 0x000000ff); in nv50_gr_construct_mmio()
521 gr_def(ctx, 0x407014 + (i<<8), 0x000001ff); in nv50_gr_construct_mmio()
524 cp_ctx(ctx, 0x407080 + (i<<8), 4); in nv50_gr_construct_mmio()
526 gr_def(ctx, 0x407080 + (i<<8), 0x027c10fa); in nv50_gr_construct_mmio()
528 gr_def(ctx, 0x407080 + (i<<8), 0x827c10fa); in nv50_gr_construct_mmio()
530 gr_def(ctx, 0x407084 + (i<<8), 0x000000c0); in nv50_gr_construct_mmio()
532 gr_def(ctx, 0x407084 + (i<<8), 0x400000c0); in nv50_gr_construct_mmio()
533 gr_def(ctx, 0x407088 + (i<<8), 0xb7892080); in nv50_gr_construct_mmio()
536 cp_ctx(ctx, 0x407094 + (i<<8), 1); in nv50_gr_construct_mmio()
538 cp_ctx(ctx, 0x407094 + (i<<8), 3); in nv50_gr_construct_mmio()
540 cp_ctx(ctx, 0x407094 + (i<<8), 4); in nv50_gr_construct_mmio()
541 gr_def(ctx, 0x4070a0 + (i<<8), 1); in nv50_gr_construct_mmio()
546 cp_ctx(ctx, 0x407c00, 0x3); in nv50_gr_construct_mmio()
548 gr_def(ctx, 0x407c00, 0x00010040); in nv50_gr_construct_mmio()
550 gr_def(ctx, 0x407c00, 0x00390040); in nv50_gr_construct_mmio()
552 gr_def(ctx, 0x407c00, 0x003d0040); in nv50_gr_construct_mmio()
553 gr_def(ctx, 0x407c08, 0x00000022); in nv50_gr_construct_mmio()
555 cp_ctx(ctx, 0x407c10, 0x3); in nv50_gr_construct_mmio()
556 cp_ctx(ctx, 0x407c20, 0x1); in nv50_gr_construct_mmio()
557 cp_ctx(ctx, 0x407c2c, 0x1); in nv50_gr_construct_mmio()
561 cp_ctx(ctx, 0x407d00, 0x9); in nv50_gr_construct_mmio()
563 cp_ctx(ctx, 0x407d00, 0x15); in nv50_gr_construct_mmio()
566 gr_def(ctx, 0x407d08, 0x00380040); in nv50_gr_construct_mmio()
569 gr_def(ctx, 0x407d08, 0x00010040); in nv50_gr_construct_mmio()
571 gr_def(ctx, 0x407d08, 0x00390040); in nv50_gr_construct_mmio()
574 gr_def(ctx, 0x407d08, 0x003d0040); in nv50_gr_construct_mmio()
576 gr_def(ctx, 0x407d08, 0x003c0040); in nv50_gr_construct_mmio()
578 gr_def(ctx, 0x407d0c, 0x00000022); in nv50_gr_construct_mmio()
592 cp_ctx(ctx, offset + 0x00, 1); in nv50_gr_construct_mmio()
593 gr_def(ctx, offset + 0x00, 0x0000ff0a); in nv50_gr_construct_mmio()
594 cp_ctx(ctx, offset + 0x08, 1); in nv50_gr_construct_mmio()
603 cp_ctx(ctx, offset, 0x20); in nv50_gr_construct_mmio()
604 gr_def(ctx, offset + 0x00, 0x01800000); in nv50_gr_construct_mmio()
605 gr_def(ctx, offset + 0x04, 0x00160000); in nv50_gr_construct_mmio()
606 gr_def(ctx, offset + 0x08, 0x01800000); in nv50_gr_construct_mmio()
607 gr_def(ctx, offset + 0x18, 0x0003ffff); in nv50_gr_construct_mmio()
610 gr_def(ctx, offset + 0x1c, 0x00080000); in nv50_gr_construct_mmio()
613 gr_def(ctx, offset + 0x1c, 0x00880000); in nv50_gr_construct_mmio()
616 gr_def(ctx, offset + 0x1c, 0x018c0000); in nv50_gr_construct_mmio()
621 gr_def(ctx, offset + 0x1c, 0x118c0000); in nv50_gr_construct_mmio()
624 gr_def(ctx, offset + 0x1c, 0x10880000); in nv50_gr_construct_mmio()
628 gr_def(ctx, offset + 0x1c, 0x310c0000); in nv50_gr_construct_mmio()
635 gr_def(ctx, offset + 0x1c, 0x300c0000); in nv50_gr_construct_mmio()
638 gr_def(ctx, offset + 0x40, 0x00010401); in nv50_gr_construct_mmio()
640 gr_def(ctx, offset + 0x48, 0x00000040); in nv50_gr_construct_mmio()
642 gr_def(ctx, offset + 0x48, 0x00000078); in nv50_gr_construct_mmio()
643 gr_def(ctx, offset + 0x50, 0x000000bf); in nv50_gr_construct_mmio()
644 gr_def(ctx, offset + 0x58, 0x00001210); in nv50_gr_construct_mmio()
646 gr_def(ctx, offset + 0x5c, 0x00000080); in nv50_gr_construct_mmio()
648 gr_def(ctx, offset + 0x5c, 0x08000080); in nv50_gr_construct_mmio()
650 gr_def(ctx, offset + 0x68, 0x0000003e); in nv50_gr_construct_mmio()
654 cp_ctx(ctx, base + 0x300, 0x4); in nv50_gr_construct_mmio()
656 cp_ctx(ctx, base + 0x300, 0x5); in nv50_gr_construct_mmio()
658 gr_def(ctx, base + 0x304, 0x00007070); in nv50_gr_construct_mmio()
660 gr_def(ctx, base + 0x304, 0x00027070); in nv50_gr_construct_mmio()
662 gr_def(ctx, base + 0x304, 0x01127070); in nv50_gr_construct_mmio()
664 gr_def(ctx, base + 0x304, 0x05127070); in nv50_gr_construct_mmio()
667 cp_ctx(ctx, base + 0x318, 1); in nv50_gr_construct_mmio()
669 cp_ctx(ctx, base + 0x320, 1); in nv50_gr_construct_mmio()
671 gr_def(ctx, base + 0x318, 0x0003ffff); in nv50_gr_construct_mmio()
673 gr_def(ctx, base + 0x318, 0x03ffffff); in nv50_gr_construct_mmio()
675 gr_def(ctx, base + 0x320, 0x07ffffff); in nv50_gr_construct_mmio()
678 cp_ctx(ctx, base + 0x324, 5); in nv50_gr_construct_mmio()
680 cp_ctx(ctx, base + 0x328, 4); in nv50_gr_construct_mmio()
683 cp_ctx(ctx, base + 0x340, 9); in nv50_gr_construct_mmio()
686 cp_ctx(ctx, base + 0x33c, 0xb); in nv50_gr_construct_mmio()
689 cp_ctx(ctx, base + 0x33c, 0xd); in nv50_gr_construct_mmio()
692 gr_def(ctx, offset + 0x0, 0x00120407); in nv50_gr_construct_mmio()
693 gr_def(ctx, offset + 0x4, 0x05091507); in nv50_gr_construct_mmio()
695 gr_def(ctx, offset + 0x8, 0x05100202); in nv50_gr_construct_mmio()
697 gr_def(ctx, offset + 0x8, 0x05010202); in nv50_gr_construct_mmio()
698 gr_def(ctx, offset + 0xc, 0x00030201); in nv50_gr_construct_mmio()
700 cp_ctx(ctx, base + 0x36c, 1); in nv50_gr_construct_mmio()
702 cp_ctx(ctx, base + 0x400, 2); in nv50_gr_construct_mmio()
703 gr_def(ctx, base + 0x404, 0x00000040); in nv50_gr_construct_mmio()
704 cp_ctx(ctx, base + 0x40c, 2); in nv50_gr_construct_mmio()
705 gr_def(ctx, base + 0x40c, 0x0d0c0b0a); in nv50_gr_construct_mmio()
706 gr_def(ctx, base + 0x410, 0x00141210); in nv50_gr_construct_mmio()
712 cp_ctx(ctx, offset, 6); in nv50_gr_construct_mmio()
713 gr_def(ctx, offset + 0x0, 0x000001f0); in nv50_gr_construct_mmio()
714 gr_def(ctx, offset + 0x4, 0x00000001); in nv50_gr_construct_mmio()
715 gr_def(ctx, offset + 0x8, 0x00000003); in nv50_gr_construct_mmio()
717 gr_def(ctx, offset + 0xc, 0x00008000); in nv50_gr_construct_mmio()
718 gr_def(ctx, offset + 0x14, 0x00039e00); in nv50_gr_construct_mmio()
719 cp_ctx(ctx, offset + 0x1c, 2); in nv50_gr_construct_mmio()
721 gr_def(ctx, offset + 0x1c, 0x00000040); in nv50_gr_construct_mmio()
723 gr_def(ctx, offset + 0x1c, 0x00000100); in nv50_gr_construct_mmio()
724 gr_def(ctx, offset + 0x20, 0x00003800); in nv50_gr_construct_mmio()
727 cp_ctx(ctx, base + 0x54c, 2); in nv50_gr_construct_mmio()
729 gr_def(ctx, base + 0x54c, 0x003fe006); in nv50_gr_construct_mmio()
731 gr_def(ctx, base + 0x54c, 0x003fe007); in nv50_gr_construct_mmio()
732 gr_def(ctx, base + 0x550, 0x003fe000); in nv50_gr_construct_mmio()
739 cp_ctx(ctx, offset, 1); in nv50_gr_construct_mmio()
740 gr_def(ctx, offset, 0x00404040); in nv50_gr_construct_mmio()
746 cp_ctx(ctx, offset, 2); in nv50_gr_construct_mmio()
748 gr_def(ctx, offset, 0x0077f005); in nv50_gr_construct_mmio()
750 gr_def(ctx, offset, 0x6cf7f007); in nv50_gr_construct_mmio()
752 gr_def(ctx, offset, 0x6cfff007); in nv50_gr_construct_mmio()
754 gr_def(ctx, offset, 0x0cfff007); in nv50_gr_construct_mmio()
756 gr_def(ctx, offset, 0x0cf7f007); in nv50_gr_construct_mmio()
758 gr_def(ctx, offset + 0x4, 0x00007fff); in nv50_gr_construct_mmio()
760 gr_def(ctx, offset + 0x4, 0x003f7fff); in nv50_gr_construct_mmio()
762 gr_def(ctx, offset + 0x4, 0x02bf7fff); in nv50_gr_construct_mmio()
763 cp_ctx(ctx, offset + 0x2c, 1); in nv50_gr_construct_mmio()
765 cp_ctx(ctx, offset + 0x50, 9); in nv50_gr_construct_mmio()
766 gr_def(ctx, offset + 0x54, 0x000003ff); in nv50_gr_construct_mmio()
767 gr_def(ctx, offset + 0x58, 0x00000003); in nv50_gr_construct_mmio()
768 gr_def(ctx, offset + 0x5c, 0x00000003); in nv50_gr_construct_mmio()
769 gr_def(ctx, offset + 0x60, 0x000001ff); in nv50_gr_construct_mmio()
770 gr_def(ctx, offset + 0x64, 0x0000001f); in nv50_gr_construct_mmio()
771 gr_def(ctx, offset + 0x68, 0x0000000f); in nv50_gr_construct_mmio()
772 gr_def(ctx, offset + 0x6c, 0x0000000f); in nv50_gr_construct_mmio()
774 cp_ctx(ctx, offset + 0x50, 1); in nv50_gr_construct_mmio()
775 cp_ctx(ctx, offset + 0x70, 1); in nv50_gr_construct_mmio()
777 cp_ctx(ctx, offset + 0x50, 1); in nv50_gr_construct_mmio()
778 cp_ctx(ctx, offset + 0x60, 5); in nv50_gr_construct_mmio()
785 dd_emit(struct nvkm_grctx *ctx, int num, u32 val) { in dd_emit() argument
787 if (val && ctx->mode == NVKM_GRCTX_VALS) { in dd_emit()
789 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + i), val); in dd_emit()
791 ctx->ctxvals_pos += num; in dd_emit()
795 nv50_gr_construct_mmio_ddata(struct nvkm_grctx *ctx) in nv50_gr_construct_mmio_ddata() argument
797 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio_ddata()
799 base = ctx->ctxvals_pos; in nv50_gr_construct_mmio_ddata()
802 dd_emit(ctx, 1, 0); /* 00000001 UNK0F90 */ in nv50_gr_construct_mmio_ddata()
803 dd_emit(ctx, 1, 0); /* 00000001 UNK135C */ in nv50_gr_construct_mmio_ddata()
806 dd_emit(ctx, 1, 0); /* 00000007 SRC_TILE_MODE_Z */ in nv50_gr_construct_mmio_ddata()
807 dd_emit(ctx, 1, 2); /* 00000007 SRC_TILE_MODE_Y */ in nv50_gr_construct_mmio_ddata()
808 dd_emit(ctx, 1, 1); /* 00000001 SRC_LINEAR #1 */ in nv50_gr_construct_mmio_ddata()
809 dd_emit(ctx, 1, 0); /* 000000ff SRC_ADDRESS_HIGH */ in nv50_gr_construct_mmio_ddata()
810 dd_emit(ctx, 1, 0); /* 00000001 SRC_SRGB */ in nv50_gr_construct_mmio_ddata()
812 dd_emit(ctx, 1, 0); /* 00000003 eng2d UNK0258 */ in nv50_gr_construct_mmio_ddata()
813 dd_emit(ctx, 1, 1); /* 00000fff SRC_DEPTH */ in nv50_gr_construct_mmio_ddata()
814 dd_emit(ctx, 1, 0x100); /* 0000ffff SRC_HEIGHT */ in nv50_gr_construct_mmio_ddata()
817 dd_emit(ctx, 1, 0); /* 0000000f TEXTURES_LOG2 */ in nv50_gr_construct_mmio_ddata()
818 dd_emit(ctx, 1, 0); /* 0000000f SAMPLERS_LOG2 */ in nv50_gr_construct_mmio_ddata()
819 dd_emit(ctx, 1, 0); /* 000000ff CB_DEF_ADDRESS_HIGH */ in nv50_gr_construct_mmio_ddata()
820 dd_emit(ctx, 1, 0); /* ffffffff CB_DEF_ADDRESS_LOW */ in nv50_gr_construct_mmio_ddata()
821 dd_emit(ctx, 1, 0); /* ffffffff SHARED_SIZE */ in nv50_gr_construct_mmio_ddata()
822 dd_emit(ctx, 1, 2); /* ffffffff REG_MODE */ in nv50_gr_construct_mmio_ddata()
823 dd_emit(ctx, 1, 1); /* 0000ffff BLOCK_ALLOC_THREADS */ in nv50_gr_construct_mmio_ddata()
824 dd_emit(ctx, 1, 1); /* 00000001 LANES32 */ in nv50_gr_construct_mmio_ddata()
825 dd_emit(ctx, 1, 0); /* 000000ff UNK370 */ in nv50_gr_construct_mmio_ddata()
826 dd_emit(ctx, 1, 0); /* 000000ff USER_PARAM_UNK */ in nv50_gr_construct_mmio_ddata()
827 dd_emit(ctx, 1, 0); /* 000000ff USER_PARAM_COUNT */ in nv50_gr_construct_mmio_ddata()
828 dd_emit(ctx, 1, 1); /* 000000ff UNK384 bits 8-15 */ in nv50_gr_construct_mmio_ddata()
829 dd_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */ in nv50_gr_construct_mmio_ddata()
830 dd_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */ in nv50_gr_construct_mmio_ddata()
831 dd_emit(ctx, 1, 0); /* 0000ffff CB_ADDR_INDEX */ in nv50_gr_construct_mmio_ddata()
832 dd_emit(ctx, 1, 1); /* 000007ff BLOCKDIM_X */ in nv50_gr_construct_mmio_ddata()
833 dd_emit(ctx, 1, 1); /* 000007ff BLOCKDIM_XMY */ in nv50_gr_construct_mmio_ddata()
834 dd_emit(ctx, 1, 0); /* 00000001 BLOCKDIM_XMY_OVERFLOW */ in nv50_gr_construct_mmio_ddata()
835 dd_emit(ctx, 1, 1); /* 0003ffff BLOCKDIM_XMYMZ */ in nv50_gr_construct_mmio_ddata()
836 dd_emit(ctx, 1, 1); /* 000007ff BLOCKDIM_Y */ in nv50_gr_construct_mmio_ddata()
837 dd_emit(ctx, 1, 1); /* 0000007f BLOCKDIM_Z */ in nv50_gr_construct_mmio_ddata()
838 dd_emit(ctx, 1, 4); /* 000000ff CP_REG_ALLOC_TEMP */ in nv50_gr_construct_mmio_ddata()
839 dd_emit(ctx, 1, 1); /* 00000001 BLOCKDIM_DIRTY */ in nv50_gr_construct_mmio_ddata()
841 dd_emit(ctx, 1, 0); /* 00000003 UNK03E8 */ in nv50_gr_construct_mmio_ddata()
842 dd_emit(ctx, 1, 1); /* 0000007f BLOCK_ALLOC_HALFWARPS */ in nv50_gr_construct_mmio_ddata()
843 dd_emit(ctx, 1, 1); /* 00000007 LOCAL_WARPS_NO_CLAMP */ in nv50_gr_construct_mmio_ddata()
844 dd_emit(ctx, 1, 7); /* 00000007 LOCAL_WARPS_LOG_ALLOC */ in nv50_gr_construct_mmio_ddata()
845 dd_emit(ctx, 1, 1); /* 00000007 STACK_WARPS_NO_CLAMP */ in nv50_gr_construct_mmio_ddata()
846 dd_emit(ctx, 1, 7); /* 00000007 STACK_WARPS_LOG_ALLOC */ in nv50_gr_construct_mmio_ddata()
847 dd_emit(ctx, 1, 1); /* 00001fff BLOCK_ALLOC_REGSLOTS_PACKED */ in nv50_gr_construct_mmio_ddata()
848 dd_emit(ctx, 1, 1); /* 00001fff BLOCK_ALLOC_REGSLOTS_STRIDED */ in nv50_gr_construct_mmio_ddata()
849 dd_emit(ctx, 1, 1); /* 000007ff BLOCK_ALLOC_THREADS */ in nv50_gr_construct_mmio_ddata()
853 dd_emit(ctx, 4, 0); /* 0000ffff clip X, Y, W, H */ in nv50_gr_construct_mmio_ddata()
855 dd_emit(ctx, 1, 1); /* ffffffff chroma COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
857 dd_emit(ctx, 1, 1); /* ffffffff pattern COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
858 dd_emit(ctx, 1, 0); /* ffffffff pattern SHAPE */ in nv50_gr_construct_mmio_ddata()
859 dd_emit(ctx, 1, 1); /* ffffffff pattern PATTERN_SELECT */ in nv50_gr_construct_mmio_ddata()
861 dd_emit(ctx, 1, 0xa); /* ffffffff surf2d SRC_FORMAT */ in nv50_gr_construct_mmio_ddata()
862 dd_emit(ctx, 1, 0); /* ffffffff surf2d DMA_SRC */ in nv50_gr_construct_mmio_ddata()
863 dd_emit(ctx, 1, 0); /* 000000ff surf2d SRC_ADDRESS_HIGH */ in nv50_gr_construct_mmio_ddata()
864 dd_emit(ctx, 1, 0); /* ffffffff surf2d SRC_ADDRESS_LOW */ in nv50_gr_construct_mmio_ddata()
865 dd_emit(ctx, 1, 0x40); /* 0000ffff surf2d SRC_PITCH */ in nv50_gr_construct_mmio_ddata()
866 dd_emit(ctx, 1, 0); /* 0000000f surf2d SRC_TILE_MODE_Z */ in nv50_gr_construct_mmio_ddata()
867 dd_emit(ctx, 1, 2); /* 0000000f surf2d SRC_TILE_MODE_Y */ in nv50_gr_construct_mmio_ddata()
868 dd_emit(ctx, 1, 0x100); /* ffffffff surf2d SRC_HEIGHT */ in nv50_gr_construct_mmio_ddata()
869 dd_emit(ctx, 1, 1); /* 00000001 surf2d SRC_LINEAR */ in nv50_gr_construct_mmio_ddata()
870 dd_emit(ctx, 1, 0x100); /* ffffffff surf2d SRC_WIDTH */ in nv50_gr_construct_mmio_ddata()
872 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_B_X */ in nv50_gr_construct_mmio_ddata()
873 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_B_Y */ in nv50_gr_construct_mmio_ddata()
874 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_C_X */ in nv50_gr_construct_mmio_ddata()
875 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_C_Y */ in nv50_gr_construct_mmio_ddata()
876 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_D_X */ in nv50_gr_construct_mmio_ddata()
877 dd_emit(ctx, 1, 0); /* 0000ffff gdirect CLIP_D_Y */ in nv50_gr_construct_mmio_ddata()
878 dd_emit(ctx, 1, 1); /* ffffffff gdirect COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
879 dd_emit(ctx, 1, 0); /* ffffffff gdirect OPERATION */ in nv50_gr_construct_mmio_ddata()
880 dd_emit(ctx, 1, 0); /* 0000ffff gdirect POINT_X */ in nv50_gr_construct_mmio_ddata()
881 dd_emit(ctx, 1, 0); /* 0000ffff gdirect POINT_Y */ in nv50_gr_construct_mmio_ddata()
883 dd_emit(ctx, 1, 0); /* 0000ffff blit SRC_Y */ in nv50_gr_construct_mmio_ddata()
884 dd_emit(ctx, 1, 0); /* ffffffff blit OPERATION */ in nv50_gr_construct_mmio_ddata()
886 dd_emit(ctx, 1, 0); /* ffffffff ifc OPERATION */ in nv50_gr_construct_mmio_ddata()
888 dd_emit(ctx, 1, 0); /* ffffffff iifc INDEX_FORMAT */ in nv50_gr_construct_mmio_ddata()
889 dd_emit(ctx, 1, 0); /* ffffffff iifc LUT_OFFSET */ in nv50_gr_construct_mmio_ddata()
890 dd_emit(ctx, 1, 4); /* ffffffff iifc COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
891 dd_emit(ctx, 1, 0); /* ffffffff iifc OPERATION */ in nv50_gr_construct_mmio_ddata()
895 dd_emit(ctx, 1, 0); /* ffffffff m2mf LINE_COUNT */ in nv50_gr_construct_mmio_ddata()
896 dd_emit(ctx, 1, 0); /* ffffffff m2mf LINE_LENGTH_IN */ in nv50_gr_construct_mmio_ddata()
897 dd_emit(ctx, 2, 0); /* ffffffff m2mf OFFSET_IN, OFFSET_OUT */ in nv50_gr_construct_mmio_ddata()
898 dd_emit(ctx, 1, 1); /* ffffffff m2mf TILING_DEPTH_OUT */ in nv50_gr_construct_mmio_ddata()
899 dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_HEIGHT_OUT */ in nv50_gr_construct_mmio_ddata()
900 dd_emit(ctx, 1, 0); /* ffffffff m2mf TILING_POSITION_OUT_Z */ in nv50_gr_construct_mmio_ddata()
901 dd_emit(ctx, 1, 1); /* 00000001 m2mf LINEAR_OUT */ in nv50_gr_construct_mmio_ddata()
902 dd_emit(ctx, 2, 0); /* 0000ffff m2mf TILING_POSITION_OUT_X, Y */ in nv50_gr_construct_mmio_ddata()
903 dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_PITCH_OUT */ in nv50_gr_construct_mmio_ddata()
904 dd_emit(ctx, 1, 1); /* ffffffff m2mf TILING_DEPTH_IN */ in nv50_gr_construct_mmio_ddata()
905 dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_HEIGHT_IN */ in nv50_gr_construct_mmio_ddata()
906 dd_emit(ctx, 1, 0); /* ffffffff m2mf TILING_POSITION_IN_Z */ in nv50_gr_construct_mmio_ddata()
907 dd_emit(ctx, 1, 1); /* 00000001 m2mf LINEAR_IN */ in nv50_gr_construct_mmio_ddata()
908 dd_emit(ctx, 2, 0); /* 0000ffff m2mf TILING_POSITION_IN_X, Y */ in nv50_gr_construct_mmio_ddata()
909 dd_emit(ctx, 1, 0x100); /* ffffffff m2mf TILING_PITCH_IN */ in nv50_gr_construct_mmio_ddata()
913 dd_emit(ctx, 1, 1); /* ffffffff line COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
914 dd_emit(ctx, 1, 0); /* ffffffff line OPERATION */ in nv50_gr_construct_mmio_ddata()
916 dd_emit(ctx, 1, 1); /* ffffffff triangle COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
917 dd_emit(ctx, 1, 0); /* ffffffff triangle OPERATION */ in nv50_gr_construct_mmio_ddata()
919 dd_emit(ctx, 1, 0); /* 0000000f sifm TILE_MODE_Z */ in nv50_gr_construct_mmio_ddata()
920 dd_emit(ctx, 1, 2); /* 0000000f sifm TILE_MODE_Y */ in nv50_gr_construct_mmio_ddata()
921 dd_emit(ctx, 1, 0); /* 000000ff sifm FORMAT_FILTER */ in nv50_gr_construct_mmio_ddata()
922 dd_emit(ctx, 1, 1); /* 000000ff sifm FORMAT_ORIGIN */ in nv50_gr_construct_mmio_ddata()
923 dd_emit(ctx, 1, 0); /* 0000ffff sifm SRC_PITCH */ in nv50_gr_construct_mmio_ddata()
924 dd_emit(ctx, 1, 1); /* 00000001 sifm SRC_LINEAR */ in nv50_gr_construct_mmio_ddata()
925 dd_emit(ctx, 1, 0); /* 000000ff sifm SRC_OFFSET_HIGH */ in nv50_gr_construct_mmio_ddata()
926 dd_emit(ctx, 1, 0); /* ffffffff sifm SRC_OFFSET */ in nv50_gr_construct_mmio_ddata()
927 dd_emit(ctx, 1, 0); /* 0000ffff sifm SRC_HEIGHT */ in nv50_gr_construct_mmio_ddata()
928 dd_emit(ctx, 1, 0); /* 0000ffff sifm SRC_WIDTH */ in nv50_gr_construct_mmio_ddata()
929 dd_emit(ctx, 1, 3); /* ffffffff sifm COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
930 dd_emit(ctx, 1, 0); /* ffffffff sifm OPERATION */ in nv50_gr_construct_mmio_ddata()
932 dd_emit(ctx, 1, 0); /* ffffffff sifc OPERATION */ in nv50_gr_construct_mmio_ddata()
936 dd_emit(ctx, 1, 0); /* 0000000f GP_TEXTURES_LOG2 */ in nv50_gr_construct_mmio_ddata()
937 dd_emit(ctx, 1, 0); /* 0000000f GP_SAMPLERS_LOG2 */ in nv50_gr_construct_mmio_ddata()
938 dd_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
939 dd_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_mmio_ddata()
940 dd_emit(ctx, 1, 4); /* 000000ff UNK12B0_0 */ in nv50_gr_construct_mmio_ddata()
941 dd_emit(ctx, 1, 0x70); /* 000000ff UNK12B0_1 */ in nv50_gr_construct_mmio_ddata()
942 dd_emit(ctx, 1, 0x80); /* 000000ff UNK12B0_3 */ in nv50_gr_construct_mmio_ddata()
943 dd_emit(ctx, 1, 0); /* 000000ff UNK12B0_2 */ in nv50_gr_construct_mmio_ddata()
944 dd_emit(ctx, 1, 0); /* 0000000f FP_TEXTURES_LOG2 */ in nv50_gr_construct_mmio_ddata()
945 dd_emit(ctx, 1, 0); /* 0000000f FP_SAMPLERS_LOG2 */ in nv50_gr_construct_mmio_ddata()
947 dd_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_mmio_ddata()
948 dd_emit(ctx, 1, 0); /* 0000007f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_mmio_ddata()
950 dd_emit(ctx, 1, 0); /* 0000000f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_mmio_ddata()
952 dd_emit(ctx, 1, 0xc); /* 000000ff SEMANTIC_COLOR.BFC0_ID */ in nv50_gr_construct_mmio_ddata()
954 dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_COLOR.CLMP_EN */ in nv50_gr_construct_mmio_ddata()
955 dd_emit(ctx, 1, 8); /* 000000ff SEMANTIC_COLOR.COLR_NR */ in nv50_gr_construct_mmio_ddata()
956 dd_emit(ctx, 1, 0x14); /* 000000ff SEMANTIC_COLOR.FFC0_ID */ in nv50_gr_construct_mmio_ddata()
958 dd_emit(ctx, 1, 0); /* 000000ff SEMANTIC_LAYER */ in nv50_gr_construct_mmio_ddata()
959 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
961 dd_emit(ctx, 1, 0); /* 00000001 SEMANTIC_PTSZ.ENABLE */ in nv50_gr_construct_mmio_ddata()
962 dd_emit(ctx, 1, 0x29); /* 000000ff SEMANTIC_PTSZ.PTSZ_ID */ in nv50_gr_construct_mmio_ddata()
963 dd_emit(ctx, 1, 0x27); /* 000000ff SEMANTIC_PRIM */ in nv50_gr_construct_mmio_ddata()
964 dd_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */ in nv50_gr_construct_mmio_ddata()
965 dd_emit(ctx, 1, 8); /* 0000000f SMENATIC_CLIP.CLIP_HIGH */ in nv50_gr_construct_mmio_ddata()
966 dd_emit(ctx, 1, 4); /* 000000ff SEMANTIC_CLIP.CLIP_LO */ in nv50_gr_construct_mmio_ddata()
967 dd_emit(ctx, 1, 0x27); /* 000000ff UNK0FD4 */ in nv50_gr_construct_mmio_ddata()
968 dd_emit(ctx, 1, 0); /* 00000001 UNK1900 */ in nv50_gr_construct_mmio_ddata()
970 dd_emit(ctx, 1, 0); /* 00000007 RT_CONTROL_MAP0 */ in nv50_gr_construct_mmio_ddata()
971 dd_emit(ctx, 1, 1); /* 00000007 RT_CONTROL_MAP1 */ in nv50_gr_construct_mmio_ddata()
972 dd_emit(ctx, 1, 2); /* 00000007 RT_CONTROL_MAP2 */ in nv50_gr_construct_mmio_ddata()
973 dd_emit(ctx, 1, 3); /* 00000007 RT_CONTROL_MAP3 */ in nv50_gr_construct_mmio_ddata()
974 dd_emit(ctx, 1, 4); /* 00000007 RT_CONTROL_MAP4 */ in nv50_gr_construct_mmio_ddata()
975 dd_emit(ctx, 1, 5); /* 00000007 RT_CONTROL_MAP5 */ in nv50_gr_construct_mmio_ddata()
976 dd_emit(ctx, 1, 6); /* 00000007 RT_CONTROL_MAP6 */ in nv50_gr_construct_mmio_ddata()
977 dd_emit(ctx, 1, 7); /* 00000007 RT_CONTROL_MAP7 */ in nv50_gr_construct_mmio_ddata()
978 dd_emit(ctx, 1, 1); /* 0000000f RT_CONTROL_COUNT */ in nv50_gr_construct_mmio_ddata()
979 dd_emit(ctx, 8, 0); /* 00000001 RT_HORIZ_UNK */ in nv50_gr_construct_mmio_ddata()
980 dd_emit(ctx, 8, 0); /* ffffffff RT_ADDRESS_LOW */ in nv50_gr_construct_mmio_ddata()
981 dd_emit(ctx, 1, 0xcf); /* 000000ff RT_FORMAT */ in nv50_gr_construct_mmio_ddata()
982 dd_emit(ctx, 7, 0); /* 000000ff RT_FORMAT */ in nv50_gr_construct_mmio_ddata()
984 dd_emit(ctx, 3, 0); /* 1, 1, 1 */ in nv50_gr_construct_mmio_ddata()
986 dd_emit(ctx, 2, 0); /* 1, 1 */ in nv50_gr_construct_mmio_ddata()
987 dd_emit(ctx, 1, 0); /* ffffffff GP_ENABLE */ in nv50_gr_construct_mmio_ddata()
988 dd_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT*/ in nv50_gr_construct_mmio_ddata()
989 dd_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */ in nv50_gr_construct_mmio_ddata()
990 dd_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_mmio_ddata()
992 dd_emit(ctx, 1, 3); /* 00000003 */ in nv50_gr_construct_mmio_ddata()
993 dd_emit(ctx, 1, 0); /* 00000001 UNK1418. Alone. */ in nv50_gr_construct_mmio_ddata()
996 dd_emit(ctx, 1, 3); /* 00000003 UNK15AC */ in nv50_gr_construct_mmio_ddata()
997 dd_emit(ctx, 1, 1); /* ffffffff RASTERIZE_ENABLE */ in nv50_gr_construct_mmio_ddata()
998 dd_emit(ctx, 1, 0); /* 00000001 FP_CONTROL.EXPORTS_Z */ in nv50_gr_construct_mmio_ddata()
1000 dd_emit(ctx, 1, 0); /* 00000001 FP_CONTROL.MULTIPLE_RESULTS */ in nv50_gr_construct_mmio_ddata()
1001 dd_emit(ctx, 1, 0x12); /* 000000ff FP_INTERPOLANT_CTRL.COUNT */ in nv50_gr_construct_mmio_ddata()
1002 dd_emit(ctx, 1, 0x10); /* 000000ff FP_INTERPOLANT_CTRL.COUNT_NONFLAT */ in nv50_gr_construct_mmio_ddata()
1003 dd_emit(ctx, 1, 0xc); /* 000000ff FP_INTERPOLANT_CTRL.OFFSET */ in nv50_gr_construct_mmio_ddata()
1004 dd_emit(ctx, 1, 1); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.W */ in nv50_gr_construct_mmio_ddata()
1005 dd_emit(ctx, 1, 0); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.X */ in nv50_gr_construct_mmio_ddata()
1006 dd_emit(ctx, 1, 0); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.Y */ in nv50_gr_construct_mmio_ddata()
1007 dd_emit(ctx, 1, 0); /* 00000001 FP_INTERPOLANT_CTRL.UMASK.Z */ in nv50_gr_construct_mmio_ddata()
1008 dd_emit(ctx, 1, 4); /* 000000ff FP_RESULT_COUNT */ in nv50_gr_construct_mmio_ddata()
1009 dd_emit(ctx, 1, 2); /* ffffffff REG_MODE */ in nv50_gr_construct_mmio_ddata()
1010 dd_emit(ctx, 1, 4); /* 000000ff FP_REG_ALLOC_TEMP */ in nv50_gr_construct_mmio_ddata()
1012 dd_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_mmio_ddata()
1013 dd_emit(ctx, 1, 0); /* 00000001 GP_BUILTIN_RESULT_EN.LAYER_IDX */ in nv50_gr_construct_mmio_ddata()
1014 dd_emit(ctx, 1, 0); /* ffffffff STRMOUT_ENABLE */ in nv50_gr_construct_mmio_ddata()
1015 dd_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */ in nv50_gr_construct_mmio_ddata()
1016 dd_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */ in nv50_gr_construct_mmio_ddata()
1017 dd_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE*/ in nv50_gr_construct_mmio_ddata()
1019 dd_emit(ctx, 8, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1021 dd_emit(ctx, 1, 1); /* 00000007 VTX_ATTR_DEFINE.COMP */ in nv50_gr_construct_mmio_ddata()
1022 dd_emit(ctx, 1, 1); /* 00000007 VTX_ATTR_DEFINE.SIZE */ in nv50_gr_construct_mmio_ddata()
1023 dd_emit(ctx, 1, 2); /* 00000007 VTX_ATTR_DEFINE.TYPE */ in nv50_gr_construct_mmio_ddata()
1024 dd_emit(ctx, 1, 0); /* 000000ff VTX_ATTR_DEFINE.ATTR */ in nv50_gr_construct_mmio_ddata()
1026 dd_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_mmio_ddata()
1027 dd_emit(ctx, 1, 0x14); /* 0000001f ZETA_FORMAT */ in nv50_gr_construct_mmio_ddata()
1028 dd_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_mmio_ddata()
1029 dd_emit(ctx, 1, 0); /* 0000000f VP_TEXTURES_LOG2 */ in nv50_gr_construct_mmio_ddata()
1030 dd_emit(ctx, 1, 0); /* 0000000f VP_SAMPLERS_LOG2 */ in nv50_gr_construct_mmio_ddata()
1032 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1033 dd_emit(ctx, 1, 2); /* 00000003 POLYGON_MODE_BACK */ in nv50_gr_construct_mmio_ddata()
1035 dd_emit(ctx, 1, 0); /* 00000003 VTX_ATTR_DEFINE.SIZE - 1 */ in nv50_gr_construct_mmio_ddata()
1036 dd_emit(ctx, 1, 0); /* 0000ffff CB_ADDR_INDEX */ in nv50_gr_construct_mmio_ddata()
1038 dd_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_mmio_ddata()
1039 dd_emit(ctx, 1, 0); /* 00000001 CULL_FACE_ENABLE */ in nv50_gr_construct_mmio_ddata()
1040 dd_emit(ctx, 1, 1); /* 00000003 CULL_FACE */ in nv50_gr_construct_mmio_ddata()
1041 dd_emit(ctx, 1, 0); /* 00000001 FRONT_FACE */ in nv50_gr_construct_mmio_ddata()
1042 dd_emit(ctx, 1, 2); /* 00000003 POLYGON_MODE_FRONT */ in nv50_gr_construct_mmio_ddata()
1043 dd_emit(ctx, 1, 0x1000); /* 00007fff UNK141C */ in nv50_gr_construct_mmio_ddata()
1045 dd_emit(ctx, 1, 0xe00); /* 7fff */ in nv50_gr_construct_mmio_ddata()
1046 dd_emit(ctx, 1, 0x1000); /* 7fff */ in nv50_gr_construct_mmio_ddata()
1047 dd_emit(ctx, 1, 0x1e00); /* 7fff */ in nv50_gr_construct_mmio_ddata()
1049 dd_emit(ctx, 1, 0); /* 00000001 BEGIN_END_ACTIVE */ in nv50_gr_construct_mmio_ddata()
1050 dd_emit(ctx, 1, 1); /* 00000001 POLYGON_MODE_??? */ in nv50_gr_construct_mmio_ddata()
1051 dd_emit(ctx, 1, 1); /* 000000ff GP_REG_ALLOC_TEMP / 4 rounded up */ in nv50_gr_construct_mmio_ddata()
1052 dd_emit(ctx, 1, 1); /* 000000ff FP_REG_ALLOC_TEMP... without /4? */ in nv50_gr_construct_mmio_ddata()
1053 dd_emit(ctx, 1, 1); /* 000000ff VP_REG_ALLOC_TEMP / 4 rounded up */ in nv50_gr_construct_mmio_ddata()
1054 dd_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1055 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1056 dd_emit(ctx, 1, 0); /* 00000001 VTX_ATTR_MASK_UNK0 nonempty */ in nv50_gr_construct_mmio_ddata()
1057 dd_emit(ctx, 1, 0); /* 00000001 VTX_ATTR_MASK_UNK1 nonempty */ in nv50_gr_construct_mmio_ddata()
1058 dd_emit(ctx, 1, 0x200); /* 0003ffff GP_VERTEX_OUTPUT_COUNT*GP_REG_ALLOC_RESULT */ in nv50_gr_construct_mmio_ddata()
1060 dd_emit(ctx, 1, 0x200); in nv50_gr_construct_mmio_ddata()
1061 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1063 dd_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1064 dd_emit(ctx, 1, 0x70); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1065 dd_emit(ctx, 1, 0x80); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1066 dd_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1067 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1068 dd_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1069 dd_emit(ctx, 1, 0x70); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1070 dd_emit(ctx, 1, 0x80); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1071 dd_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1073 dd_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1074 dd_emit(ctx, 1, 0xf0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1075 dd_emit(ctx, 1, 0xff); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1076 dd_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1077 dd_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1078 dd_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_mmio_ddata()
1079 dd_emit(ctx, 1, 0xf0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1080 dd_emit(ctx, 1, 0xff); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1081 dd_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_mmio_ddata()
1082 dd_emit(ctx, 1, 9); /* 0000003f UNK114C.COMP,SIZE */ in nv50_gr_construct_mmio_ddata()
1086 dd_emit(ctx, 1, 0); /* 00000001 eng2d COLOR_KEY_ENABLE */ in nv50_gr_construct_mmio_ddata()
1087 dd_emit(ctx, 1, 0); /* 00000007 eng2d COLOR_KEY_FORMAT */ in nv50_gr_construct_mmio_ddata()
1088 dd_emit(ctx, 1, 1); /* ffffffff eng2d DST_DEPTH */ in nv50_gr_construct_mmio_ddata()
1089 dd_emit(ctx, 1, 0xcf); /* 000000ff eng2d DST_FORMAT */ in nv50_gr_construct_mmio_ddata()
1090 dd_emit(ctx, 1, 0); /* ffffffff eng2d DST_LAYER */ in nv50_gr_construct_mmio_ddata()
1091 dd_emit(ctx, 1, 1); /* 00000001 eng2d DST_LINEAR */ in nv50_gr_construct_mmio_ddata()
1092 dd_emit(ctx, 1, 0); /* 00000007 eng2d PATTERN_COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
1093 dd_emit(ctx, 1, 0); /* 00000007 eng2d OPERATION */ in nv50_gr_construct_mmio_ddata()
1094 dd_emit(ctx, 1, 0); /* 00000003 eng2d PATTERN_SELECT */ in nv50_gr_construct_mmio_ddata()
1095 dd_emit(ctx, 1, 0xcf); /* 000000ff eng2d SIFC_FORMAT */ in nv50_gr_construct_mmio_ddata()
1096 dd_emit(ctx, 1, 0); /* 00000001 eng2d SIFC_BITMAP_ENABLE */ in nv50_gr_construct_mmio_ddata()
1097 dd_emit(ctx, 1, 2); /* 00000003 eng2d SIFC_BITMAP_UNK808 */ in nv50_gr_construct_mmio_ddata()
1098 dd_emit(ctx, 1, 0); /* ffffffff eng2d BLIT_DU_DX_FRACT */ in nv50_gr_construct_mmio_ddata()
1099 dd_emit(ctx, 1, 1); /* ffffffff eng2d BLIT_DU_DX_INT */ in nv50_gr_construct_mmio_ddata()
1100 dd_emit(ctx, 1, 0); /* ffffffff eng2d BLIT_DV_DY_FRACT */ in nv50_gr_construct_mmio_ddata()
1101 dd_emit(ctx, 1, 1); /* ffffffff eng2d BLIT_DV_DY_INT */ in nv50_gr_construct_mmio_ddata()
1102 dd_emit(ctx, 1, 0); /* 00000001 eng2d BLIT_CONTROL_FILTER */ in nv50_gr_construct_mmio_ddata()
1103 dd_emit(ctx, 1, 0xcf); /* 000000ff eng2d DRAW_COLOR_FORMAT */ in nv50_gr_construct_mmio_ddata()
1104 dd_emit(ctx, 1, 0xcf); /* 000000ff eng2d SRC_FORMAT */ in nv50_gr_construct_mmio_ddata()
1105 dd_emit(ctx, 1, 1); /* 00000001 eng2d SRC_LINEAR #2 */ in nv50_gr_construct_mmio_ddata()
1107 num = ctx->ctxvals_pos - base; in nv50_gr_construct_mmio_ddata()
1108 ctx->ctxvals_pos = base; in nv50_gr_construct_mmio_ddata()
1110 cp_ctx(ctx, 0x404800, num); in nv50_gr_construct_mmio_ddata()
1112 cp_ctx(ctx, 0x405400, num); in nv50_gr_construct_mmio_ddata()
1158 xf_emit(struct nvkm_grctx *ctx, int num, u32 val) { in xf_emit() argument
1160 if (val && ctx->mode == NVKM_GRCTX_VALS) { in xf_emit()
1162 nvkm_wo32(ctx->data, 4 * (ctx->ctxvals_pos + (i << 3)), val); in xf_emit()
1164 ctx->ctxvals_pos += num << 3; in xf_emit()
1169 static void nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx);
1170 static void nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx);
1171 static void nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx);
1172 static void nv50_gr_construct_gene_unk10xx(struct nvkm_grctx *ctx);
1173 static void nv50_gr_construct_gene_unk14xx(struct nvkm_grctx *ctx);
1174 static void nv50_gr_construct_gene_zcull(struct nvkm_grctx *ctx);
1175 static void nv50_gr_construct_gene_clipid(struct nvkm_grctx *ctx);
1176 static void nv50_gr_construct_gene_unk24xx(struct nvkm_grctx *ctx);
1177 static void nv50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx);
1178 static void nv50_gr_construct_gene_eng2d(struct nvkm_grctx *ctx);
1179 static void nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx);
1180 static void nv50_gr_construct_gene_unk1cxx(struct nvkm_grctx *ctx);
1181 static void nv50_gr_construct_gene_strmout(struct nvkm_grctx *ctx);
1182 static void nv50_gr_construct_gene_unk34xx(struct nvkm_grctx *ctx);
1183 static void nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx);
1184 static void nv50_gr_construct_gene_ropm2(struct nvkm_grctx *ctx);
1185 static void nv50_gr_construct_gene_ropc(struct nvkm_grctx *ctx);
1186 static void nv50_gr_construct_xfer_tp(struct nvkm_grctx *ctx);
1189 nv50_gr_construct_xfer1(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer1() argument
1191 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer1()
1197 offset = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer1()
1198 ctx->ctxvals_base = offset; in nv50_gr_construct_xfer1()
1202 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer1()
1203 nv50_gr_construct_gene_dispatch(ctx); in nv50_gr_construct_xfer1()
1204 nv50_gr_construct_gene_m2mf(ctx); in nv50_gr_construct_xfer1()
1205 nv50_gr_construct_gene_unk24xx(ctx); in nv50_gr_construct_xfer1()
1206 nv50_gr_construct_gene_clipid(ctx); in nv50_gr_construct_xfer1()
1207 nv50_gr_construct_gene_zcull(ctx); in nv50_gr_construct_xfer1()
1208 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1209 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1212 ctx->ctxvals_pos = offset + 0x1; in nv50_gr_construct_xfer1()
1213 nv50_gr_construct_gene_vfetch(ctx); in nv50_gr_construct_xfer1()
1214 nv50_gr_construct_gene_eng2d(ctx); in nv50_gr_construct_xfer1()
1215 nv50_gr_construct_gene_csched(ctx); in nv50_gr_construct_xfer1()
1216 nv50_gr_construct_gene_ropm1(ctx); in nv50_gr_construct_xfer1()
1217 nv50_gr_construct_gene_ropm2(ctx); in nv50_gr_construct_xfer1()
1218 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1219 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1222 ctx->ctxvals_pos = offset + 0x2; in nv50_gr_construct_xfer1()
1223 nv50_gr_construct_gene_ccache(ctx); in nv50_gr_construct_xfer1()
1224 nv50_gr_construct_gene_unk1cxx(ctx); in nv50_gr_construct_xfer1()
1225 nv50_gr_construct_gene_strmout(ctx); in nv50_gr_construct_xfer1()
1226 nv50_gr_construct_gene_unk14xx(ctx); in nv50_gr_construct_xfer1()
1227 nv50_gr_construct_gene_unk10xx(ctx); in nv50_gr_construct_xfer1()
1228 nv50_gr_construct_gene_unk34xx(ctx); in nv50_gr_construct_xfer1()
1229 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1230 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1233 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer1()
1236 nv50_gr_construct_gene_ropc(ctx); in nv50_gr_construct_xfer1()
1237 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1238 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1242 ctx->ctxvals_pos = offset + 4 + i; in nv50_gr_construct_xfer1()
1244 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1246 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1247 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1248 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1252 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer1()
1253 nv50_gr_construct_gene_dispatch(ctx); in nv50_gr_construct_xfer1()
1254 nv50_gr_construct_gene_m2mf(ctx); in nv50_gr_construct_xfer1()
1255 nv50_gr_construct_gene_unk34xx(ctx); in nv50_gr_construct_xfer1()
1256 nv50_gr_construct_gene_csched(ctx); in nv50_gr_construct_xfer1()
1257 nv50_gr_construct_gene_unk1cxx(ctx); in nv50_gr_construct_xfer1()
1258 nv50_gr_construct_gene_strmout(ctx); in nv50_gr_construct_xfer1()
1259 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1260 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1263 ctx->ctxvals_pos = offset + 1; in nv50_gr_construct_xfer1()
1264 nv50_gr_construct_gene_unk10xx(ctx); in nv50_gr_construct_xfer1()
1265 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1266 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1269 ctx->ctxvals_pos = offset + 2; in nv50_gr_construct_xfer1()
1271 nv50_gr_construct_gene_unk14xx(ctx); in nv50_gr_construct_xfer1()
1272 nv50_gr_construct_gene_unk24xx(ctx); in nv50_gr_construct_xfer1()
1273 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1274 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1277 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer1()
1278 nv50_gr_construct_gene_vfetch(ctx); in nv50_gr_construct_xfer1()
1279 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1280 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1283 ctx->ctxvals_pos = offset + 4; in nv50_gr_construct_xfer1()
1284 nv50_gr_construct_gene_ccache(ctx); in nv50_gr_construct_xfer1()
1285 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1286 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1289 ctx->ctxvals_pos = offset + 5; in nv50_gr_construct_xfer1()
1290 nv50_gr_construct_gene_ropm2(ctx); in nv50_gr_construct_xfer1()
1291 nv50_gr_construct_gene_ropm1(ctx); in nv50_gr_construct_xfer1()
1295 nv50_gr_construct_gene_ropc(ctx); in nv50_gr_construct_xfer1()
1296 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1297 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1300 ctx->ctxvals_pos = offset + 6; in nv50_gr_construct_xfer1()
1301 nv50_gr_construct_gene_zcull(ctx); in nv50_gr_construct_xfer1()
1302 nv50_gr_construct_gene_clipid(ctx); in nv50_gr_construct_xfer1()
1303 nv50_gr_construct_gene_eng2d(ctx); in nv50_gr_construct_xfer1()
1305 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1307 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1309 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1311 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1312 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1313 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1316 ctx->ctxvals_pos = offset + 7; in nv50_gr_construct_xfer1()
1319 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1321 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1323 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1325 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1327 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1329 nv50_gr_construct_xfer_tp(ctx); in nv50_gr_construct_xfer1()
1331 nv50_gr_construct_gene_unk14xx(ctx); in nv50_gr_construct_xfer1()
1333 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer1()
1334 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer1()
1337 ctx->ctxvals_pos = offset + size * 8; in nv50_gr_construct_xfer1()
1338 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer1()
1339 cp_lsr (ctx, offset); in nv50_gr_construct_xfer1()
1340 cp_out (ctx, CP_SET_XFER_POINTER); in nv50_gr_construct_xfer1()
1341 cp_lsr (ctx, size); in nv50_gr_construct_xfer1()
1342 cp_out (ctx, CP_SEEK_1); in nv50_gr_construct_xfer1()
1343 cp_out (ctx, CP_XFER_1); in nv50_gr_construct_xfer1()
1344 cp_wait(ctx, XFER, BUSY); in nv50_gr_construct_xfer1()
1352 nv50_gr_construct_gene_dispatch(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_dispatch() argument
1355 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_dispatch()
1358 xf_emit(ctx, 5, 0); in nv50_gr_construct_gene_dispatch()
1360 xf_emit(ctx, 6, 0); in nv50_gr_construct_gene_dispatch()
1362 xf_emit(ctx, 4, 0); in nv50_gr_construct_gene_dispatch()
1366 xf_emit(ctx, 8*3, 0); in nv50_gr_construct_gene_dispatch()
1368 xf_emit(ctx, 0x100*3, 0); in nv50_gr_construct_gene_dispatch()
1370 xf_emit(ctx, 3, 0); in nv50_gr_construct_gene_dispatch()
1373 xf_emit(ctx, 3, 0); in nv50_gr_construct_gene_dispatch()
1376 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch()
1378 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch()
1380 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch()
1382 xf_emit(ctx, 9, 0); in nv50_gr_construct_gene_dispatch()
1385 xf_emit(ctx, 4, 0); in nv50_gr_construct_gene_dispatch()
1387 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_dispatch()
1389 xf_emit(ctx, 6*2, 0); in nv50_gr_construct_gene_dispatch()
1390 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_dispatch()
1392 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_dispatch()
1394 xf_emit(ctx, 6*2, 0); in nv50_gr_construct_gene_dispatch()
1395 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_dispatch()
1398 xf_emit(ctx, 0x1c, 0); in nv50_gr_construct_gene_dispatch()
1400 xf_emit(ctx, 0x1e, 0); in nv50_gr_construct_gene_dispatch()
1402 xf_emit(ctx, 0x22, 0); in nv50_gr_construct_gene_dispatch()
1404 xf_emit(ctx, 0x15, 0); in nv50_gr_construct_gene_dispatch()
1408 nv50_gr_construct_gene_m2mf(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_m2mf() argument
1411 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_m2mf()
1416 xf_emit (ctx, 1, 0); /* DMA_NOTIFY instance >> 4 */ in nv50_gr_construct_gene_m2mf()
1417 xf_emit (ctx, 1, 0); /* DMA_BUFFER_IN instance >> 4 */ in nv50_gr_construct_gene_m2mf()
1418 xf_emit (ctx, 1, 0); /* DMA_BUFFER_OUT instance >> 4 */ in nv50_gr_construct_gene_m2mf()
1419 xf_emit (ctx, 1, 0); /* OFFSET_IN */ in nv50_gr_construct_gene_m2mf()
1420 xf_emit (ctx, 1, 0); /* OFFSET_OUT */ in nv50_gr_construct_gene_m2mf()
1421 xf_emit (ctx, 1, 0); /* PITCH_IN */ in nv50_gr_construct_gene_m2mf()
1422 xf_emit (ctx, 1, 0); /* PITCH_OUT */ in nv50_gr_construct_gene_m2mf()
1423 xf_emit (ctx, 1, 0); /* LINE_LENGTH */ in nv50_gr_construct_gene_m2mf()
1424 xf_emit (ctx, 1, 0); /* LINE_COUNT */ in nv50_gr_construct_gene_m2mf()
1425 xf_emit (ctx, 1, 0x21); /* FORMAT: bits 0-4 INPUT_INC, bits 5-9 OUTPUT_INC */ in nv50_gr_construct_gene_m2mf()
1426 xf_emit (ctx, 1, 1); /* LINEAR_IN */ in nv50_gr_construct_gene_m2mf()
1427 xf_emit (ctx, 1, 0x2); /* TILING_MODE_IN: bits 0-2 y tiling, bits 3-5 z tiling */ in nv50_gr_construct_gene_m2mf()
1428 xf_emit (ctx, 1, 0x100); /* TILING_PITCH_IN */ in nv50_gr_construct_gene_m2mf()
1429 xf_emit (ctx, 1, 0x100); /* TILING_HEIGHT_IN */ in nv50_gr_construct_gene_m2mf()
1430 xf_emit (ctx, 1, 1); /* TILING_DEPTH_IN */ in nv50_gr_construct_gene_m2mf()
1431 xf_emit (ctx, 1, 0); /* TILING_POSITION_IN_Z */ in nv50_gr_construct_gene_m2mf()
1432 xf_emit (ctx, 1, 0); /* TILING_POSITION_IN */ in nv50_gr_construct_gene_m2mf()
1433 xf_emit (ctx, 1, 1); /* LINEAR_OUT */ in nv50_gr_construct_gene_m2mf()
1434 xf_emit (ctx, 1, 0x2); /* TILING_MODE_OUT: bits 0-2 y tiling, bits 3-5 z tiling */ in nv50_gr_construct_gene_m2mf()
1435 xf_emit (ctx, 1, 0x100); /* TILING_PITCH_OUT */ in nv50_gr_construct_gene_m2mf()
1436 xf_emit (ctx, 1, 0x100); /* TILING_HEIGHT_OUT */ in nv50_gr_construct_gene_m2mf()
1437 xf_emit (ctx, 1, 1); /* TILING_DEPTH_OUT */ in nv50_gr_construct_gene_m2mf()
1438 xf_emit (ctx, 1, 0); /* TILING_POSITION_OUT_Z */ in nv50_gr_construct_gene_m2mf()
1439 xf_emit (ctx, 1, 0); /* TILING_POSITION_OUT */ in nv50_gr_construct_gene_m2mf()
1440 xf_emit (ctx, 1, 0); /* OFFSET_IN_HIGH */ in nv50_gr_construct_gene_m2mf()
1441 xf_emit (ctx, 1, 0); /* OFFSET_OUT_HIGH */ in nv50_gr_construct_gene_m2mf()
1444 xf_emit(ctx, 0x40, 0); /* 20 * ffffffff, 3ffff */ in nv50_gr_construct_gene_m2mf()
1446 xf_emit(ctx, 0x100, 0); /* 80 * ffffffff, 3ffff */ in nv50_gr_construct_gene_m2mf()
1447 xf_emit(ctx, 4, 0); /* 1f/7f, 0, 1f/7f, 0 [1f for smallm2mf, 7f otherwise] */ in nv50_gr_construct_gene_m2mf()
1450 xf_emit(ctx, 0x400, 0); /* ffffffff */ in nv50_gr_construct_gene_m2mf()
1452 xf_emit(ctx, 0x800, 0); /* ffffffff */ in nv50_gr_construct_gene_m2mf()
1453 xf_emit(ctx, 4, 0); /* ff/1ff, 0, 0, 0 [ff for smallm2mf, 1ff otherwise] */ in nv50_gr_construct_gene_m2mf()
1455 xf_emit(ctx, 0x40, 0); /* 20 * bits ffffffff, 3ffff */ in nv50_gr_construct_gene_m2mf()
1456 xf_emit(ctx, 0x6, 0); /* 1f, 0, 1f, 0, 1f, 0 */ in nv50_gr_construct_gene_m2mf()
1460 nv50_gr_construct_gene_ccache(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ccache() argument
1462 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ccache()
1463 xf_emit(ctx, 2, 0); /* RO */ in nv50_gr_construct_gene_ccache()
1464 xf_emit(ctx, 0x800, 0); /* ffffffff */ in nv50_gr_construct_gene_ccache()
1469 xf_emit(ctx, 0x2b, 0); in nv50_gr_construct_gene_ccache()
1472 xf_emit(ctx, 0x29, 0); in nv50_gr_construct_gene_ccache()
1477 xf_emit(ctx, 0x27, 0); in nv50_gr_construct_gene_ccache()
1486 xf_emit(ctx, 0x25, 0); in nv50_gr_construct_gene_ccache()
1491 xf_emit(ctx, 0x100, 0); /* ffffffff CB_DEF */ in nv50_gr_construct_gene_ccache()
1492 xf_emit(ctx, 1, 0); /* 0000007f CB_ADDR_BUFFER */ in nv50_gr_construct_gene_ccache()
1493 xf_emit(ctx, 1, 0); /* 0 */ in nv50_gr_construct_gene_ccache()
1494 xf_emit(ctx, 0x30, 0); /* ff SET_PROGRAM_CB */ in nv50_gr_construct_gene_ccache()
1495 xf_emit(ctx, 1, 0); /* 3f last SET_PROGRAM_CB */ in nv50_gr_construct_gene_ccache()
1496 xf_emit(ctx, 4, 0); /* RO */ in nv50_gr_construct_gene_ccache()
1497 xf_emit(ctx, 0x100, 0); /* ffffffff */ in nv50_gr_construct_gene_ccache()
1498 xf_emit(ctx, 8, 0); /* 1f, 0, 0, ... */ in nv50_gr_construct_gene_ccache()
1499 xf_emit(ctx, 8, 0); /* ffffffff */ in nv50_gr_construct_gene_ccache()
1500 xf_emit(ctx, 4, 0); /* ffffffff */ in nv50_gr_construct_gene_ccache()
1501 xf_emit(ctx, 1, 0); /* 3 */ in nv50_gr_construct_gene_ccache()
1502 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_ccache()
1503 xf_emit(ctx, 1, 0); /* 0000ffff DMA_CODE_CB */ in nv50_gr_construct_gene_ccache()
1504 xf_emit(ctx, 1, 0); /* 0000ffff DMA_TIC */ in nv50_gr_construct_gene_ccache()
1505 xf_emit(ctx, 1, 0); /* 0000ffff DMA_TSC */ in nv50_gr_construct_gene_ccache()
1506 xf_emit(ctx, 1, 0); /* 00000001 LINKED_TSC */ in nv50_gr_construct_gene_ccache()
1507 xf_emit(ctx, 1, 0); /* 000000ff TIC_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1508 xf_emit(ctx, 1, 0); /* ffffffff TIC_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1509 xf_emit(ctx, 1, 0x3fffff); /* 003fffff TIC_LIMIT */ in nv50_gr_construct_gene_ccache()
1510 xf_emit(ctx, 1, 0); /* 000000ff TSC_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1511 xf_emit(ctx, 1, 0); /* ffffffff TSC_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1512 xf_emit(ctx, 1, 0x1fff); /* 000fffff TSC_LIMIT */ in nv50_gr_construct_gene_ccache()
1513 xf_emit(ctx, 1, 0); /* 000000ff VP_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1514 xf_emit(ctx, 1, 0); /* ffffffff VP_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1515 xf_emit(ctx, 1, 0); /* 00ffffff VP_START_ID */ in nv50_gr_construct_gene_ccache()
1516 xf_emit(ctx, 1, 0); /* 000000ff CB_DEF_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1517 xf_emit(ctx, 1, 0); /* ffffffff CB_DEF_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1518 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_ccache()
1519 xf_emit(ctx, 1, 0); /* 000000ff GP_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1520 xf_emit(ctx, 1, 0); /* ffffffff GP_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1521 xf_emit(ctx, 1, 0); /* 00ffffff GP_START_ID */ in nv50_gr_construct_gene_ccache()
1522 xf_emit(ctx, 1, 0); /* 000000ff FP_ADDRESS_HIGH */ in nv50_gr_construct_gene_ccache()
1523 xf_emit(ctx, 1, 0); /* ffffffff FP_ADDRESS_LOW */ in nv50_gr_construct_gene_ccache()
1524 xf_emit(ctx, 1, 0); /* 00ffffff FP_START_ID */ in nv50_gr_construct_gene_ccache()
1528 nv50_gr_construct_gene_unk10xx(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_unk10xx() argument
1530 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk10xx()
1533 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk10xx()
1534 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk10xx()
1535 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk10xx()
1536 xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */ in nv50_gr_construct_gene_unk10xx()
1537 xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */ in nv50_gr_construct_gene_unk10xx()
1538 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk10xx()
1539 xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */ in nv50_gr_construct_gene_unk10xx()
1541 xf_emit(ctx, 1, 0x3ff); in nv50_gr_construct_gene_unk10xx()
1543 xf_emit(ctx, 1, 0x7ff); /* 000007ff */ in nv50_gr_construct_gene_unk10xx()
1544 xf_emit(ctx, 1, 0); /* 111/113 */ in nv50_gr_construct_gene_unk10xx()
1545 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk10xx()
1553 xf_emit(ctx, 0xa0, 0); /* ffffffff */ in nv50_gr_construct_gene_unk10xx()
1559 xf_emit(ctx, 0x120, 0); in nv50_gr_construct_gene_unk10xx()
1563 xf_emit(ctx, 0x100, 0); /* ffffffff */ in nv50_gr_construct_gene_unk10xx()
1568 xf_emit(ctx, 0x400, 0); /* ffffffff */ in nv50_gr_construct_gene_unk10xx()
1571 xf_emit(ctx, 4, 0); /* 3f, 0, 0, 0 */ in nv50_gr_construct_gene_unk10xx()
1572 xf_emit(ctx, 4, 0); /* ffffffff */ in nv50_gr_construct_gene_unk10xx()
1574 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk10xx()
1575 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk10xx()
1576 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk10xx()
1577 xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */ in nv50_gr_construct_gene_unk10xx()
1578 xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_TEMP */ in nv50_gr_construct_gene_unk10xx()
1579 xf_emit(ctx, 1, 1); /* 00000001 RASTERIZE_ENABLE */ in nv50_gr_construct_gene_unk10xx()
1580 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk10xx()
1581 xf_emit(ctx, 1, 0x27); /* 000000ff UNK0FD4 */ in nv50_gr_construct_gene_unk10xx()
1582 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_gene_unk10xx()
1583 xf_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */ in nv50_gr_construct_gene_unk10xx()
1584 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk10xx()
1588 nv50_gr_construct_gene_unk34xx(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_unk34xx() argument
1590 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk34xx()
1592 xf_emit(ctx, 1, 0); /* 00000001 VIEWPORT_CLIP_RECTS_EN */ in nv50_gr_construct_gene_unk34xx()
1593 xf_emit(ctx, 1, 0); /* 00000003 VIEWPORT_CLIP_MODE */ in nv50_gr_construct_gene_unk34xx()
1594 xf_emit(ctx, 0x10, 0x04000000); /* 07ffffff VIEWPORT_CLIP_HORIZ*8, VIEWPORT_CLIP_VERT*8 */ in nv50_gr_construct_gene_unk34xx()
1595 xf_emit(ctx, 1, 0); /* 00000001 POLYGON_STIPPLE_ENABLE */ in nv50_gr_construct_gene_unk34xx()
1596 xf_emit(ctx, 0x20, 0); /* ffffffff POLYGON_STIPPLE */ in nv50_gr_construct_gene_unk34xx()
1597 xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */ in nv50_gr_construct_gene_unk34xx()
1598 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_gene_unk34xx()
1599 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0D64 */ in nv50_gr_construct_gene_unk34xx()
1600 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0DF4 */ in nv50_gr_construct_gene_unk34xx()
1601 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_unk34xx()
1602 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_unk34xx()
1603 xf_emit(ctx, 1, 0x1fe21); /* 0001ffff tesla UNK0FAC */ in nv50_gr_construct_gene_unk34xx()
1605 xf_emit(ctx, 1, 0x0fac6881); in nv50_gr_construct_gene_unk34xx()
1607 xf_emit(ctx, 1, 1); in nv50_gr_construct_gene_unk34xx()
1608 xf_emit(ctx, 3, 0); in nv50_gr_construct_gene_unk34xx()
1613 nv50_gr_construct_gene_unk14xx(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_unk14xx() argument
1615 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk14xx()
1618 xf_emit(ctx, 5, 0); /* ffffffff */ in nv50_gr_construct_gene_unk14xx()
1619 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk14xx()
1620 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk14xx()
1621 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_unk14xx()
1622 xf_emit(ctx, 1, 0x804); /* 00000fff SEMANTIC_CLIP */ in nv50_gr_construct_gene_unk14xx()
1623 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk14xx()
1624 xf_emit(ctx, 2, 4); /* 7f, ff */ in nv50_gr_construct_gene_unk14xx()
1625 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk14xx()
1627 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1628 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1629 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1630 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1631 xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_unk14xx()
1632 xf_emit(ctx, 1, 0); /* 000000ff VP_CLIP_DISTANCE_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1634 xf_emit(ctx, 1, 0); /* 3ff */ in nv50_gr_construct_gene_unk14xx()
1635 xf_emit(ctx, 1, 0); /* 000000ff tesla UNK1940 */ in nv50_gr_construct_gene_unk14xx()
1636 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0D7C */ in nv50_gr_construct_gene_unk14xx()
1637 xf_emit(ctx, 1, 0x804); /* 00000fff SEMANTIC_CLIP */ in nv50_gr_construct_gene_unk14xx()
1638 xf_emit(ctx, 1, 1); /* 00000001 VIEWPORT_TRANSFORM_EN */ in nv50_gr_construct_gene_unk14xx()
1639 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_unk14xx()
1641 xf_emit(ctx, 1, 0x7f); /* 000000ff tesla UNK0FFC */ in nv50_gr_construct_gene_unk14xx()
1642 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1643 xf_emit(ctx, 1, 1); /* 00000001 SHADE_MODEL */ in nv50_gr_construct_gene_unk14xx()
1644 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk14xx()
1645 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk14xx()
1646 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk14xx()
1647 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1648 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1649 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1650 xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_unk14xx()
1651 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0D7C */ in nv50_gr_construct_gene_unk14xx()
1652 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0F8C */ in nv50_gr_construct_gene_unk14xx()
1653 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1654 xf_emit(ctx, 1, 1); /* 00000001 VIEWPORT_TRANSFORM_EN */ in nv50_gr_construct_gene_unk14xx()
1655 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk14xx()
1656 xf_emit(ctx, 4, 0); /* ffffffff NOPERSPECTIVE_BITMAP */ in nv50_gr_construct_gene_unk14xx()
1657 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk14xx()
1658 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_unk14xx()
1660 xf_emit(ctx, 1, 0x3ff); /* 000003ff tesla UNK0D68 */ in nv50_gr_construct_gene_unk14xx()
1662 xf_emit(ctx, 1, 0x7ff); /* 000007ff tesla UNK0D68 */ in nv50_gr_construct_gene_unk14xx()
1663 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk14xx()
1664 xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1665 xf_emit(ctx, 0x30, 0); /* ffffffff VIEWPORT_SCALE: X0, Y0, Z0, X1, Y1, ... */ in nv50_gr_construct_gene_unk14xx()
1666 xf_emit(ctx, 3, 0); /* f, 0, 0 */ in nv50_gr_construct_gene_unk14xx()
1667 xf_emit(ctx, 3, 0); /* ffffffff last VIEWPORT_SCALE? */ in nv50_gr_construct_gene_unk14xx()
1668 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1669 xf_emit(ctx, 1, 1); /* 00000001 VIEWPORT_TRANSFORM_EN */ in nv50_gr_construct_gene_unk14xx()
1670 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk14xx()
1671 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1924 */ in nv50_gr_construct_gene_unk14xx()
1672 xf_emit(ctx, 1, 0x10); /* 000000ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_unk14xx()
1673 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk14xx()
1674 xf_emit(ctx, 0x30, 0); /* ffffffff VIEWPORT_TRANSLATE */ in nv50_gr_construct_gene_unk14xx()
1675 xf_emit(ctx, 3, 0); /* f, 0, 0 */ in nv50_gr_construct_gene_unk14xx()
1676 xf_emit(ctx, 3, 0); /* ffffffff */ in nv50_gr_construct_gene_unk14xx()
1677 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1678 xf_emit(ctx, 2, 0x88); /* 000001ff tesla UNK19D8 */ in nv50_gr_construct_gene_unk14xx()
1679 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1924 */ in nv50_gr_construct_gene_unk14xx()
1680 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1681 xf_emit(ctx, 1, 4); /* 0000000f CULL_MODE */ in nv50_gr_construct_gene_unk14xx()
1682 xf_emit(ctx, 2, 0); /* 07ffffff SCREEN_SCISSOR */ in nv50_gr_construct_gene_unk14xx()
1683 xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */ in nv50_gr_construct_gene_unk14xx()
1684 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_unk14xx()
1685 xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1686 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_gene_unk14xx()
1687 xf_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */ in nv50_gr_construct_gene_unk14xx()
1688 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk14xx()
1689 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_unk14xx()
1690 xf_emit(ctx, 1, 0x3f800000); /* ffffffff LINE_WIDTH */ in nv50_gr_construct_gene_unk14xx()
1691 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1692 xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1693 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_unk14xx()
1695 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk14xx()
1696 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_unk14xx()
1697 xf_emit(ctx, 1, 0x10); /* 000000ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_unk14xx()
1699 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_unk14xx()
1700 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk14xx()
1701 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_unk14xx()
1703 xf_emit(ctx, 0x20, 0); /* 10xbits ffffffff, 3fffff. SCISSOR_* */ in nv50_gr_construct_gene_unk14xx()
1704 xf_emit(ctx, 1, 0); /* f */ in nv50_gr_construct_gene_unk14xx()
1705 xf_emit(ctx, 1, 0); /* 0? */ in nv50_gr_construct_gene_unk14xx()
1706 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_unk14xx()
1707 xf_emit(ctx, 1, 0); /* 003fffff */ in nv50_gr_construct_gene_unk14xx()
1708 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_unk14xx()
1709 xf_emit(ctx, 1, 0x52); /* 000001ff SEMANTIC_PTSZ */ in nv50_gr_construct_gene_unk14xx()
1710 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_gene_unk14xx()
1711 xf_emit(ctx, 1, 0x26); /* 000000ff SEMANTIC_LAYER */ in nv50_gr_construct_gene_unk14xx()
1712 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk14xx()
1713 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1714 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk14xx()
1715 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1716 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_unk14xx()
1717 xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1718 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_gene_unk14xx()
1719 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */ in nv50_gr_construct_gene_unk14xx()
1720 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_unk14xx()
1724 nv50_gr_construct_gene_zcull(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_zcull() argument
1726 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_zcull()
1729 xf_emit(ctx, 1, 0x3f); /* 0000003f UNK1590 */ in nv50_gr_construct_gene_zcull()
1730 xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */ in nv50_gr_construct_gene_zcull()
1731 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_zcull()
1732 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_zcull()
1733 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */ in nv50_gr_construct_gene_zcull()
1734 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */ in nv50_gr_construct_gene_zcull()
1735 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_REF */ in nv50_gr_construct_gene_zcull()
1736 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_MASK */ in nv50_gr_construct_gene_zcull()
1737 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_zcull()
1738 xf_emit(ctx, 1, 2); /* 00000003 tesla UNK143C */ in nv50_gr_construct_gene_zcull()
1739 xf_emit(ctx, 2, 0x04000000); /* 07ffffff tesla UNK0D6C */ in nv50_gr_construct_gene_zcull()
1740 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_gene_zcull()
1741 xf_emit(ctx, 1, 0); /* 00000001 CLIPID_ENABLE */ in nv50_gr_construct_gene_zcull()
1742 xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */ in nv50_gr_construct_gene_zcull()
1743 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_zcull()
1744 xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */ in nv50_gr_construct_gene_zcull()
1745 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_zcull()
1746 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_zcull()
1747 xf_emit(ctx, 1, 4); /* 0000000f CULL_MODE */ in nv50_gr_construct_gene_zcull()
1748 xf_emit(ctx, 1, 0); /* 0000ffff */ in nv50_gr_construct_gene_zcull()
1749 xf_emit(ctx, 1, 0); /* 00000001 UNK0FB0 */ in nv50_gr_construct_gene_zcull()
1750 xf_emit(ctx, 1, 0); /* 00000001 POLYGON_STIPPLE_ENABLE */ in nv50_gr_construct_gene_zcull()
1751 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_gene_zcull()
1752 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_zcull()
1753 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_gene_zcull()
1754 xf_emit(ctx, 1, 0); /* 000000ff CLEAR_STENCIL */ in nv50_gr_construct_gene_zcull()
1755 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */ in nv50_gr_construct_gene_zcull()
1756 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */ in nv50_gr_construct_gene_zcull()
1757 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_REF */ in nv50_gr_construct_gene_zcull()
1758 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_gene_zcull()
1759 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_zcull()
1760 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_zcull()
1761 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_zcull()
1762 xf_emit(ctx, 1, 0); /* ffffffff CLEAR_DEPTH */ in nv50_gr_construct_gene_zcull()
1763 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_zcull()
1765 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1108 */ in nv50_gr_construct_gene_zcull()
1766 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_gene_zcull()
1767 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_zcull()
1768 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_gene_zcull()
1769 xf_emit(ctx, 1, 0x1001); /* 00001fff ZETA_ARRAY_MODE */ in nv50_gr_construct_gene_zcull()
1771 xf_emit(ctx, 4, 0xffff); /* 0000ffff MSAA_MASK */ in nv50_gr_construct_gene_zcull()
1772 xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */ in nv50_gr_construct_gene_zcull()
1773 xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR */ in nv50_gr_construct_gene_zcull()
1774 xf_emit(ctx, 0x10, 0x3f800000); /* ffffffff DEPTH_RANGE_FAR */ in nv50_gr_construct_gene_zcull()
1775 xf_emit(ctx, 1, 0x10); /* 7f/ff/3ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_zcull()
1776 xf_emit(ctx, 1, 0); /* 00000001 VIEWPORT_CLIP_RECTS_EN */ in nv50_gr_construct_gene_zcull()
1777 xf_emit(ctx, 1, 3); /* 00000003 FP_CTRL_UNK196C */ in nv50_gr_construct_gene_zcull()
1778 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1968 */ in nv50_gr_construct_gene_zcull()
1780 xf_emit(ctx, 1, 0); /* 0fffffff tesla UNK1104 */ in nv50_gr_construct_gene_zcull()
1781 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK151C */ in nv50_gr_construct_gene_zcull()
1785 nv50_gr_construct_gene_clipid(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_clipid() argument
1789 xf_emit(ctx, 1, 0); /* 00000007 UNK0FB4 */ in nv50_gr_construct_gene_clipid()
1791 xf_emit(ctx, 4, 0); /* 07ffffff CLIPID_REGION_HORIZ */ in nv50_gr_construct_gene_clipid()
1792 xf_emit(ctx, 4, 0); /* 07ffffff CLIPID_REGION_VERT */ in nv50_gr_construct_gene_clipid()
1793 xf_emit(ctx, 2, 0); /* 07ffffff SCREEN_SCISSOR */ in nv50_gr_construct_gene_clipid()
1794 xf_emit(ctx, 2, 0x04000000); /* 07ffffff UNK1508 */ in nv50_gr_construct_gene_clipid()
1795 xf_emit(ctx, 1, 0); /* 00000001 CLIPID_ENABLE */ in nv50_gr_construct_gene_clipid()
1796 xf_emit(ctx, 1, 0x80); /* 00003fff CLIPID_WIDTH */ in nv50_gr_construct_gene_clipid()
1797 xf_emit(ctx, 1, 0); /* 000000ff CLIPID_ID */ in nv50_gr_construct_gene_clipid()
1798 xf_emit(ctx, 1, 0); /* 000000ff CLIPID_ADDRESS_HIGH */ in nv50_gr_construct_gene_clipid()
1799 xf_emit(ctx, 1, 0); /* ffffffff CLIPID_ADDRESS_LOW */ in nv50_gr_construct_gene_clipid()
1800 xf_emit(ctx, 1, 0x80); /* 00003fff CLIPID_HEIGHT */ in nv50_gr_construct_gene_clipid()
1801 xf_emit(ctx, 1, 0); /* 0000ffff DMA_CLIPID */ in nv50_gr_construct_gene_clipid()
1805 nv50_gr_construct_gene_unk24xx(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_unk24xx() argument
1807 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk24xx()
1811 xf_emit(ctx, 0x33, 0); in nv50_gr_construct_gene_unk24xx()
1813 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_unk24xx()
1815 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1816 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk24xx()
1817 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk24xx()
1820 xf_emit(ctx, 4, 0); /* RO */ in nv50_gr_construct_gene_unk24xx()
1821 xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1822 xf_emit(ctx, 1, 0); /* 1ff */ in nv50_gr_construct_gene_unk24xx()
1823 xf_emit(ctx, 8, 0); /* 0? */ in nv50_gr_construct_gene_unk24xx()
1824 xf_emit(ctx, 9, 0); /* ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1826 xf_emit(ctx, 4, 0); /* RO */ in nv50_gr_construct_gene_unk24xx()
1827 xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1828 xf_emit(ctx, 1, 0); /* 1ff */ in nv50_gr_construct_gene_unk24xx()
1829 xf_emit(ctx, 8, 0); /* 0? */ in nv50_gr_construct_gene_unk24xx()
1830 xf_emit(ctx, 9, 0); /* ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1832 xf_emit(ctx, 0xc, 0); /* RO */ in nv50_gr_construct_gene_unk24xx()
1834 xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1835 xf_emit(ctx, 1, 0); /* 1ff */ in nv50_gr_construct_gene_unk24xx()
1836 xf_emit(ctx, 8, 0); /* 0? */ in nv50_gr_construct_gene_unk24xx()
1839 xf_emit(ctx, 0xc, 0); /* RO */ in nv50_gr_construct_gene_unk24xx()
1841 xf_emit(ctx, 0xe10, 0); /* 190 * 9: 8*ffffffff, 7ff */ in nv50_gr_construct_gene_unk24xx()
1842 xf_emit(ctx, 1, 0); /* 1ff */ in nv50_gr_construct_gene_unk24xx()
1843 xf_emit(ctx, 8, 0); /* 0? */ in nv50_gr_construct_gene_unk24xx()
1846 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1847 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk24xx()
1848 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_unk24xx()
1849 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk24xx()
1851 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 */ in nv50_gr_construct_gene_unk24xx()
1853 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1854 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk24xx()
1855 xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */ in nv50_gr_construct_gene_unk24xx()
1856 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk24xx()
1857 xf_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_gene_unk24xx()
1860 xf_emit(ctx, 2, 4); /* 000000ff */ in nv50_gr_construct_gene_unk24xx()
1861 xf_emit(ctx, 1, 0x80c14); /* 01ffffff SEMANTIC_COLOR */ in nv50_gr_construct_gene_unk24xx()
1862 xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1863 xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1864 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk24xx()
1865 xf_emit(ctx, 1, 0x27); /* 000000ff SEMANTIC_PRIM_ID */ in nv50_gr_construct_gene_unk24xx()
1866 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_unk24xx()
1867 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_unk24xx()
1868 xf_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_gene_unk24xx()
1871 xf_emit(ctx, 0x40, 0); /* ffffffff */ in nv50_gr_construct_gene_unk24xx()
1872 xf_emit(ctx, 0x10, 0); /* 3, 0, 0.... */ in nv50_gr_construct_gene_unk24xx()
1873 xf_emit(ctx, 0x10, 0); /* ffffffff */ in nv50_gr_construct_gene_unk24xx()
1876 xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_CTRL */ in nv50_gr_construct_gene_unk24xx()
1877 xf_emit(ctx, 1, 1); /* 00000001 */ in nv50_gr_construct_gene_unk24xx()
1878 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_unk24xx()
1879 xf_emit(ctx, 4, 0); /* ffffffff NOPERSPECTIVE_BITMAP */ in nv50_gr_construct_gene_unk24xx()
1880 xf_emit(ctx, 0x10, 0); /* 00ffffff POINT_COORD_REPLACE_MAP */ in nv50_gr_construct_gene_unk24xx()
1881 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_unk24xx()
1882 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk24xx()
1884 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_unk24xx()
1888 nv50_gr_construct_gene_vfetch(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_vfetch() argument
1890 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_vfetch()
1897 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK13A4 */ in nv50_gr_construct_gene_vfetch()
1898 xf_emit(ctx, 1, 1); /* 00000fff tesla UNK1318 */ in nv50_gr_construct_gene_vfetch()
1900 xf_emit(ctx, 1, 0); /* ffffffff VERTEX_BUFFER_FIRST */ in nv50_gr_construct_gene_vfetch()
1901 xf_emit(ctx, 1, 0); /* 00000001 PRIMITIVE_RESTART_ENABLE */ in nv50_gr_construct_gene_vfetch()
1902 xf_emit(ctx, 1, 0); /* 00000001 UNK0DE8 */ in nv50_gr_construct_gene_vfetch()
1903 xf_emit(ctx, 1, 0); /* ffffffff PRIMITIVE_RESTART_INDEX */ in nv50_gr_construct_gene_vfetch()
1904 xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1905 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1906 xf_emit(ctx, acnt/8, 0); /* ffffffff VTX_ATR_MASK_UNK0DD0 */ in nv50_gr_construct_gene_vfetch()
1907 xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1908 xf_emit(ctx, 1, 0x20); /* 0000ffff tesla UNK129C */ in nv50_gr_construct_gene_vfetch()
1909 xf_emit(ctx, 1, 0); /* 000000ff turing UNK370??? */ in nv50_gr_construct_gene_vfetch()
1910 xf_emit(ctx, 1, 0); /* 0000ffff turing USER_PARAM_COUNT */ in nv50_gr_construct_gene_vfetch()
1911 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_vfetch()
1914 xf_emit(ctx, 0xb, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1916 xf_emit(ctx, 0x9, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1918 xf_emit(ctx, 0x8, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1920 xf_emit(ctx, 1, 0); /* 00000001 EDGE_FLAG */ in nv50_gr_construct_gene_vfetch()
1921 xf_emit(ctx, 1, 0); /* 00000001 PROVOKING_VERTEX_LAST */ in nv50_gr_construct_gene_vfetch()
1922 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_vfetch()
1923 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_vfetch()
1925 xf_emit(ctx, 0xc, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1927 xf_emit(ctx, 1, 0); /* 7f/ff */ in nv50_gr_construct_gene_vfetch()
1928 xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */ in nv50_gr_construct_gene_vfetch()
1929 xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_vfetch()
1930 xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1931 xf_emit(ctx, 1, 4); /* 000001ff UNK1A28 */ in nv50_gr_construct_gene_vfetch()
1932 xf_emit(ctx, 1, 8); /* 000001ff UNK0DF0 */ in nv50_gr_construct_gene_vfetch()
1933 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_vfetch()
1935 xf_emit(ctx, 1, 0x3ff); /* 3ff tesla UNK0D68 */ in nv50_gr_construct_gene_vfetch()
1937 xf_emit(ctx, 1, 0x7ff); /* 7ff tesla UNK0D68 */ in nv50_gr_construct_gene_vfetch()
1939 xf_emit(ctx, 1, 0x1e00); /* 7fff */ in nv50_gr_construct_gene_vfetch()
1941 xf_emit(ctx, 0xc, 0); /* RO or close */ in nv50_gr_construct_gene_vfetch()
1943 xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1944 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1945 xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1947 xf_emit(ctx, 2, 0); /* ffffffff */ in nv50_gr_construct_gene_vfetch()
1949 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_vfetch()
1950 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK0FD8 */ in nv50_gr_construct_gene_vfetch()
1953 xf_emit(ctx, 0x10, 0); /* 0? */ in nv50_gr_construct_gene_vfetch()
1954 xf_emit(ctx, 2, 0); /* weird... */ in nv50_gr_construct_gene_vfetch()
1955 xf_emit(ctx, 2, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1957 xf_emit(ctx, 8, 0); /* 0? */ in nv50_gr_construct_gene_vfetch()
1958 xf_emit(ctx, 1, 0); /* weird... */ in nv50_gr_construct_gene_vfetch()
1959 xf_emit(ctx, 2, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1962 xf_emit(ctx, 1, 0); /* ffffffff VB_ELEMENT_BASE */ in nv50_gr_construct_gene_vfetch()
1963 xf_emit(ctx, 1, 0); /* ffffffff UNK1438 */ in nv50_gr_construct_gene_vfetch()
1964 xf_emit(ctx, acnt, 0); /* 1 tesla UNK1000 */ in nv50_gr_construct_gene_vfetch()
1966 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1118? */ in nv50_gr_construct_gene_vfetch()
1968 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */ in nv50_gr_construct_gene_vfetch()
1969 xf_emit(ctx, 1, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1971 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */ in nv50_gr_construct_gene_vfetch()
1972 xf_emit(ctx, 1, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1974 xf_emit(ctx, acnt, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1975 xf_emit(ctx, 2, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1977 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK111C? */ in nv50_gr_construct_gene_vfetch()
1978 xf_emit(ctx, 1, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1980 xf_emit(ctx, 1, 0); /* 000000ff UNK15F4_ADDRESS_HIGH */ in nv50_gr_construct_gene_vfetch()
1981 xf_emit(ctx, 1, 0); /* ffffffff UNK15F4_ADDRESS_LOW */ in nv50_gr_construct_gene_vfetch()
1982 xf_emit(ctx, 1, 0); /* 000000ff UNK0F84_ADDRESS_HIGH */ in nv50_gr_construct_gene_vfetch()
1983 xf_emit(ctx, 1, 0); /* ffffffff UNK0F84_ADDRESS_LOW */ in nv50_gr_construct_gene_vfetch()
1985 xf_emit(ctx, acnt, 0); /* 00003fff VERTEX_ARRAY_ATTRIB_OFFSET */ in nv50_gr_construct_gene_vfetch()
1986 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1988 xf_emit(ctx, acnt, 0); /* 00000fff VERTEX_ARRAY_STRIDE */ in nv50_gr_construct_gene_vfetch()
1989 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1991 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_LOW */ in nv50_gr_construct_gene_vfetch()
1992 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1994 xf_emit(ctx, acnt, 0); /* 000000ff VERTEX_ARRAY_HIGH */ in nv50_gr_construct_gene_vfetch()
1995 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
1997 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_LIMIT_LOW */ in nv50_gr_construct_gene_vfetch()
1998 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
2000 xf_emit(ctx, acnt, 0); /* 000000ff VERTEX_LIMIT_HIGH */ in nv50_gr_construct_gene_vfetch()
2001 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
2004 xf_emit(ctx, acnt, 0); /* f */ in nv50_gr_construct_gene_vfetch()
2005 xf_emit(ctx, 3, 0); /* f/1f */ in nv50_gr_construct_gene_vfetch()
2009 xf_emit(ctx, 2, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2011 xf_emit(ctx, 5, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2013 xf_emit(ctx, 1, 0); /* ffff DMA_VTXBUF */ in nv50_gr_construct_gene_vfetch()
2016 xf_emit(ctx, 0x41, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2018 xf_emit(ctx, 0x11, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2020 xf_emit(ctx, 0x50, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2022 xf_emit(ctx, 0x58, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2024 xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2025 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2026 xf_emit(ctx, 1, 1); /* 1 UNK0DEC */ in nv50_gr_construct_gene_vfetch()
2028 xf_emit(ctx, acnt*4, 0); /* ffffffff VTX_ATTR */ in nv50_gr_construct_gene_vfetch()
2029 xf_emit(ctx, 4, 0); /* f/1f, 0, 0, 0 */ in nv50_gr_construct_gene_vfetch()
2032 xf_emit(ctx, 0x1d, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2034 xf_emit(ctx, 0x16, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2036 xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2037 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2040 xf_emit(ctx, 8, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2042 xf_emit(ctx, 0xc, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2044 xf_emit(ctx, 7, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2046 xf_emit(ctx, 0xa, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
2054 xf_emit(ctx, 0x20, 0); /* ffffffff */ in nv50_gr_construct_gene_vfetch()
2055 xf_emit(ctx, 0x200, 0); /* ffffffff */ in nv50_gr_construct_gene_vfetch()
2056 xf_emit(ctx, 4, 0); /* 7f/ff, 0, 0, 0 */ in nv50_gr_construct_gene_vfetch()
2057 xf_emit(ctx, 4, 0); /* ffffffff */ in nv50_gr_construct_gene_vfetch()
2060 xf_emit(ctx, 1, 0); /* 113/111 */ in nv50_gr_construct_gene_vfetch()
2061 xf_emit(ctx, 1, 0xf); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2062 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2063 xf_emit(ctx, acnt/8, 0); /* ffffffff VTX_ATTR_MASK_UNK0DD0 */ in nv50_gr_construct_gene_vfetch()
2064 xf_emit(ctx, 1, 0); /* 0000000f VP_GP_BUILTIN_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
2065 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_vfetch()
2068 xf_emit(ctx, 7, 0); /* weird... */ in nv50_gr_construct_gene_vfetch()
2070 xf_emit(ctx, 5, 0); /* weird... */ in nv50_gr_construct_gene_vfetch()
2074 nv50_gr_construct_gene_eng2d(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_eng2d() argument
2076 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_eng2d()
2079 xf_emit(ctx, 2, 0); /* 0001ffff CLIP_X, CLIP_Y */ in nv50_gr_construct_gene_eng2d()
2080 xf_emit(ctx, 2, 0); /* 0000ffff CLIP_W, CLIP_H */ in nv50_gr_construct_gene_eng2d()
2081 xf_emit(ctx, 1, 0); /* 00000001 CLIP_ENABLE */ in nv50_gr_construct_gene_eng2d()
2085 xf_emit(ctx, 2, 0); /* 0000ffff IFC_CLIP_X, Y */ in nv50_gr_construct_gene_eng2d()
2086 xf_emit(ctx, 2, 1); /* 0000ffff IFC_CLIP_W, H */ in nv50_gr_construct_gene_eng2d()
2087 xf_emit(ctx, 1, 0); /* 00000001 IFC_CLIP_ENABLE */ in nv50_gr_construct_gene_eng2d()
2089 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_gene_eng2d()
2090 xf_emit(ctx, 1, 0x100); /* 0001ffff DST_WIDTH */ in nv50_gr_construct_gene_eng2d()
2091 xf_emit(ctx, 1, 0x100); /* 0001ffff DST_HEIGHT */ in nv50_gr_construct_gene_eng2d()
2092 xf_emit(ctx, 1, 0x11); /* 3f[NV50]/7f[NV84+] DST_FORMAT */ in nv50_gr_construct_gene_eng2d()
2093 xf_emit(ctx, 1, 0); /* 0001ffff DRAW_POINT_X */ in nv50_gr_construct_gene_eng2d()
2094 xf_emit(ctx, 1, 8); /* 0000000f DRAW_UNK58C */ in nv50_gr_construct_gene_eng2d()
2095 xf_emit(ctx, 1, 0); /* 000fffff SIFC_DST_X_FRACT */ in nv50_gr_construct_gene_eng2d()
2096 xf_emit(ctx, 1, 0); /* 0001ffff SIFC_DST_X_INT */ in nv50_gr_construct_gene_eng2d()
2097 xf_emit(ctx, 1, 0); /* 000fffff SIFC_DST_Y_FRACT */ in nv50_gr_construct_gene_eng2d()
2098 xf_emit(ctx, 1, 0); /* 0001ffff SIFC_DST_Y_INT */ in nv50_gr_construct_gene_eng2d()
2099 xf_emit(ctx, 1, 0); /* 000fffff SIFC_DX_DU_FRACT */ in nv50_gr_construct_gene_eng2d()
2100 xf_emit(ctx, 1, 1); /* 0001ffff SIFC_DX_DU_INT */ in nv50_gr_construct_gene_eng2d()
2101 xf_emit(ctx, 1, 0); /* 000fffff SIFC_DY_DV_FRACT */ in nv50_gr_construct_gene_eng2d()
2102 xf_emit(ctx, 1, 1); /* 0001ffff SIFC_DY_DV_INT */ in nv50_gr_construct_gene_eng2d()
2103 xf_emit(ctx, 1, 1); /* 0000ffff SIFC_WIDTH */ in nv50_gr_construct_gene_eng2d()
2104 xf_emit(ctx, 1, 1); /* 0000ffff SIFC_HEIGHT */ in nv50_gr_construct_gene_eng2d()
2105 xf_emit(ctx, 1, 0xcf); /* 000000ff SIFC_FORMAT */ in nv50_gr_construct_gene_eng2d()
2106 xf_emit(ctx, 1, 2); /* 00000003 SIFC_BITMAP_UNK808 */ in nv50_gr_construct_gene_eng2d()
2107 xf_emit(ctx, 1, 0); /* 00000003 SIFC_BITMAP_LINE_PACK_MODE */ in nv50_gr_construct_gene_eng2d()
2108 xf_emit(ctx, 1, 0); /* 00000001 SIFC_BITMAP_LSB_FIRST */ in nv50_gr_construct_gene_eng2d()
2109 xf_emit(ctx, 1, 0); /* 00000001 SIFC_BITMAP_ENABLE */ in nv50_gr_construct_gene_eng2d()
2110 xf_emit(ctx, 1, 0); /* 0000ffff BLIT_DST_X */ in nv50_gr_construct_gene_eng2d()
2111 xf_emit(ctx, 1, 0); /* 0000ffff BLIT_DST_Y */ in nv50_gr_construct_gene_eng2d()
2112 xf_emit(ctx, 1, 0); /* 000fffff BLIT_DU_DX_FRACT */ in nv50_gr_construct_gene_eng2d()
2113 xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DU_DX_INT */ in nv50_gr_construct_gene_eng2d()
2114 xf_emit(ctx, 1, 0); /* 000fffff BLIT_DV_DY_FRACT */ in nv50_gr_construct_gene_eng2d()
2115 xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DV_DY_INT */ in nv50_gr_construct_gene_eng2d()
2116 xf_emit(ctx, 1, 1); /* 0000ffff BLIT_DST_W */ in nv50_gr_construct_gene_eng2d()
2117 xf_emit(ctx, 1, 1); /* 0000ffff BLIT_DST_H */ in nv50_gr_construct_gene_eng2d()
2118 xf_emit(ctx, 1, 0); /* 000fffff BLIT_SRC_X_FRACT */ in nv50_gr_construct_gene_eng2d()
2119 xf_emit(ctx, 1, 0); /* 0001ffff BLIT_SRC_X_INT */ in nv50_gr_construct_gene_eng2d()
2120 xf_emit(ctx, 1, 0); /* 000fffff BLIT_SRC_Y_FRACT */ in nv50_gr_construct_gene_eng2d()
2121 xf_emit(ctx, 1, 0); /* 00000001 UNK888 */ in nv50_gr_construct_gene_eng2d()
2122 xf_emit(ctx, 1, 4); /* 0000003f UNK884 */ in nv50_gr_construct_gene_eng2d()
2123 xf_emit(ctx, 1, 0); /* 00000007 UNK880 */ in nv50_gr_construct_gene_eng2d()
2124 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK0FB8 */ in nv50_gr_construct_gene_eng2d()
2125 xf_emit(ctx, 1, 0x15); /* 000000ff tesla UNK128C */ in nv50_gr_construct_gene_eng2d()
2126 xf_emit(ctx, 2, 0); /* 00000007, ffff0ff3 */ in nv50_gr_construct_gene_eng2d()
2127 xf_emit(ctx, 1, 0); /* 00000001 UNK260 */ in nv50_gr_construct_gene_eng2d()
2128 xf_emit(ctx, 1, 0x4444480); /* 1fffffff UNK870 */ in nv50_gr_construct_gene_eng2d()
2130 xf_emit(ctx, 0x10, 0); in nv50_gr_construct_gene_eng2d()
2132 xf_emit(ctx, 0x27, 0); in nv50_gr_construct_gene_eng2d()
2136 nv50_gr_construct_gene_csched(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_csched() argument
2138 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_csched()
2141 xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY... what is it doing here??? */ in nv50_gr_construct_gene_csched()
2142 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1924 */ in nv50_gr_construct_gene_csched()
2143 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_csched()
2144 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_csched()
2145 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_csched()
2147 xf_emit(ctx, 1, 0); /* ffffffff turing UNK364 */ in nv50_gr_construct_gene_csched()
2148 xf_emit(ctx, 1, 0); /* 0000000f turing UNK36C */ in nv50_gr_construct_gene_csched()
2149 xf_emit(ctx, 1, 0); /* 0000ffff USER_PARAM_COUNT */ in nv50_gr_construct_gene_csched()
2150 xf_emit(ctx, 1, 0x100); /* 00ffffff turing UNK384 */ in nv50_gr_construct_gene_csched()
2151 xf_emit(ctx, 1, 0); /* 0000000f turing UNK2A0 */ in nv50_gr_construct_gene_csched()
2152 xf_emit(ctx, 1, 0); /* 0000ffff GRIDID */ in nv50_gr_construct_gene_csched()
2153 xf_emit(ctx, 1, 0x10001); /* ffffffff GRIDDIM_XY */ in nv50_gr_construct_gene_csched()
2154 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2155 xf_emit(ctx, 1, 0x10001); /* ffffffff BLOCKDIM_XY */ in nv50_gr_construct_gene_csched()
2156 xf_emit(ctx, 1, 1); /* 0000ffff BLOCKDIM_Z */ in nv50_gr_construct_gene_csched()
2157 xf_emit(ctx, 1, 0x10001); /* 00ffffff BLOCK_ALLOC */ in nv50_gr_construct_gene_csched()
2158 xf_emit(ctx, 1, 1); /* 00000001 LANES32 */ in nv50_gr_construct_gene_csched()
2159 xf_emit(ctx, 1, 4); /* 000000ff FP_REG_ALLOC_TEMP */ in nv50_gr_construct_gene_csched()
2160 xf_emit(ctx, 1, 2); /* 00000003 REG_MODE */ in nv50_gr_construct_gene_csched()
2162 xf_emit(ctx, 0x40, 0); /* ffffffff USER_PARAM */ in nv50_gr_construct_gene_csched()
2166 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2167 xf_emit(ctx, 0x80, 0); /* fff */ in nv50_gr_construct_gene_csched()
2168 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2169 xf_emit(ctx, 0x10*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2172 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2173 xf_emit(ctx, 0x60, 0); /* fff */ in nv50_gr_construct_gene_csched()
2174 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2175 xf_emit(ctx, 0xc*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2179 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2180 xf_emit(ctx, 0x40, 0); /* fff */ in nv50_gr_construct_gene_csched()
2181 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2182 xf_emit(ctx, 8*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2186 xf_emit(ctx, 4, 0); /* f, 0, 0, 0 */ in nv50_gr_construct_gene_csched()
2187 xf_emit(ctx, 0x10, 0); /* fff */ in nv50_gr_construct_gene_csched()
2188 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2189 xf_emit(ctx, 2*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2192 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2193 xf_emit(ctx, 0xf0, 0); /* fff */ in nv50_gr_construct_gene_csched()
2194 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2195 xf_emit(ctx, 0x1e*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2198 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2199 xf_emit(ctx, 0x60, 0); /* fff */ in nv50_gr_construct_gene_csched()
2200 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2201 xf_emit(ctx, 0xc*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2205 xf_emit(ctx, 8, 0); /* 7, 0, 0, 0, ... */ in nv50_gr_construct_gene_csched()
2206 xf_emit(ctx, 0x30, 0); /* fff */ in nv50_gr_construct_gene_csched()
2207 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2208 xf_emit(ctx, 6*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2211 xf_emit(ctx, 0x12, 0); in nv50_gr_construct_gene_csched()
2215 xf_emit(ctx, 4, 0); /* f, 0, 0, 0 */ in nv50_gr_construct_gene_csched()
2216 xf_emit(ctx, 0x10, 0); /* fff */ in nv50_gr_construct_gene_csched()
2217 xf_emit(ctx, 2, 0); /* ff, fff */ in nv50_gr_construct_gene_csched()
2218 xf_emit(ctx, 2*2, 0); /* ffffffff, 1f */ in nv50_gr_construct_gene_csched()
2221 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_csched()
2222 xf_emit(ctx, 1, 0); /* 00000000 */ in nv50_gr_construct_gene_csched()
2223 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2224 xf_emit(ctx, 1, 0); /* 0000001f */ in nv50_gr_construct_gene_csched()
2225 xf_emit(ctx, 4, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2226 xf_emit(ctx, 1, 0); /* 00000003 turing UNK35C */ in nv50_gr_construct_gene_csched()
2227 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2228 xf_emit(ctx, 4, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2229 xf_emit(ctx, 1, 0); /* 00000003 turing UNK35C */ in nv50_gr_construct_gene_csched()
2230 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_csched()
2231 xf_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_gene_csched()
2235 nv50_gr_construct_gene_unk1cxx(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_unk1cxx() argument
2237 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk1cxx()
2238 xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */ in nv50_gr_construct_gene_unk1cxx()
2239 xf_emit(ctx, 1, 0x3f800000); /* ffffffff LINE_WIDTH */ in nv50_gr_construct_gene_unk1cxx()
2240 xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2241 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1658 */ in nv50_gr_construct_gene_unk1cxx()
2242 xf_emit(ctx, 1, 0); /* 00000001 POLYGON_SMOOTH_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2243 xf_emit(ctx, 3, 0); /* 00000001 POLYGON_OFFSET_*_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2244 xf_emit(ctx, 1, 4); /* 0000000f CULL_MODE */ in nv50_gr_construct_gene_unk1cxx()
2245 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_unk1cxx()
2246 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_unk1cxx()
2247 xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2248 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK165C */ in nv50_gr_construct_gene_unk1cxx()
2249 xf_emit(ctx, 0x10, 0); /* 00000001 SCISSOR_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2250 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_unk1cxx()
2251 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2252 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */ in nv50_gr_construct_gene_unk1cxx()
2253 xf_emit(ctx, 1, 0); /* ffffffff POLYGON_OFFSET_UNITS */ in nv50_gr_construct_gene_unk1cxx()
2254 xf_emit(ctx, 1, 0); /* ffffffff POLYGON_OFFSET_FACTOR */ in nv50_gr_construct_gene_unk1cxx()
2255 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1668 */ in nv50_gr_construct_gene_unk1cxx()
2256 xf_emit(ctx, 2, 0); /* 07ffffff SCREEN_SCISSOR */ in nv50_gr_construct_gene_unk1cxx()
2257 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_unk1cxx()
2258 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_gene_unk1cxx()
2259 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_gene_unk1cxx()
2260 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_gene_unk1cxx()
2261 xf_emit(ctx, 1, 0x11); /* 0000007f RT_FORMAT */ in nv50_gr_construct_gene_unk1cxx()
2262 xf_emit(ctx, 7, 0); /* 0000007f RT_FORMAT */ in nv50_gr_construct_gene_unk1cxx()
2263 xf_emit(ctx, 8, 0); /* 00000001 RT_HORIZ_LINEAR */ in nv50_gr_construct_gene_unk1cxx()
2264 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_gene_unk1cxx()
2265 xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2266 xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */ in nv50_gr_construct_gene_unk1cxx()
2268 xf_emit(ctx, 1, 3); /* 00000003 UNK16B4 */ in nv50_gr_construct_gene_unk1cxx()
2270 xf_emit(ctx, 1, 1); /* 00000001 UNK16B4 */ in nv50_gr_construct_gene_unk1cxx()
2271 xf_emit(ctx, 1, 0); /* 00000003 MULTISAMPLE_CTRL */ in nv50_gr_construct_gene_unk1cxx()
2272 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK0F90 */ in nv50_gr_construct_gene_unk1cxx()
2273 xf_emit(ctx, 1, 2); /* 00000003 tesla UNK143C */ in nv50_gr_construct_gene_unk1cxx()
2274 xf_emit(ctx, 2, 0x04000000); /* 07ffffff tesla UNK0D6C */ in nv50_gr_construct_gene_unk1cxx()
2275 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_gene_unk1cxx()
2276 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2277 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2278 xf_emit(ctx, 1, 5); /* 0000000f UNK1408 */ in nv50_gr_construct_gene_unk1cxx()
2279 xf_emit(ctx, 1, 0x52); /* 000001ff SEMANTIC_PTSZ */ in nv50_gr_construct_gene_unk1cxx()
2280 xf_emit(ctx, 1, 0); /* ffffffff POINT_SIZE */ in nv50_gr_construct_gene_unk1cxx()
2281 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_unk1cxx()
2282 xf_emit(ctx, 1, 0); /* 00000007 tesla UNK0FB4 */ in nv50_gr_construct_gene_unk1cxx()
2284 xf_emit(ctx, 1, 0); /* 3ff */ in nv50_gr_construct_gene_unk1cxx()
2285 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK1110 */ in nv50_gr_construct_gene_unk1cxx()
2288 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1928 */ in nv50_gr_construct_gene_unk1cxx()
2289 xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR */ in nv50_gr_construct_gene_unk1cxx()
2290 xf_emit(ctx, 0x10, 0x3f800000); /* ffffffff DEPTH_RANGE_FAR */ in nv50_gr_construct_gene_unk1cxx()
2291 xf_emit(ctx, 1, 0x10); /* 000000ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_unk1cxx()
2292 …xf_emit(ctx, 0x20, 0); /* 07ffffff VIEWPORT_HORIZ, then VIEWPORT_VERT. (W&0x3fff)<<13 | (X&0x1fff… in nv50_gr_construct_gene_unk1cxx()
2293 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK187C */ in nv50_gr_construct_gene_unk1cxx()
2294 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_unk1cxx()
2295 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2296 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2297 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2298 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_MASK */ in nv50_gr_construct_gene_unk1cxx()
2299 xf_emit(ctx, 1, 0x8100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_gene_unk1cxx()
2300 xf_emit(ctx, 1, 5); /* 0000000f tesla UNK1220 */ in nv50_gr_construct_gene_unk1cxx()
2301 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_unk1cxx()
2302 xf_emit(ctx, 1, 0); /* 000000ff tesla UNK1A20 */ in nv50_gr_construct_gene_unk1cxx()
2303 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2304 xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2305 xf_emit(ctx, 4, 0xffff); /* 0000ffff MSAA_MASK */ in nv50_gr_construct_gene_unk1cxx()
2307 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 */ in nv50_gr_construct_gene_unk1cxx()
2309 xf_emit(ctx, 0x1c, 0); /* RO */ in nv50_gr_construct_gene_unk1cxx()
2311 xf_emit(ctx, 0x9, 0); in nv50_gr_construct_gene_unk1cxx()
2312 xf_emit(ctx, 1, 0); /* 00000001 UNK1534 */ in nv50_gr_construct_gene_unk1cxx()
2313 xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2314 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_gene_unk1cxx()
2315 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */ in nv50_gr_construct_gene_unk1cxx()
2316 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_gene_unk1cxx()
2317 xf_emit(ctx, 1, 0); /* 00000003 WINDOW_ORIGIN */ in nv50_gr_construct_gene_unk1cxx()
2319 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK1100 */ in nv50_gr_construct_gene_unk1cxx()
2320 xf_emit(ctx, 1, 0); /* 3ff */ in nv50_gr_construct_gene_unk1cxx()
2325 xf_emit(ctx, 0x25, 0); in nv50_gr_construct_gene_unk1cxx()
2327 xf_emit(ctx, 0x3b, 0); in nv50_gr_construct_gene_unk1cxx()
2331 nv50_gr_construct_gene_strmout(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_strmout() argument
2333 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_strmout()
2334 xf_emit(ctx, 1, 0x102); /* 0000ffff STRMOUT_BUFFER_CTRL */ in nv50_gr_construct_gene_strmout()
2335 xf_emit(ctx, 1, 0); /* ffffffff STRMOUT_PRIMITIVE_COUNT */ in nv50_gr_construct_gene_strmout()
2336 xf_emit(ctx, 4, 4); /* 000000ff STRMOUT_NUM_ATTRIBS */ in nv50_gr_construct_gene_strmout()
2338 xf_emit(ctx, 4, 0); /* ffffffff UNK1A8C */ in nv50_gr_construct_gene_strmout()
2339 xf_emit(ctx, 4, 0); /* ffffffff UNK1780 */ in nv50_gr_construct_gene_strmout()
2341 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_strmout()
2342 xf_emit(ctx, 1, 4); /* 0000007f VP_RESULT_MAP_SIZE */ in nv50_gr_construct_gene_strmout()
2343 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_gene_strmout()
2345 xf_emit(ctx, 1, 0x3ff); /* 000003ff tesla UNK0D68 */ in nv50_gr_construct_gene_strmout()
2347 xf_emit(ctx, 1, 0x7ff); /* 000007ff tesla UNK0D68 */ in nv50_gr_construct_gene_strmout()
2348 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_strmout()
2350 xf_emit(ctx, 1, 0x102); /* 0000ffff STRMOUT_BUFFER_CTRL */ in nv50_gr_construct_gene_strmout()
2351 xf_emit(ctx, 1, 0); /* ffffffff STRMOUT_PRIMITIVE_COUNT */ in nv50_gr_construct_gene_strmout()
2352 xf_emit(ctx, 4, 0); /* 000000ff STRMOUT_ADDRESS_HIGH */ in nv50_gr_construct_gene_strmout()
2353 xf_emit(ctx, 4, 0); /* ffffffff STRMOUT_ADDRESS_LOW */ in nv50_gr_construct_gene_strmout()
2354 xf_emit(ctx, 4, 4); /* 000000ff STRMOUT_NUM_ATTRIBS */ in nv50_gr_construct_gene_strmout()
2356 xf_emit(ctx, 4, 0); /* ffffffff UNK1A8C */ in nv50_gr_construct_gene_strmout()
2357 xf_emit(ctx, 4, 0); /* ffffffff UNK1780 */ in nv50_gr_construct_gene_strmout()
2359 xf_emit(ctx, 1, 0); /* 0000ffff DMA_STRMOUT */ in nv50_gr_construct_gene_strmout()
2360 xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */ in nv50_gr_construct_gene_strmout()
2361 xf_emit(ctx, 1, 0); /* 000000ff QUERY_ADDRESS_HIGH */ in nv50_gr_construct_gene_strmout()
2362 xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW QUERY_COUNTER */ in nv50_gr_construct_gene_strmout()
2363 xf_emit(ctx, 2, 0); /* ffffffff */ in nv50_gr_construct_gene_strmout()
2364 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_gene_strmout()
2366 xf_emit(ctx, 0x20, 0); /* ffffffff STRMOUT_MAP */ in nv50_gr_construct_gene_strmout()
2367 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_strmout()
2368 xf_emit(ctx, 1, 0); /* 00000000? */ in nv50_gr_construct_gene_strmout()
2369 xf_emit(ctx, 2, 0); /* ffffffff */ in nv50_gr_construct_gene_strmout()
2373 nv50_gr_construct_gene_ropm1(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ropm1() argument
2375 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ropm1()
2376 xf_emit(ctx, 1, 0x4e3bfdf); /* ffffffff UNK0D64 */ in nv50_gr_construct_gene_ropm1()
2377 xf_emit(ctx, 1, 0x4e3bfdf); /* ffffffff UNK0DF4 */ in nv50_gr_construct_gene_ropm1()
2378 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_ropm1()
2379 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_ropm1()
2381 xf_emit(ctx, 1, 0x11); /* 000000ff tesla UNK1968 */ in nv50_gr_construct_gene_ropm1()
2382 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropm1()
2386 nv50_gr_construct_gene_ropm2(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ropm2() argument
2388 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ropm2()
2390 xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */ in nv50_gr_construct_gene_ropm2()
2391 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_gene_ropm2()
2392 xf_emit(ctx, 2, 0); /* ffffffff */ in nv50_gr_construct_gene_ropm2()
2393 xf_emit(ctx, 1, 0); /* 000000ff QUERY_ADDRESS_HIGH */ in nv50_gr_construct_gene_ropm2()
2394 xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW, COUNTER */ in nv50_gr_construct_gene_ropm2()
2395 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_gene_ropm2()
2396 xf_emit(ctx, 1, 0); /* 7 */ in nv50_gr_construct_gene_ropm2()
2398 xf_emit(ctx, 1, 0); /* 0000ffff DMA_QUERY */ in nv50_gr_construct_gene_ropm2()
2399 xf_emit(ctx, 1, 0); /* 000000ff QUERY_ADDRESS_HIGH */ in nv50_gr_construct_gene_ropm2()
2400 xf_emit(ctx, 2, 0); /* ffffffff QUERY_ADDRESS_LOW, COUNTER */ in nv50_gr_construct_gene_ropm2()
2401 xf_emit(ctx, 1, 0x4e3bfdf); /* ffffffff UNK0D64 */ in nv50_gr_construct_gene_ropm2()
2402 xf_emit(ctx, 1, 0x4e3bfdf); /* ffffffff UNK0DF4 */ in nv50_gr_construct_gene_ropm2()
2403 xf_emit(ctx, 1, 0); /* 00000001 eng2d UNK260 */ in nv50_gr_construct_gene_ropm2()
2404 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_gene_ropm2()
2405 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_ropm2()
2407 xf_emit(ctx, 1, 0x11); /* 000000ff tesla UNK1968 */ in nv50_gr_construct_gene_ropm2()
2408 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropm2()
2412 nv50_gr_construct_gene_ropc(struct nvkm_grctx *ctx) in nv50_gr_construct_gene_ropc() argument
2414 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ropc()
2423 xf_emit(ctx, 1, 0); /* f/7 MUTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2424 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_ropc()
2425 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2426 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2427 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_MASK */ in nv50_gr_construct_gene_ropc()
2428 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_ropc()
2429 xf_emit(ctx, 1, 2); /* 00000003 tesla UNK143C */ in nv50_gr_construct_gene_ropc()
2430 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_gene_ropc()
2431 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */ in nv50_gr_construct_gene_ropc()
2432 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_gene_ropc()
2433 xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */ in nv50_gr_construct_gene_ropc()
2434 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_ropc()
2435 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_ropc()
2437 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_gene_ropc()
2438 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2439 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2440 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_gene_ropc()
2441 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_ropc()
2442 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_ropc()
2444 xf_emit(ctx, 1, 0x15); /* 000000ff */ in nv50_gr_construct_gene_ropc()
2445 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_ropc()
2446 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_gene_ropc()
2447 xf_emit(ctx, 1, 0x10); /* 3ff/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_ropc()
2448 xf_emit(ctx, 1, 0); /* ffffffff CLEAR_DEPTH */ in nv50_gr_construct_gene_ropc()
2449 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_ropc()
2450 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_gene_ropc()
2451 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropc()
2453 xf_emit(ctx, 3, 0); /* ff, ffffffff, ffffffff */ in nv50_gr_construct_gene_ropc()
2454 xf_emit(ctx, 1, 4); /* 7 */ in nv50_gr_construct_gene_ropc()
2455 xf_emit(ctx, 1, 0x400); /* fffffff */ in nv50_gr_construct_gene_ropc()
2456 xf_emit(ctx, 1, 0x300); /* ffff */ in nv50_gr_construct_gene_ropc()
2457 xf_emit(ctx, 1, 0x1001); /* 1fff */ in nv50_gr_construct_gene_ropc()
2460 xf_emit(ctx, 1, 0); /* 0000000f UNK15C8 */ in nv50_gr_construct_gene_ropc()
2462 xf_emit(ctx, 1, 0x15); /* ff */ in nv50_gr_construct_gene_ropc()
2465 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2466 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_ropc()
2467 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2468 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2469 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_gene_ropc()
2470 xf_emit(ctx, 1, 2); /* 00000003 tesla UNK143C */ in nv50_gr_construct_gene_ropc()
2471 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_gene_ropc()
2472 xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */ in nv50_gr_construct_gene_ropc()
2473 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_ropc()
2474 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_ropc()
2475 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2476 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2477 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_ropc()
2478 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_ropc()
2479 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_gene_ropc()
2480 xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_ropc()
2481 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_ropc()
2482 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_gene_ropc()
2483 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropc()
2484 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_ropc()
2485 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1900 */ in nv50_gr_construct_gene_ropc()
2486 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2487 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2488 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_REF */ in nv50_gr_construct_gene_ropc()
2489 xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */ in nv50_gr_construct_gene_ropc()
2490 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_gene_ropc()
2491 xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */ in nv50_gr_construct_gene_ropc()
2492 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_ropc()
2493 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_ropc()
2494 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_ropc()
2495 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0FB0 */ in nv50_gr_construct_gene_ropc()
2496 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2497 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2498 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_REF */ in nv50_gr_construct_gene_ropc()
2499 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_ropc()
2500 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_ropc()
2501 xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_ropc()
2502 xf_emit(ctx, 0x10, 0); /* ffffffff DEPTH_RANGE_NEAR */ in nv50_gr_construct_gene_ropc()
2503 xf_emit(ctx, 0x10, 0x3f800000); /* ffffffff DEPTH_RANGE_FAR */ in nv50_gr_construct_gene_ropc()
2504 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_ropc()
2505 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2506 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_BACK_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2507 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2508 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_FUNC_REF */ in nv50_gr_construct_gene_ropc()
2509 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_MASK */ in nv50_gr_construct_gene_ropc()
2510 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_ropc()
2511 xf_emit(ctx, 2, 0); /* ffffffff DEPTH_BOUNDS */ in nv50_gr_construct_gene_ropc()
2512 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_gene_ropc()
2513 xf_emit(ctx, 1, 0); /* 00000007 DEPTH_TEST_FUNC */ in nv50_gr_construct_gene_ropc()
2514 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_gene_ropc()
2515 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_gene_ropc()
2516 xf_emit(ctx, 1, 0); /* 000000ff CLEAR_STENCIL */ in nv50_gr_construct_gene_ropc()
2517 xf_emit(ctx, 1, 0); /* 00000007 STENCIL_FRONT_FUNC_FUNC */ in nv50_gr_construct_gene_ropc()
2518 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_MASK */ in nv50_gr_construct_gene_ropc()
2519 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_FUNC_REF */ in nv50_gr_construct_gene_ropc()
2520 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_gene_ropc()
2521 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_gene_ropc()
2522 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_gene_ropc()
2523 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_gene_ropc()
2524 xf_emit(ctx, 1, 0x10); /* 7f/ff VIEW_VOLUME_CLIP_CTRL */ in nv50_gr_construct_gene_ropc()
2525 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_ropc()
2526 xf_emit(ctx, 1, 0x3f); /* 0000003f UNK1590 */ in nv50_gr_construct_gene_ropc()
2527 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2528 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_ropc()
2529 xf_emit(ctx, 2, 0); /* ffff0ff3, ffff */ in nv50_gr_construct_gene_ropc()
2530 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0FB0 */ in nv50_gr_construct_gene_ropc()
2531 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_gene_ropc()
2532 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_gene_ropc()
2533 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_gene_ropc()
2534 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_gene_ropc()
2535 xf_emit(ctx, 1, 0); /* ffffffff CLEAR_DEPTH */ in nv50_gr_construct_gene_ropc()
2536 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK19CC */ in nv50_gr_construct_gene_ropc()
2538 xf_emit(ctx, 2, 0); in nv50_gr_construct_gene_ropc()
2539 xf_emit(ctx, 1, 0x1001); in nv50_gr_construct_gene_ropc()
2540 xf_emit(ctx, 0xb, 0); in nv50_gr_construct_gene_ropc()
2542 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_ropc()
2543 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_gene_ropc()
2544 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2545 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_gene_ropc()
2546 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_gene_ropc()
2548 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_gene_ropc()
2549 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_gene_ropc()
2550 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_gene_ropc()
2551 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_gene_ropc()
2552 xf_emit(ctx, 1, 0x11); /* 3f/7f */ in nv50_gr_construct_gene_ropc()
2553 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_gene_ropc()
2555 xf_emit(ctx, 1, 0); /* 0000000f LOGIC_OP */ in nv50_gr_construct_gene_ropc()
2556 xf_emit(ctx, 1, 0); /* 000000ff */ in nv50_gr_construct_gene_ropc()
2558 xf_emit(ctx, 1, 0); /* 00000007 OPERATION */ in nv50_gr_construct_gene_ropc()
2559 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_gene_ropc()
2560 xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */ in nv50_gr_construct_gene_ropc()
2561 xf_emit(ctx, 2, 1); /* 00000007 BLEND_EQUATION_RGB, ALPHA */ in nv50_gr_construct_gene_ropc()
2562 xf_emit(ctx, 1, 1); /* 00000001 UNK133C */ in nv50_gr_construct_gene_ropc()
2563 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_RGB */ in nv50_gr_construct_gene_ropc()
2564 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */ in nv50_gr_construct_gene_ropc()
2565 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_gene_ropc()
2566 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_gene_ropc()
2567 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2568 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */ in nv50_gr_construct_gene_ropc()
2569 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropc()
2570 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_gene_ropc()
2572 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK12E4 */ in nv50_gr_construct_gene_ropc()
2573 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */ in nv50_gr_construct_gene_ropc()
2574 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */ in nv50_gr_construct_gene_ropc()
2575 xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */ in nv50_gr_construct_gene_ropc()
2576 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_RGB */ in nv50_gr_construct_gene_ropc()
2577 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_RGB */ in nv50_gr_construct_gene_ropc()
2578 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_gene_ropc()
2579 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_gene_ropc()
2580 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1140 */ in nv50_gr_construct_gene_ropc()
2581 xf_emit(ctx, 2, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2582 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_gene_ropc()
2583 xf_emit(ctx, 1, 0); /* 0000000f */ in nv50_gr_construct_gene_ropc()
2584 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_gene_ropc()
2585 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_ropc()
2586 xf_emit(ctx, 2, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2587 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_gene_ropc()
2588 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2589 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_ropc()
2591 xf_emit(ctx, 2, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2592 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_gene_ropc()
2593 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_gene_ropc()
2594 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_gene_ropc()
2595 xf_emit(ctx, 2, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2597 xf_emit(ctx, 1, 0); /* 00000007 MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_gene_ropc()
2598 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1430 */ in nv50_gr_construct_gene_ropc()
2599 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_gene_ropc()
2601 xf_emit(ctx, 4, 0); /* ffffffff CLEAR_COLOR */ in nv50_gr_construct_gene_ropc()
2602 xf_emit(ctx, 4, 0); /* ffffffff BLEND_COLOR A R G B */ in nv50_gr_construct_gene_ropc()
2603 xf_emit(ctx, 1, 0); /* 00000fff eng2d UNK2B0 */ in nv50_gr_construct_gene_ropc()
2605 xf_emit(ctx, 2, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2606 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_gene_ropc()
2607 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_gene_ropc()
2608 xf_emit(ctx, 1, 1); /* 00000001 UNK133C */ in nv50_gr_construct_gene_ropc()
2609 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_RGB */ in nv50_gr_construct_gene_ropc()
2610 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */ in nv50_gr_construct_gene_ropc()
2611 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_RGB */ in nv50_gr_construct_gene_ropc()
2612 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_gene_ropc()
2613 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_gene_ropc()
2614 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_ALPHA */ in nv50_gr_construct_gene_ropc()
2615 xf_emit(ctx, 1, 0); /* 00000001 UNK19C0 */ in nv50_gr_construct_gene_ropc()
2616 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_gene_ropc()
2617 xf_emit(ctx, 1, 0); /* 0000000f LOGIC_OP */ in nv50_gr_construct_gene_ropc()
2619 xf_emit(ctx, 1, 0); /* 00000001 UNK12E4? NVA3+ only? */ in nv50_gr_construct_gene_ropc()
2621 xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */ in nv50_gr_construct_gene_ropc()
2622 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */ in nv50_gr_construct_gene_ropc()
2623 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_RGB */ in nv50_gr_construct_gene_ropc()
2624 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_RGB */ in nv50_gr_construct_gene_ropc()
2625 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */ in nv50_gr_construct_gene_ropc()
2626 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_gene_ropc()
2627 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_gene_ropc()
2628 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK15C4 */ in nv50_gr_construct_gene_ropc()
2629 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_gene_ropc()
2630 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1140 */ in nv50_gr_construct_gene_ropc()
2632 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_gene_ropc()
2633 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_gene_ropc()
2634 xf_emit(ctx, 1, 0); /* 00000007 PATTERN_COLOR_FORMAT */ in nv50_gr_construct_gene_ropc()
2635 xf_emit(ctx, 2, 0); /* ffffffff PATTERN_MONO_COLOR */ in nv50_gr_construct_gene_ropc()
2636 xf_emit(ctx, 1, 0); /* 00000001 PATTERN_MONO_FORMAT */ in nv50_gr_construct_gene_ropc()
2637 xf_emit(ctx, 2, 0); /* ffffffff PATTERN_MONO_BITMAP */ in nv50_gr_construct_gene_ropc()
2638 xf_emit(ctx, 1, 0); /* 00000003 PATTERN_SELECT */ in nv50_gr_construct_gene_ropc()
2639 xf_emit(ctx, 1, 0); /* 000000ff ROP */ in nv50_gr_construct_gene_ropc()
2640 xf_emit(ctx, 1, 0); /* ffffffff BETA1 */ in nv50_gr_construct_gene_ropc()
2641 xf_emit(ctx, 1, 0); /* ffffffff BETA4 */ in nv50_gr_construct_gene_ropc()
2642 xf_emit(ctx, 1, 0); /* 00000007 OPERATION */ in nv50_gr_construct_gene_ropc()
2643 xf_emit(ctx, 0x50, 0); /* 10x ffffff, ffffff, ffffff, ffffff, 3 PATTERN */ in nv50_gr_construct_gene_ropc()
2647 nv50_gr_construct_xfer_unk84xx(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_unk84xx() argument
2649 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_unk84xx()
2666 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2667 xf_emit(ctx, 1, 4); /* 7f/ff[NVA0+] VP_REG_ALLOC_RESULT */ in nv50_gr_construct_xfer_unk84xx()
2668 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2669 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2670 xf_emit(ctx, 1, 0); /* 111/113[NVA0+] */ in nv50_gr_construct_xfer_unk84xx()
2672 xf_emit(ctx, 0x1f, 0); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2674 xf_emit(ctx, 0x0f, 0); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2676 xf_emit(ctx, 0x10, 0); /* fffffff VP_RESULT_MAP_1 up */ in nv50_gr_construct_xfer_unk84xx()
2677 xf_emit(ctx, 2, 0); /* f/1f[NVA3], fffffff/ffffffff[NVA0+] */ in nv50_gr_construct_xfer_unk84xx()
2678 xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */ in nv50_gr_construct_xfer_unk84xx()
2679 xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2681 xf_emit(ctx, 1, 0x03020100); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2683 xf_emit(ctx, 1, 0x00608080); /* fffffff VP_RESULT_MAP_0 */ in nv50_gr_construct_xfer_unk84xx()
2684 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2685 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2686 xf_emit(ctx, 2, 0); /* 111/113, 7f/ff */ in nv50_gr_construct_xfer_unk84xx()
2687 xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2688 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2689 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2690 xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */ in nv50_gr_construct_xfer_unk84xx()
2691 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2692 xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */ in nv50_gr_construct_xfer_unk84xx()
2694 xf_emit(ctx, 1, magic3); /* 00007fff tesla UNK141C */ in nv50_gr_construct_xfer_unk84xx()
2695 xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2696 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2697 xf_emit(ctx, 1, 0); /* 111/113 */ in nv50_gr_construct_xfer_unk84xx()
2698 xf_emit(ctx, 0x1f, 0); /* ffffffff GP_RESULT_MAP_1 up */ in nv50_gr_construct_xfer_unk84xx()
2699 xf_emit(ctx, 1, 0); /* 0000001f */ in nv50_gr_construct_xfer_unk84xx()
2700 xf_emit(ctx, 1, 0); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2701 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2702 xf_emit(ctx, 1, 4); /* 000000ff GP_REG_ALLOC_RESULT */ in nv50_gr_construct_xfer_unk84xx()
2703 xf_emit(ctx, 1, 0x80); /* 0000ffff GP_VERTEX_OUTPUT_COUNT */ in nv50_gr_construct_xfer_unk84xx()
2704 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2705 xf_emit(ctx, 1, 0x03020100); /* ffffffff GP_RESULT_MAP_0 */ in nv50_gr_construct_xfer_unk84xx()
2706 xf_emit(ctx, 1, 3); /* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */ in nv50_gr_construct_xfer_unk84xx()
2708 xf_emit(ctx, 1, magic3); /* 7fff tesla UNK141C */ in nv50_gr_construct_xfer_unk84xx()
2709 xf_emit(ctx, 1, 4); /* 7f/ff VP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2710 xf_emit(ctx, 1, 0); /* 00000001 PROVOKING_VERTEX_LAST */ in nv50_gr_construct_xfer_unk84xx()
2711 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2712 xf_emit(ctx, 1, 0); /* 111/113 */ in nv50_gr_construct_xfer_unk84xx()
2713 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2714 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2715 xf_emit(ctx, 1, 3); /* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */ in nv50_gr_construct_xfer_unk84xx()
2716 xf_emit(ctx, 1, 0); /* 00000001 PROVOKING_VERTEX_LAST */ in nv50_gr_construct_xfer_unk84xx()
2717 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2718 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK13A0 */ in nv50_gr_construct_xfer_unk84xx()
2719 xf_emit(ctx, 1, 4); /* 7f/ff VP_REG_ALLOC_RESULT */ in nv50_gr_construct_xfer_unk84xx()
2720 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2721 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2722 xf_emit(ctx, 1, 0); /* 111/113 */ in nv50_gr_construct_xfer_unk84xx()
2724 xf_emit(ctx, 0x1020, 0); /* 4 x (0x400 x 0xffffffff, ff, 0, 0, 0, 4 x ffffffff) */ in nv50_gr_construct_xfer_unk84xx()
2726 xf_emit(ctx, 0xa20, 0); /* 4 x (0x280 x 0xffffffff, ff, 0, 0, 0, 4 x ffffffff) */ in nv50_gr_construct_xfer_unk84xx()
2728 xf_emit(ctx, 0x210, 0); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2730 xf_emit(ctx, 0x410, 0); /* ffffffff */ in nv50_gr_construct_xfer_unk84xx()
2731 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_unk84xx()
2732 xf_emit(ctx, 1, 4); /* 000000ff GP_RESULT_MAP_SIZE */ in nv50_gr_construct_xfer_unk84xx()
2733 xf_emit(ctx, 1, 3); /* 00000003 GP_OUTPUT_PRIMITIVE_TYPE */ in nv50_gr_construct_xfer_unk84xx()
2734 xf_emit(ctx, 1, 0); /* 00000001 PROVOKING_VERTEX_LAST */ in nv50_gr_construct_xfer_unk84xx()
2735 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_unk84xx()
2739 nv50_gr_construct_xfer_tprop(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_tprop() argument
2741 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_tprop()
2753 xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */ in nv50_gr_construct_xfer_tprop()
2754 xf_emit(ctx, 1, 0); /* ffffffff ALPHA_TEST_REF */ in nv50_gr_construct_xfer_tprop()
2755 xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2757 xf_emit(ctx, 1, 1); /* 0000000f UNK16A0 */ in nv50_gr_construct_xfer_tprop()
2758 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2759 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_xfer_tprop()
2760 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_BACK_MASK */ in nv50_gr_construct_xfer_tprop()
2761 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_BACK_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_xfer_tprop()
2762 xf_emit(ctx, 4, 0); /* ffffffff BLEND_COLOR */ in nv50_gr_construct_xfer_tprop()
2763 xf_emit(ctx, 1, 0); /* 00000001 UNK19C0 */ in nv50_gr_construct_xfer_tprop()
2764 xf_emit(ctx, 1, 0); /* 00000001 UNK0FDC */ in nv50_gr_construct_xfer_tprop()
2765 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2766 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2767 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2768 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_xfer_tprop()
2769 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_xfer_tprop()
2770 xf_emit(ctx, 1, 0); /* ff[NV50]/3ff[NV84+] */ in nv50_gr_construct_xfer_tprop()
2771 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_xfer_tprop()
2772 xf_emit(ctx, 4, 0xffff); /* 0000ffff MSAA_MASK */ in nv50_gr_construct_xfer_tprop()
2773 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_xfer_tprop()
2774 xf_emit(ctx, 3, 0); /* 00000007 STENCIL_FRONT_OP_FAIL, ZFAIL, ZPASS */ in nv50_gr_construct_xfer_tprop()
2775 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2776 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_BACK_ENABLE */ in nv50_gr_construct_xfer_tprop()
2777 xf_emit(ctx, 2, 0); /* 00007fff WINDOW_OFFSET_XY */ in nv50_gr_construct_xfer_tprop()
2778 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK19CC */ in nv50_gr_construct_xfer_tprop()
2779 xf_emit(ctx, 1, 0); /* 7 */ in nv50_gr_construct_xfer_tprop()
2780 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2781 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_xfer_tprop()
2782 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_xfer_tprop()
2783 xf_emit(ctx, 1, 0); /* ffffffff COLOR_KEY */ in nv50_gr_construct_xfer_tprop()
2784 xf_emit(ctx, 1, 0); /* 00000001 COLOR_KEY_ENABLE */ in nv50_gr_construct_xfer_tprop()
2785 xf_emit(ctx, 1, 0); /* 00000007 COLOR_KEY_FORMAT */ in nv50_gr_construct_xfer_tprop()
2786 xf_emit(ctx, 2, 0); /* ffffffff SIFC_BITMAP_COLOR */ in nv50_gr_construct_xfer_tprop()
2787 xf_emit(ctx, 1, 1); /* 00000001 SIFC_BITMAP_WRITE_BIT0_ENABLE */ in nv50_gr_construct_xfer_tprop()
2788 xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */ in nv50_gr_construct_xfer_tprop()
2789 xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2791 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK16B4 */ in nv50_gr_construct_xfer_tprop()
2792 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_xfer_tprop()
2793 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1298 */ in nv50_gr_construct_xfer_tprop()
2795 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK16B4 */ in nv50_gr_construct_xfer_tprop()
2796 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_xfer_tprop()
2798 xf_emit(ctx, 1, 0); /* 00000003 MULTISAMPLE_CTRL */ in nv50_gr_construct_xfer_tprop()
2800 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_xfer_tprop()
2801 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_xfer_tprop()
2802 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_xfer_tprop()
2803 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_ALPHA */ in nv50_gr_construct_xfer_tprop()
2804 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_xfer_tprop()
2805 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */ in nv50_gr_construct_xfer_tprop()
2806 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_RGB */ in nv50_gr_construct_xfer_tprop()
2807 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_RGB */ in nv50_gr_construct_xfer_tprop()
2809 xf_emit(ctx, 1, 0); /* 00000001 UNK12E4 */ in nv50_gr_construct_xfer_tprop()
2810 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */ in nv50_gr_construct_xfer_tprop()
2811 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */ in nv50_gr_construct_xfer_tprop()
2812 xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */ in nv50_gr_construct_xfer_tprop()
2813 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_SRC_RGB */ in nv50_gr_construct_xfer_tprop()
2814 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_DST_RGB */ in nv50_gr_construct_xfer_tprop()
2815 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_SRC_ALPHA */ in nv50_gr_construct_xfer_tprop()
2816 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_DST_ALPHA */ in nv50_gr_construct_xfer_tprop()
2817 xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */ in nv50_gr_construct_xfer_tprop()
2819 xf_emit(ctx, 1, 1); /* 00000001 UNK133C */ in nv50_gr_construct_xfer_tprop()
2820 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2821 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2822 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2823 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2824 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_xfer_tprop()
2825 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2826 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_xfer_tprop()
2827 xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */ in nv50_gr_construct_xfer_tprop()
2828 xf_emit(ctx, 1, 0); /* 00000001 FRAMEBUFFER_SRGB */ in nv50_gr_construct_xfer_tprop()
2829 xf_emit(ctx, 1, 0); /* 7 */ in nv50_gr_construct_xfer_tprop()
2830 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_tprop()
2831 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_xfer_tprop()
2832 xf_emit(ctx, 1, 0); /* 00000007 OPERATION */ in nv50_gr_construct_xfer_tprop()
2833 xf_emit(ctx, 1, 0xcf); /* 000000ff SIFC_FORMAT */ in nv50_gr_construct_xfer_tprop()
2834 xf_emit(ctx, 1, 0xcf); /* 000000ff DRAW_COLOR_FORMAT */ in nv50_gr_construct_xfer_tprop()
2835 xf_emit(ctx, 1, 0xcf); /* 000000ff SRC_FORMAT */ in nv50_gr_construct_xfer_tprop()
2837 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
2838 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_xfer_tprop()
2839 xf_emit(ctx, 1, 0); /* 7/f[NVA3] MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2840 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_xfer_tprop()
2841 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_xfer_tprop()
2842 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_ALPHA */ in nv50_gr_construct_xfer_tprop()
2843 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_xfer_tprop()
2844 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */ in nv50_gr_construct_xfer_tprop()
2845 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_RGB */ in nv50_gr_construct_xfer_tprop()
2846 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_RGB */ in nv50_gr_construct_xfer_tprop()
2847 xf_emit(ctx, 1, 1); /* 00000001 UNK133C */ in nv50_gr_construct_xfer_tprop()
2848 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2849 xf_emit(ctx, 8, 1); /* 00000001 UNK19E0 */ in nv50_gr_construct_xfer_tprop()
2850 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2851 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2852 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2853 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2854 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2855 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */ in nv50_gr_construct_xfer_tprop()
2856 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_xfer_tprop()
2857 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2858 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_tprop()
2859 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_xfer_tprop()
2861 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
2863 xf_emit(ctx, 1, 0); /* ff */ in nv50_gr_construct_xfer_tprop()
2865 xf_emit(ctx, 3, 0); /* 1, 7, 3ff */ in nv50_gr_construct_xfer_tprop()
2866 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_xfer_tprop()
2867 xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */ in nv50_gr_construct_xfer_tprop()
2868 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2869 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_tprop()
2870 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2871 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_xfer_tprop()
2872 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_xfer_tprop()
2873 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_xfer_tprop()
2874 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2875 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_xfer_tprop()
2876 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2877 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2878 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2879 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2880 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_xfer_tprop()
2881 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2882 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_xfer_tprop()
2883 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_tprop()
2884 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_xfer_tprop()
2885 xf_emit(ctx, 1, 0); /* 000fffff BLIT_DU_DX_FRACT */ in nv50_gr_construct_xfer_tprop()
2886 xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DU_DX_INT */ in nv50_gr_construct_xfer_tprop()
2887 xf_emit(ctx, 1, 0); /* 000fffff BLIT_DV_DY_FRACT */ in nv50_gr_construct_xfer_tprop()
2888 xf_emit(ctx, 1, 1); /* 0001ffff BLIT_DV_DY_INT */ in nv50_gr_construct_xfer_tprop()
2889 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2890 xf_emit(ctx, 1, magic1); /* 3ff/7ff tesla UNK0D68 */ in nv50_gr_construct_xfer_tprop()
2891 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2892 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_xfer_tprop()
2893 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_xfer_tprop()
2894 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_xfer_tprop()
2895 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_tprop()
2896 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_xfer_tprop()
2898 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
2899 xf_emit(ctx, 8, 0); /* 0000ffff DMA_COLOR */ in nv50_gr_construct_xfer_tprop()
2900 xf_emit(ctx, 1, 0); /* 0000ffff DMA_GLOBAL */ in nv50_gr_construct_xfer_tprop()
2901 xf_emit(ctx, 1, 0); /* 0000ffff DMA_LOCAL */ in nv50_gr_construct_xfer_tprop()
2902 xf_emit(ctx, 1, 0); /* 0000ffff DMA_STACK */ in nv50_gr_construct_xfer_tprop()
2903 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2904 xf_emit(ctx, 1, 0); /* 0000ffff DMA_DST */ in nv50_gr_construct_xfer_tprop()
2905 xf_emit(ctx, 1, 0); /* 7 */ in nv50_gr_construct_xfer_tprop()
2906 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2907 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2908 xf_emit(ctx, 8, 0); /* 000000ff RT_ADDRESS_HIGH */ in nv50_gr_construct_xfer_tprop()
2909 xf_emit(ctx, 8, 0); /* ffffffff RT_LAYER_STRIDE */ in nv50_gr_construct_xfer_tprop()
2910 xf_emit(ctx, 8, 0); /* ffffffff RT_ADDRESS_LOW */ in nv50_gr_construct_xfer_tprop()
2911 xf_emit(ctx, 8, 8); /* 0000007f RT_TILE_MODE */ in nv50_gr_construct_xfer_tprop()
2912 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2913 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2914 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2915 xf_emit(ctx, 8, 0x400); /* 0fffffff RT_HORIZ */ in nv50_gr_construct_xfer_tprop()
2916 xf_emit(ctx, 8, 0x300); /* 0000ffff RT_VERT */ in nv50_gr_construct_xfer_tprop()
2917 xf_emit(ctx, 1, 1); /* 00001fff RT_ARRAY_MODE */ in nv50_gr_construct_xfer_tprop()
2918 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2919 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2920 xf_emit(ctx, 1, 0x20); /* 00000fff DST_TILE_MODE */ in nv50_gr_construct_xfer_tprop()
2921 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_tprop()
2922 xf_emit(ctx, 1, 0x100); /* 0001ffff DST_HEIGHT */ in nv50_gr_construct_xfer_tprop()
2923 xf_emit(ctx, 1, 0); /* 000007ff DST_LAYER */ in nv50_gr_construct_xfer_tprop()
2924 xf_emit(ctx, 1, 1); /* 00000001 DST_LINEAR */ in nv50_gr_construct_xfer_tprop()
2925 xf_emit(ctx, 1, 0); /* ffffffff DST_ADDRESS_LOW */ in nv50_gr_construct_xfer_tprop()
2926 xf_emit(ctx, 1, 0); /* 000000ff DST_ADDRESS_HIGH */ in nv50_gr_construct_xfer_tprop()
2927 xf_emit(ctx, 1, 0x40); /* 0007ffff DST_PITCH */ in nv50_gr_construct_xfer_tprop()
2928 xf_emit(ctx, 1, 0x100); /* 0001ffff DST_WIDTH */ in nv50_gr_construct_xfer_tprop()
2929 xf_emit(ctx, 1, 0); /* 0000ffff */ in nv50_gr_construct_xfer_tprop()
2930 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK15AC */ in nv50_gr_construct_xfer_tprop()
2931 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2932 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_xfer_tprop()
2933 xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */ in nv50_gr_construct_xfer_tprop()
2934 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_tprop()
2936 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
2937 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */ in nv50_gr_construct_xfer_tprop()
2938 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2939 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_xfer_tprop()
2940 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2941 xf_emit(ctx, 1, 2); /* 00000003 tesla UNK143C */ in nv50_gr_construct_xfer_tprop()
2942 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2943 xf_emit(ctx, 1, 0); /* 0000ffff DMA_ZETA */ in nv50_gr_construct_xfer_tprop()
2944 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_xfer_tprop()
2945 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2946 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_xfer_tprop()
2947 xf_emit(ctx, 2, 0); /* ffff, ff/3ff */ in nv50_gr_construct_xfer_tprop()
2948 xf_emit(ctx, 1, 0); /* 0001ffff GP_BUILTIN_RESULT_EN */ in nv50_gr_construct_xfer_tprop()
2949 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2950 xf_emit(ctx, 1, 0); /* 000000ff STENCIL_FRONT_MASK */ in nv50_gr_construct_xfer_tprop()
2951 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_xfer_tprop()
2952 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_tprop()
2953 xf_emit(ctx, 1, 0); /* ffffffff ZETA_LAYER_STRIDE */ in nv50_gr_construct_xfer_tprop()
2954 xf_emit(ctx, 1, 0); /* 000000ff ZETA_ADDRESS_HIGH */ in nv50_gr_construct_xfer_tprop()
2955 xf_emit(ctx, 1, 0); /* ffffffff ZETA_ADDRESS_LOW */ in nv50_gr_construct_xfer_tprop()
2956 xf_emit(ctx, 1, 4); /* 00000007 ZETA_TILE_MODE */ in nv50_gr_construct_xfer_tprop()
2957 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_xfer_tprop()
2958 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_xfer_tprop()
2959 xf_emit(ctx, 1, 0x400); /* 0fffffff ZETA_HORIZ */ in nv50_gr_construct_xfer_tprop()
2960 xf_emit(ctx, 1, 0x300); /* 0000ffff ZETA_VERT */ in nv50_gr_construct_xfer_tprop()
2961 xf_emit(ctx, 1, 0x1001); /* 00001fff ZETA_ARRAY_MODE */ in nv50_gr_construct_xfer_tprop()
2962 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_xfer_tprop()
2963 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2965 xf_emit(ctx, 1, 0); /* 00000001 */ in nv50_gr_construct_xfer_tprop()
2966 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2967 xf_emit(ctx, 1, 0x11); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2968 xf_emit(ctx, 7, 0); /* 3f/7f RT_FORMAT */ in nv50_gr_construct_xfer_tprop()
2969 xf_emit(ctx, 1, 0x0fac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_tprop()
2970 xf_emit(ctx, 1, 0xf); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2971 xf_emit(ctx, 7, 0); /* 0000000f COLOR_MASK */ in nv50_gr_construct_xfer_tprop()
2972 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2973 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_xfer_tprop()
2974 xf_emit(ctx, 1, 0); /* 00000003 UNK0F90 */ in nv50_gr_construct_xfer_tprop()
2975 xf_emit(ctx, 1, 0); /* 00000001 FRAMEBUFFER_SRGB */ in nv50_gr_construct_xfer_tprop()
2976 xf_emit(ctx, 1, 0); /* 7 */ in nv50_gr_construct_xfer_tprop()
2977 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_xfer_tprop()
2979 xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */ in nv50_gr_construct_xfer_tprop()
2980 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
2982 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_tprop()
2983 xf_emit(ctx, 1, 0); /* 00000001 UNK1534 */ in nv50_gr_construct_xfer_tprop()
2984 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
2986 xf_emit(ctx, 1, 0x0fac6881); /* fffffff */ in nv50_gr_construct_xfer_tprop()
2987 xf_emit(ctx, 1, magic2); /* 001fffff tesla UNK0F78 */ in nv50_gr_construct_xfer_tprop()
2988 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_BOUNDS_EN */ in nv50_gr_construct_xfer_tprop()
2989 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_tprop()
2990 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE_ENABLE */ in nv50_gr_construct_xfer_tprop()
2991 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_tprop()
2992 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK0FB0 */ in nv50_gr_construct_xfer_tprop()
2993 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_tprop()
2994 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_xfer_tprop()
2995 xf_emit(ctx, 1, 0); /* 00000001 STENCIL_FRONT_ENABLE */ in nv50_gr_construct_xfer_tprop()
2996 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK15B4 */ in nv50_gr_construct_xfer_tprop()
2997 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK19CC */ in nv50_gr_construct_xfer_tprop()
2998 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_tprop()
2999 xf_emit(ctx, 1, 0); /* 00000001 SAMPLECNT_ENABLE */ in nv50_gr_construct_xfer_tprop()
3000 xf_emit(ctx, 1, 0); /* 0000000f ZETA_FORMAT */ in nv50_gr_construct_xfer_tprop()
3001 xf_emit(ctx, 1, 1); /* 00000001 ZETA_ENABLE */ in nv50_gr_construct_xfer_tprop()
3003 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
3004 xf_emit(ctx, 1, 0); /* 0000000f tesla UNK15C8 */ in nv50_gr_construct_xfer_tprop()
3006 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A3C */ in nv50_gr_construct_xfer_tprop()
3008 xf_emit(ctx, 3, 0); /* 7/f, 1, ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
3009 xf_emit(ctx, 1, 0xfac6881); /* fffffff */ in nv50_gr_construct_xfer_tprop()
3010 xf_emit(ctx, 4, 0); /* 1, 1, 1, 3ff */ in nv50_gr_construct_xfer_tprop()
3011 xf_emit(ctx, 1, 4); /* 7 */ in nv50_gr_construct_xfer_tprop()
3012 xf_emit(ctx, 1, 0); /* 1 */ in nv50_gr_construct_xfer_tprop()
3013 xf_emit(ctx, 2, 1); /* 1 */ in nv50_gr_construct_xfer_tprop()
3014 xf_emit(ctx, 2, 0); /* 7, f */ in nv50_gr_construct_xfer_tprop()
3015 xf_emit(ctx, 1, 1); /* 1 */ in nv50_gr_construct_xfer_tprop()
3016 xf_emit(ctx, 1, 0); /* 7/f */ in nv50_gr_construct_xfer_tprop()
3018 xf_emit(ctx, 0x9, 0); /* 1 */ in nv50_gr_construct_xfer_tprop()
3020 xf_emit(ctx, 0x8, 0); /* 1 */ in nv50_gr_construct_xfer_tprop()
3021 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_tprop()
3022 xf_emit(ctx, 8, 1); /* 1 */ in nv50_gr_construct_xfer_tprop()
3023 xf_emit(ctx, 1, 0x11); /* 7f */ in nv50_gr_construct_xfer_tprop()
3024 xf_emit(ctx, 7, 0); /* 7f */ in nv50_gr_construct_xfer_tprop()
3025 xf_emit(ctx, 1, 0xfac6881); /* fffffff */ in nv50_gr_construct_xfer_tprop()
3026 xf_emit(ctx, 1, 0xf); /* f */ in nv50_gr_construct_xfer_tprop()
3027 xf_emit(ctx, 7, 0); /* f */ in nv50_gr_construct_xfer_tprop()
3028 xf_emit(ctx, 1, 0x11); /* 7f */ in nv50_gr_construct_xfer_tprop()
3029 xf_emit(ctx, 1, 1); /* 1 */ in nv50_gr_construct_xfer_tprop()
3030 xf_emit(ctx, 5, 0); /* 1, 7, 3ff, 3, 7 */ in nv50_gr_construct_xfer_tprop()
3032 xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */ in nv50_gr_construct_xfer_tprop()
3033 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_tprop()
3039 nv50_gr_construct_xfer_tex(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_tex() argument
3041 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_tex()
3042 xf_emit(ctx, 2, 0); /* 1 LINKED_TSC. yes, 2. */ in nv50_gr_construct_xfer_tex()
3044 xf_emit(ctx, 1, 0); /* 3 */ in nv50_gr_construct_xfer_tex()
3045 xf_emit(ctx, 1, 1); /* 1ffff BLIT_DU_DX_INT */ in nv50_gr_construct_xfer_tex()
3046 xf_emit(ctx, 1, 0); /* fffff BLIT_DU_DX_FRACT */ in nv50_gr_construct_xfer_tex()
3047 xf_emit(ctx, 1, 1); /* 1ffff BLIT_DV_DY_INT */ in nv50_gr_construct_xfer_tex()
3048 xf_emit(ctx, 1, 0); /* fffff BLIT_DV_DY_FRACT */ in nv50_gr_construct_xfer_tex()
3050 xf_emit(ctx, 1, 0); /* 3 BLIT_CONTROL */ in nv50_gr_construct_xfer_tex()
3052 xf_emit(ctx, 2, 0); /* 3ff, 1 */ in nv50_gr_construct_xfer_tex()
3053 xf_emit(ctx, 1, 0x2a712488); /* ffffffff SRC_TIC_0 */ in nv50_gr_construct_xfer_tex()
3054 xf_emit(ctx, 1, 0); /* ffffffff SRC_TIC_1 */ in nv50_gr_construct_xfer_tex()
3055 xf_emit(ctx, 1, 0x4085c000); /* ffffffff SRC_TIC_2 */ in nv50_gr_construct_xfer_tex()
3056 xf_emit(ctx, 1, 0x40); /* ffffffff SRC_TIC_3 */ in nv50_gr_construct_xfer_tex()
3057 xf_emit(ctx, 1, 0x100); /* ffffffff SRC_TIC_4 */ in nv50_gr_construct_xfer_tex()
3058 xf_emit(ctx, 1, 0x10100); /* ffffffff SRC_TIC_5 */ in nv50_gr_construct_xfer_tex()
3059 xf_emit(ctx, 1, 0x02800000); /* ffffffff SRC_TIC_6 */ in nv50_gr_construct_xfer_tex()
3060 xf_emit(ctx, 1, 0); /* ffffffff SRC_TIC_7 */ in nv50_gr_construct_xfer_tex()
3062 xf_emit(ctx, 1, 0); /* 00000001 turing UNK358 */ in nv50_gr_construct_xfer_tex()
3063 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34? */ in nv50_gr_construct_xfer_tex()
3064 xf_emit(ctx, 1, 0); /* 00000003 turing UNK37C tesla UNK1690 */ in nv50_gr_construct_xfer_tex()
3065 xf_emit(ctx, 1, 0); /* 00000003 BLIT_CONTROL */ in nv50_gr_construct_xfer_tex()
3066 xf_emit(ctx, 1, 0); /* 00000001 turing UNK32C tesla UNK0F94 */ in nv50_gr_construct_xfer_tex()
3068 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34? */ in nv50_gr_construct_xfer_tex()
3069 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_xfer_tex()
3070 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_xfer_tex()
3071 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_xfer_tex()
3072 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_xfer_tex()
3073 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1664 / turing UNK03E8 */ in nv50_gr_construct_xfer_tex()
3074 xf_emit(ctx, 1, 0); /* 00000003 */ in nv50_gr_construct_xfer_tex()
3075 xf_emit(ctx, 1, 0); /* 000003ff */ in nv50_gr_construct_xfer_tex()
3077 xf_emit(ctx, 0x6, 0); in nv50_gr_construct_xfer_tex()
3079 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34 */ in nv50_gr_construct_xfer_tex()
3080 xf_emit(ctx, 1, 0); /* 0000ffff DMA_TEXTURE */ in nv50_gr_construct_xfer_tex()
3081 xf_emit(ctx, 1, 0); /* 0000ffff DMA_SRC */ in nv50_gr_construct_xfer_tex()
3085 nv50_gr_construct_xfer_unk8cxx(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_unk8cxx() argument
3087 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_unk8cxx()
3088 xf_emit(ctx, 1, 0); /* 00000001 UNK1534 */ in nv50_gr_construct_xfer_unk8cxx()
3089 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_unk8cxx()
3090 xf_emit(ctx, 2, 0); /* 7, ffff0ff3 */ in nv50_gr_construct_xfer_unk8cxx()
3091 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3092 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE */ in nv50_gr_construct_xfer_unk8cxx()
3093 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0D64 */ in nv50_gr_construct_xfer_unk8cxx()
3094 xf_emit(ctx, 1, 0x04e3bfdf); /* ffffffff UNK0DF4 */ in nv50_gr_construct_xfer_unk8cxx()
3095 xf_emit(ctx, 1, 1); /* 00000001 UNK15B4 */ in nv50_gr_construct_xfer_unk8cxx()
3096 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3097 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */ in nv50_gr_construct_xfer_unk8cxx()
3098 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK0F98 */ in nv50_gr_construct_xfer_unk8cxx()
3100 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_unk8cxx()
3101 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1668 */ in nv50_gr_construct_xfer_unk8cxx()
3102 xf_emit(ctx, 1, 0); /* 00000001 LINE_STIPPLE_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3103 xf_emit(ctx, 1, 0x00ffff00); /* 00ffffff LINE_STIPPLE_PATTERN */ in nv50_gr_construct_xfer_unk8cxx()
3104 xf_emit(ctx, 1, 0); /* 00000001 POLYGON_SMOOTH_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3105 xf_emit(ctx, 1, 0); /* 00000001 UNK1534 */ in nv50_gr_construct_xfer_unk8cxx()
3106 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_unk8cxx()
3107 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1658 */ in nv50_gr_construct_xfer_unk8cxx()
3108 xf_emit(ctx, 1, 0); /* 00000001 LINE_SMOOTH_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3109 xf_emit(ctx, 1, 0); /* ffff0ff3 */ in nv50_gr_construct_xfer_unk8cxx()
3110 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_TEST_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3111 xf_emit(ctx, 1, 0); /* 00000001 DEPTH_WRITE */ in nv50_gr_construct_xfer_unk8cxx()
3112 xf_emit(ctx, 1, 1); /* 00000001 UNK15B4 */ in nv50_gr_construct_xfer_unk8cxx()
3113 xf_emit(ctx, 1, 0); /* 00000001 POINT_SPRITE_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3114 xf_emit(ctx, 1, 1); /* 00000001 tesla UNK165C */ in nv50_gr_construct_xfer_unk8cxx()
3115 xf_emit(ctx, 1, 0x30201000); /* ffffffff tesla UNK1670 */ in nv50_gr_construct_xfer_unk8cxx()
3116 xf_emit(ctx, 1, 0x70605040); /* ffffffff tesla UNK1670 */ in nv50_gr_construct_xfer_unk8cxx()
3117 xf_emit(ctx, 1, 0xb8a89888); /* ffffffff tesla UNK1670 */ in nv50_gr_construct_xfer_unk8cxx()
3118 xf_emit(ctx, 1, 0xf8e8d8c8); /* ffffffff tesla UNK1670 */ in nv50_gr_construct_xfer_unk8cxx()
3119 xf_emit(ctx, 1, 0); /* 00000001 VERTEX_TWO_SIDE_ENABLE */ in nv50_gr_construct_xfer_unk8cxx()
3120 xf_emit(ctx, 1, 0x1a); /* 0000001f POLYGON_MODE */ in nv50_gr_construct_xfer_unk8cxx()
3124 nv50_gr_construct_xfer_tp(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_tp() argument
3126 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_tp()
3128 nv50_gr_construct_xfer_unk84xx(ctx); in nv50_gr_construct_xfer_tp()
3129 nv50_gr_construct_xfer_tprop(ctx); in nv50_gr_construct_xfer_tp()
3130 nv50_gr_construct_xfer_tex(ctx); in nv50_gr_construct_xfer_tp()
3131 nv50_gr_construct_xfer_unk8cxx(ctx); in nv50_gr_construct_xfer_tp()
3133 nv50_gr_construct_xfer_tex(ctx); in nv50_gr_construct_xfer_tp()
3134 nv50_gr_construct_xfer_tprop(ctx); in nv50_gr_construct_xfer_tp()
3135 nv50_gr_construct_xfer_unk8cxx(ctx); in nv50_gr_construct_xfer_tp()
3136 nv50_gr_construct_xfer_unk84xx(ctx); in nv50_gr_construct_xfer_tp()
3141 nv50_gr_construct_xfer_mpc(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer_mpc() argument
3143 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer_mpc()
3168 xf_emit(ctx, 1, 0); /* ff */ in nv50_gr_construct_xfer_mpc()
3169 xf_emit(ctx, 1, 0x80); /* ffffffff tesla UNK1404 */ in nv50_gr_construct_xfer_mpc()
3170 xf_emit(ctx, 1, 0x80007004); /* ffffffff tesla UNK12B0 */ in nv50_gr_construct_xfer_mpc()
3171 xf_emit(ctx, 1, 0x04000400); /* ffffffff */ in nv50_gr_construct_xfer_mpc()
3173 xf_emit(ctx, 1, 0xc0); /* 00007fff tesla UNK152C */ in nv50_gr_construct_xfer_mpc()
3174 xf_emit(ctx, 1, 0x1000); /* 0000ffff tesla UNK0D60 */ in nv50_gr_construct_xfer_mpc()
3175 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_mpc()
3176 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A30 */ in nv50_gr_construct_xfer_mpc()
3178 xf_emit(ctx, 1, 0xe00); /* 7fff */ in nv50_gr_construct_xfer_mpc()
3179 xf_emit(ctx, 1, 0x1e00); /* 7fff */ in nv50_gr_construct_xfer_mpc()
3181 xf_emit(ctx, 1, 1); /* 000000ff VP_REG_ALLOC_TEMP */ in nv50_gr_construct_xfer_mpc()
3182 xf_emit(ctx, 1, 0); /* 00000001 LINKED_TSC */ in nv50_gr_construct_xfer_mpc()
3183 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_mpc()
3185 xf_emit(ctx, 2, 0x1000); /* 7fff tesla UNK141C */ in nv50_gr_construct_xfer_mpc()
3186 xf_emit(ctx, 1, 1); /* 000000ff GP_REG_ALLOC_TEMP */ in nv50_gr_construct_xfer_mpc()
3187 xf_emit(ctx, 1, 0); /* 00000001 GP_ENABLE */ in nv50_gr_construct_xfer_mpc()
3188 xf_emit(ctx, 1, 4); /* 000000ff FP_REG_ALLOC_TEMP */ in nv50_gr_construct_xfer_mpc()
3189 xf_emit(ctx, 1, 2); /* 00000003 REG_MODE */ in nv50_gr_construct_xfer_mpc()
3191 xf_emit(ctx, 0xb, 0); /* RO */ in nv50_gr_construct_xfer_mpc()
3193 xf_emit(ctx, 0xc, 0); /* RO */ in nv50_gr_construct_xfer_mpc()
3195 xf_emit(ctx, 0xa, 0); /* RO */ in nv50_gr_construct_xfer_mpc()
3197 xf_emit(ctx, 1, 0x08100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_xfer_mpc()
3198 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_mpc()
3200 xf_emit(ctx, 1, 0x1fe21); /* 0003ffff tesla UNK0FAC */ in nv50_gr_construct_xfer_mpc()
3202 xf_emit(ctx, 3, 0); /* 7fff, 0, 0 */ in nv50_gr_construct_xfer_mpc()
3203 xf_emit(ctx, 1, 0); /* 00000001 tesla UNK1534 */ in nv50_gr_construct_xfer_mpc()
3204 xf_emit(ctx, 1, 0); /* 7/f MULTISAMPLE_SAMPLES_LOG2 */ in nv50_gr_construct_xfer_mpc()
3205 xf_emit(ctx, 4, 0xffff); /* 0000ffff MSAA_MASK */ in nv50_gr_construct_xfer_mpc()
3206 xf_emit(ctx, 1, 1); /* 00000001 LANES32 */ in nv50_gr_construct_xfer_mpc()
3207 xf_emit(ctx, 1, 0x10001); /* 00ffffff BLOCK_ALLOC */ in nv50_gr_construct_xfer_mpc()
3208 xf_emit(ctx, 1, 0x10001); /* ffffffff BLOCKDIM_XY */ in nv50_gr_construct_xfer_mpc()
3209 xf_emit(ctx, 1, 1); /* 0000ffff BLOCKDIM_Z */ in nv50_gr_construct_xfer_mpc()
3210 xf_emit(ctx, 1, 0); /* ffffffff SHARED_SIZE */ in nv50_gr_construct_xfer_mpc()
3211 xf_emit(ctx, 1, 0x1fe21); /* 1ffff/3ffff[NVA0+] tesla UNk0FAC */ in nv50_gr_construct_xfer_mpc()
3212 xf_emit(ctx, 1, 0); /* ffffffff tesla UNK1A34 */ in nv50_gr_construct_xfer_mpc()
3214 xf_emit(ctx, 1, 1); /* 0000001f tesla UNK169C */ in nv50_gr_construct_xfer_mpc()
3215 xf_emit(ctx, 1, 0); /* ff/3ff */ in nv50_gr_construct_xfer_mpc()
3216 xf_emit(ctx, 1, 0); /* 1 LINKED_TSC */ in nv50_gr_construct_xfer_mpc()
3217 xf_emit(ctx, 1, 0); /* ff FP_ADDRESS_HIGH */ in nv50_gr_construct_xfer_mpc()
3218 xf_emit(ctx, 1, 0); /* ffffffff FP_ADDRESS_LOW */ in nv50_gr_construct_xfer_mpc()
3219 xf_emit(ctx, 1, 0x08100c12); /* 1fffffff FP_INTERPOLANT_CTRL */ in nv50_gr_construct_xfer_mpc()
3220 xf_emit(ctx, 1, 4); /* 00000007 FP_CONTROL */ in nv50_gr_construct_xfer_mpc()
3221 xf_emit(ctx, 1, 0); /* 000000ff FRAG_COLOR_CLAMP_EN */ in nv50_gr_construct_xfer_mpc()
3222 xf_emit(ctx, 1, 2); /* 00000003 REG_MODE */ in nv50_gr_construct_xfer_mpc()
3223 xf_emit(ctx, 1, 0x11); /* 0000007f RT_FORMAT */ in nv50_gr_construct_xfer_mpc()
3224 xf_emit(ctx, 7, 0); /* 0000007f RT_FORMAT */ in nv50_gr_construct_xfer_mpc()
3225 xf_emit(ctx, 1, 0); /* 00000007 */ in nv50_gr_construct_xfer_mpc()
3226 xf_emit(ctx, 1, 0xfac6881); /* 0fffffff RT_CONTROL */ in nv50_gr_construct_xfer_mpc()
3227 xf_emit(ctx, 1, 0); /* 00000003 MULTISAMPLE_CTRL */ in nv50_gr_construct_xfer_mpc()
3229 xf_emit(ctx, 1, 3); /* 00000003 tesla UNK16B4 */ in nv50_gr_construct_xfer_mpc()
3230 xf_emit(ctx, 1, 0); /* 00000001 ALPHA_TEST_ENABLE */ in nv50_gr_construct_xfer_mpc()
3231 xf_emit(ctx, 1, 0); /* 00000007 ALPHA_TEST_FUNC */ in nv50_gr_construct_xfer_mpc()
3232 xf_emit(ctx, 1, 0); /* 00000001 FRAMEBUFFER_SRGB */ in nv50_gr_construct_xfer_mpc()
3233 xf_emit(ctx, 1, 4); /* ffffffff tesla UNK1400 */ in nv50_gr_construct_xfer_mpc()
3234 xf_emit(ctx, 8, 0); /* 00000001 BLEND_ENABLE */ in nv50_gr_construct_xfer_mpc()
3235 xf_emit(ctx, 1, 0); /* 00000001 LOGIC_OP_ENABLE */ in nv50_gr_construct_xfer_mpc()
3236 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_RGB */ in nv50_gr_construct_xfer_mpc()
3237 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_RGB */ in nv50_gr_construct_xfer_mpc()
3238 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_RGB */ in nv50_gr_construct_xfer_mpc()
3239 xf_emit(ctx, 1, 2); /* 0000001f BLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_xfer_mpc()
3240 xf_emit(ctx, 1, 1); /* 0000001f BLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_xfer_mpc()
3241 xf_emit(ctx, 1, 1); /* 00000007 BLEND_EQUATION_ALPHA */ in nv50_gr_construct_xfer_mpc()
3242 xf_emit(ctx, 1, 1); /* 00000001 UNK133C */ in nv50_gr_construct_xfer_mpc()
3244 xf_emit(ctx, 1, 0); /* 00000001 UNK12E4 */ in nv50_gr_construct_xfer_mpc()
3245 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_RGB */ in nv50_gr_construct_xfer_mpc()
3246 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_RGB */ in nv50_gr_construct_xfer_mpc()
3247 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_RGB */ in nv50_gr_construct_xfer_mpc()
3248 xf_emit(ctx, 8, 2); /* 0000001f IBLEND_FUNC_SRC_ALPHA */ in nv50_gr_construct_xfer_mpc()
3249 xf_emit(ctx, 8, 1); /* 0000001f IBLEND_FUNC_DST_ALPHA */ in nv50_gr_construct_xfer_mpc()
3250 xf_emit(ctx, 8, 1); /* 00000007 IBLEND_EQUATION_ALPHA */ in nv50_gr_construct_xfer_mpc()
3251 xf_emit(ctx, 8, 1); /* 00000001 IBLEND_UNK00 */ in nv50_gr_construct_xfer_mpc()
3252 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK1928 */ in nv50_gr_construct_xfer_mpc()
3253 xf_emit(ctx, 1, 0); /* 00000001 UNK1140 */ in nv50_gr_construct_xfer_mpc()
3255 xf_emit(ctx, 1, 0); /* 00000003 tesla UNK0F90 */ in nv50_gr_construct_xfer_mpc()
3256 xf_emit(ctx, 1, 4); /* 000000ff FP_RESULT_COUNT */ in nv50_gr_construct_xfer_mpc()
3259 xf_emit(ctx, 0x3a0, 0); in nv50_gr_construct_xfer_mpc()
3261 xf_emit(ctx, 0x3a2, 0); in nv50_gr_construct_xfer_mpc()
3263 xf_emit(ctx, 0x39f, 0); in nv50_gr_construct_xfer_mpc()
3265 xf_emit(ctx, 0x3a3, 0); in nv50_gr_construct_xfer_mpc()
3266 xf_emit(ctx, 1, 0x11); /* 3f/7f DST_FORMAT */ in nv50_gr_construct_xfer_mpc()
3267 xf_emit(ctx, 1, 0); /* 7 OPERATION */ in nv50_gr_construct_xfer_mpc()
3268 xf_emit(ctx, 1, 1); /* 1 DST_LINEAR */ in nv50_gr_construct_xfer_mpc()
3269 xf_emit(ctx, 0x2d, 0); in nv50_gr_construct_xfer_mpc()
3273 nv50_gr_construct_xfer2(struct nvkm_grctx *ctx) in nv50_gr_construct_xfer2() argument
3275 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer2()
3281 offset = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer2()
3285 ctx->ctxvals_pos = offset + i; in nv50_gr_construct_xfer2()
3289 xf_emit(ctx, 1, 0x08100c12); /* FP_INTERPOLANT_CTRL */ in nv50_gr_construct_xfer2()
3291 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3292 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3293 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3297 ctx->ctxvals_pos = offset; in nv50_gr_construct_xfer2()
3300 xf_emit(ctx, 1, 0x08100c12); /* FP_INTERPOLANT_CTRL */ in nv50_gr_construct_xfer2()
3302 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3304 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3305 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3306 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3309 ctx->ctxvals_pos = offset + 1; in nv50_gr_construct_xfer2()
3311 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3313 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3314 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3315 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3318 ctx->ctxvals_pos = offset + 2; in nv50_gr_construct_xfer2()
3320 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3322 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3324 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3325 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3326 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3329 ctx->ctxvals_pos = offset + 3; in nv50_gr_construct_xfer2()
3331 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3333 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3335 nv50_gr_construct_xfer_mpc(ctx); in nv50_gr_construct_xfer2()
3336 if ((ctx->ctxvals_pos-offset)/8 > size) in nv50_gr_construct_xfer2()
3337 size = (ctx->ctxvals_pos-offset)/8; in nv50_gr_construct_xfer2()
3339 ctx->ctxvals_pos = offset + size * 8; in nv50_gr_construct_xfer2()
3340 ctx->ctxvals_pos = (ctx->ctxvals_pos+0x3f)&~0x3f; in nv50_gr_construct_xfer2()
3341 cp_lsr (ctx, offset); in nv50_gr_construct_xfer2()
3342 cp_out (ctx, CP_SET_XFER_POINTER); in nv50_gr_construct_xfer2()
3343 cp_lsr (ctx, size); in nv50_gr_construct_xfer2()
3344 cp_out (ctx, CP_SEEK_2); in nv50_gr_construct_xfer2()
3345 cp_out (ctx, CP_XFER_2); in nv50_gr_construct_xfer2()
3346 cp_wait(ctx, XFER, BUSY); in nv50_gr_construct_xfer2()