rpms/kernel/F-12 drm-nouveau.patch, 1.71, 1.72 kernel.spec, 1.1956, 1.1957

Ben Skeggs bskeggs at fedoraproject.org
Thu Dec 17 03:03:25 UTC 2009


Author: bskeggs

Update of /cvs/pkgs/rpms/kernel/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17811

Modified Files:
	drm-nouveau.patch kernel.spec 
Log Message:
* Thu Dec 17 2009 Ben Skeggs <bskeggs at redhat.com> 2.6.31.8-171
- drm-nouveau.patch: add support for GF7100 (NV63)



drm-nouveau.patch:
 drivers/gpu/drm/Kconfig                     |   56 
 drivers/gpu/drm/Makefile                    |    2 
 drivers/gpu/drm/i2c/Makefile                |    4 
 drivers/gpu/drm/i2c/ch7006_drv.c            |  531 
 drivers/gpu/drm/i2c/ch7006_mode.c           |  473 
 drivers/gpu/drm/i2c/ch7006_priv.h           |  344 
 drivers/gpu/drm/nouveau/Makefile            |   30 
 drivers/gpu/drm/nouveau/nouveau_acpi.c      |  125 
 drivers/gpu/drm/nouveau/nouveau_backlight.c |  155 
 drivers/gpu/drm/nouveau/nouveau_bios.c      | 6050 ++++++
 drivers/gpu/drm/nouveau/nouveau_bios.h      |  289 
 drivers/gpu/drm/nouveau/nouveau_bo.c        |  663 
 drivers/gpu/drm/nouveau/nouveau_calc.c      |  478 
 drivers/gpu/drm/nouveau/nouveau_channel.c   |  468 
 drivers/gpu/drm/nouveau/nouveau_connector.c |  812 
 drivers/gpu/drm/nouveau/nouveau_connector.h |   54 
 drivers/gpu/drm/nouveau/nouveau_crtc.h      |   95 
 drivers/gpu/drm/nouveau/nouveau_debugfs.c   |  155 
 drivers/gpu/drm/nouveau/nouveau_display.c   |  115 
 drivers/gpu/drm/nouveau/nouveau_dma.c       |  206 
 drivers/gpu/drm/nouveau/nouveau_dma.h       |  157 
 drivers/gpu/drm/nouveau/nouveau_drv.c       |  413 
 drivers/gpu/drm/nouveau/nouveau_drv.h       | 1270 +
 drivers/gpu/drm/nouveau/nouveau_encoder.h   |   66 
 drivers/gpu/drm/nouveau/nouveau_fb.h        |   47 
 drivers/gpu/drm/nouveau/nouveau_fbcon.c     |  380 
 drivers/gpu/drm/nouveau/nouveau_fbcon.h     |   47 
 drivers/gpu/drm/nouveau/nouveau_fence.c     |  262 
 drivers/gpu/drm/nouveau/nouveau_gem.c       |  976 +
 drivers/gpu/drm/nouveau/nouveau_hw.c        | 1080 +
 drivers/gpu/drm/nouveau/nouveau_hw.h        |  455 
 drivers/gpu/drm/nouveau/nouveau_i2c.c       |  257 
 drivers/gpu/drm/nouveau/nouveau_i2c.h       |   45 
 drivers/gpu/drm/nouveau/nouveau_ioc32.c     |   72 
 drivers/gpu/drm/nouveau/nouveau_irq.c       |  702 
 drivers/gpu/drm/nouveau/nouveau_mem.c       |  583 
 drivers/gpu/drm/nouveau/nouveau_notifier.c  |  196 
 drivers/gpu/drm/nouveau/nouveau_object.c    | 1294 +
 drivers/gpu/drm/nouveau/nouveau_reg.h       |  788 
 drivers/gpu/drm/nouveau/nouveau_sgdma.c     |  321 
 drivers/gpu/drm/nouveau/nouveau_state.c     |  865 
 drivers/gpu/drm/nouveau/nouveau_ttm.c       |  131 
 drivers/gpu/drm/nouveau/nv04_crtc.c         | 1002 +
 drivers/gpu/drm/nouveau/nv04_cursor.c       |   70 
 drivers/gpu/drm/nouveau/nv04_dac.c          |  528 
 drivers/gpu/drm/nouveau/nv04_dfp.c          |  621 
 drivers/gpu/drm/nouveau/nv04_display.c      |  293 
 drivers/gpu/drm/nouveau/nv04_fb.c           |   21 
 drivers/gpu/drm/nouveau/nv04_fbcon.c        |  316 
 drivers/gpu/drm/nouveau/nv04_fifo.c         |  271 
 drivers/gpu/drm/nouveau/nv04_graph.c        |  579 
 drivers/gpu/drm/nouveau/nv04_instmem.c      |  208 
 drivers/gpu/drm/nouveau/nv04_mc.c           |   20 
 drivers/gpu/drm/nouveau/nv04_timer.c        |   51 
 drivers/gpu/drm/nouveau/nv04_tv.c           |  305 
 drivers/gpu/drm/nouveau/nv10_fb.c           |   24 
 drivers/gpu/drm/nouveau/nv10_fifo.c         |  260 
 drivers/gpu/drm/nouveau/nv10_graph.c        |  892 
 drivers/gpu/drm/nouveau/nv17_gpio.c         |   92 
 drivers/gpu/drm/nouveau/nv17_tv.c           |  681 
 drivers/gpu/drm/nouveau/nv17_tv.h           |  156 
 drivers/gpu/drm/nouveau/nv17_tv_modes.c     |  583 
 drivers/gpu/drm/nouveau/nv20_graph.c        |  780 
 drivers/gpu/drm/nouveau/nv40_fb.c           |   62 
 drivers/gpu/drm/nouveau/nv40_fifo.c         |  314 
 drivers/gpu/drm/nouveau/nv40_graph.c        | 2915 +++
 drivers/gpu/drm/nouveau/nv40_mc.c           |   38 
 drivers/gpu/drm/nouveau/nv50_crtc.c         |  769 
 drivers/gpu/drm/nouveau/nv50_cursor.c       |  156 
 drivers/gpu/drm/nouveau/nv50_dac.c          |  304 
 drivers/gpu/drm/nouveau/nv50_display.c      |  998 +
 drivers/gpu/drm/nouveau/nv50_display.h      |   46 
 drivers/gpu/drm/nouveau/nv50_evo.h          |  113 
 drivers/gpu/drm/nouveau/nv50_fbcon.c        |  273 
 drivers/gpu/drm/nouveau/nv50_fifo.c         |  494 
 drivers/gpu/drm/nouveau/nv50_graph.c        |  470 
 drivers/gpu/drm/nouveau/nv50_grctx.h        |26832 ++++++++++++++++++++++++++++
 drivers/gpu/drm/nouveau/nv50_instmem.c      |  509 
 drivers/gpu/drm/nouveau/nv50_mc.c           |   40 
 drivers/gpu/drm/nouveau/nv50_sor.c          |  269 
 drivers/gpu/drm/nouveau/nvreg.h             |  535 
 drivers/gpu/drm/ttm/ttm_bo.c                |    4 
 include/drm/Kbuild                          |    1 
 include/drm/i2c/ch7006.h                    |   86 
 include/drm/nouveau_drm.h                   |  220 
 85 files changed, 64713 insertions(+)

Index: drm-nouveau.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-12/drm-nouveau.patch,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -p -r1.71 -r1.72
--- drm-nouveau.patch	7 Dec 2009 06:11:38 -0000	1.71
+++ drm-nouveau.patch	17 Dec 2009 03:03:24 -0000	1.72
@@ -30035,10 +30035,10 @@ index 0000000..b4f19cc
 +}
 diff --git a/drivers/gpu/drm/nouveau/nv40_graph.c b/drivers/gpu/drm/nouveau/nv40_graph.c
 new file mode 100644
-index 0000000..76c6f21
+index 0000000..b946e43
 --- /dev/null
 +++ b/drivers/gpu/drm/nouveau/nv40_graph.c
-@@ -0,0 +1,2240 @@
+@@ -0,0 +1,2915 @@
 +/*
 + * Copyright (C) 2007 Ben Skeggs.
 + * All Rights Reserved.
@@ -31480,6 +31480,655 @@ index 0000000..76c6f21
 +		nv_wo32(dev, ctx, i/4, 0x3f800000);
 +}
 +
++static void
++nv63_graph_context_init(struct drm_device *dev, struct nouveau_gpuobj *ctx)
++{
++	int i;
++
++	nv_wo32(dev, ctx, 0x00000/4, ctx->im_pramin->start);
++	nv_wo32(dev, ctx, 0x00020/4, 0x00000008);
++	nv_wo32(dev, ctx, 0x00024/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00174/4, 0x00040000);
++	nv_wo32(dev, ctx, 0x00184/4, 0x55555555);
++	nv_wo32(dev, ctx, 0x00188/4, 0x55555555);
++	nv_wo32(dev, ctx, 0x0018c/4, 0x55555555);
++	nv_wo32(dev, ctx, 0x00190/4, 0x55555555);
++	nv_wo32(dev, ctx, 0x001b4/4, 0x0000ffff);
++	nv_wo32(dev, ctx, 0x001b8/4, 0x0000ffff);
++	nv_wo32(dev, ctx, 0x001d8/4, 0x20010001);
++	nv_wo32(dev, ctx, 0x001dc/4, 0x0f73ef00);
++	nv_wo32(dev, ctx, 0x001e4/4, 0x02008821);
++	nv_wo32(dev, ctx, 0x00214/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00218/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x0021c/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00220/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00224/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00228/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x0022c/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00230/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00234/4, 0x00000040);
++	nv_wo32(dev, ctx, 0x00238/4, 0x00000040);
++	nv_wo32(dev, ctx, 0x0023c/4, 0x00000040);
++	nv_wo32(dev, ctx, 0x00244/4, 0x00000040);
++	nv_wo32(dev, ctx, 0x00390/4, 0x0b0b0b0c);
++	nv_wo32(dev, ctx, 0x003bc/4, 0x00001010);
++	nv_wo32(dev, ctx, 0x003c8/4, 0x00000111);
++	nv_wo32(dev, ctx, 0x003cc/4, 0x00080060);
++	nv_wo32(dev, ctx, 0x003e8/4, 0x00000080);
++	nv_wo32(dev, ctx, 0x003ec/4, 0xffff0000);
++	nv_wo32(dev, ctx, 0x003f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00404/4, 0x46400000);
++	nv_wo32(dev, ctx, 0x00414/4, 0xffff0000);
++	nv_wo32(dev, ctx, 0x00420/4, 0x0fff0000);
++	nv_wo32(dev, ctx, 0x00424/4, 0x0fff0000);
++	nv_wo32(dev, ctx, 0x0042c/4, 0x00011100);
++	nv_wo32(dev, ctx, 0x00448/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x0044c/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00450/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00454/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00458/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x0045c/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00460/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00464/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00468/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x0046c/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00470/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00474/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00478/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x0047c/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00480/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00484/4, 0x07ff0000);
++	nv_wo32(dev, ctx, 0x00490/4, 0x4b7fffff);
++	nv_wo32(dev, ctx, 0x004b8/4, 0x30201000);
++	nv_wo32(dev, ctx, 0x004bc/4, 0x70605040);
++	nv_wo32(dev, ctx, 0x004c0/4, 0xb8a89888);
++	nv_wo32(dev, ctx, 0x004c4/4, 0xf8e8d8c8);
++	nv_wo32(dev, ctx, 0x004d8/4, 0x40100000);
++	nv_wo32(dev, ctx, 0x004f4/4, 0x0000ffff);
++	nv_wo32(dev, ctx, 0x00528/4, 0x435185d6);
++	nv_wo32(dev, ctx, 0x0052c/4, 0x2155b699);
++	nv_wo32(dev, ctx, 0x00530/4, 0xfedcba98);
++	nv_wo32(dev, ctx, 0x00534/4, 0x00000098);
++	nv_wo32(dev, ctx, 0x00544/4, 0xffffffff);
++	nv_wo32(dev, ctx, 0x00548/4, 0x00ff7000);
++	nv_wo32(dev, ctx, 0x0054c/4, 0x0000ffff);
++	nv_wo32(dev, ctx, 0x0055c/4, 0x00ff0000);
++	nv_wo32(dev, ctx, 0x00598/4, 0x00ffff00);
++	nv_wo32(dev, ctx, 0x005dc/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005e0/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005e4/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005e8/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005ec/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005f0/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005f4/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005f8/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x005fc/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00600/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00604/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00608/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x0060c/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00610/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00614/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x00618/4, 0x00018488);
++	nv_wo32(dev, ctx, 0x0061c/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00620/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00624/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00628/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x0062c/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00630/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00634/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00638/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x0063c/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00640/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00644/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00648/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x0064c/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00650/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00654/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x00658/4, 0x00028202);
++	nv_wo32(dev, ctx, 0x0069c/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006a0/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006a4/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006a8/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006ac/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006b0/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006b4/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006b8/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006bc/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006c0/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006c4/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006c8/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006cc/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006d0/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006d4/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006d8/4, 0x0000aae4);
++	nv_wo32(dev, ctx, 0x006dc/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006e0/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006e4/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006e8/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006ec/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006f0/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006f4/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006f8/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x006fc/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00700/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00704/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00708/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x0070c/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00710/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00714/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x00718/4, 0x01012000);
++	nv_wo32(dev, ctx, 0x0071c/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00720/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00724/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00728/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x0072c/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00730/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00734/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00738/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x0073c/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00740/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00744/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00748/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x0074c/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00750/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00754/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00758/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x0079c/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007a0/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007a4/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007a8/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007ac/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007b0/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007b4/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007b8/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007bc/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007c0/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007c4/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007c8/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007cc/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007d0/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007d4/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x007d8/4, 0x00100008);
++	nv_wo32(dev, ctx, 0x0082c/4, 0x0001bc80);
++	nv_wo32(dev, ctx, 0x00830/4, 0x0001bc80);
++	nv_wo32(dev, ctx, 0x00834/4, 0x0001bc80);
++	nv_wo32(dev, ctx, 0x00838/4, 0x0001bc80);
++	nv_wo32(dev, ctx, 0x0083c/4, 0x00000202);
++	nv_wo32(dev, ctx, 0x00840/4, 0x00000202);
++	nv_wo32(dev, ctx, 0x00844/4, 0x00000202);
++	nv_wo32(dev, ctx, 0x00848/4, 0x00000202);
++	nv_wo32(dev, ctx, 0x0085c/4, 0x00000008);
++	nv_wo32(dev, ctx, 0x00860/4, 0x00000008);
++	nv_wo32(dev, ctx, 0x00864/4, 0x00000008);
++	nv_wo32(dev, ctx, 0x00868/4, 0x00000008);
++	nv_wo32(dev, ctx, 0x0087c/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00880/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00884/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x00888/4, 0x00080008);
++	nv_wo32(dev, ctx, 0x0089c/4, 0x00000002);
++	nv_wo32(dev, ctx, 0x008b0/4, 0x00000020);
++	nv_wo32(dev, ctx, 0x008b4/4, 0x030c30c3);
++	nv_wo32(dev, ctx, 0x008b8/4, 0x00011001);
++	nv_wo32(dev, ctx, 0x008c4/4, 0x3e020200);
++	nv_wo32(dev, ctx, 0x008c8/4, 0x00ffffff);
++	nv_wo32(dev, ctx, 0x008cc/4, 0x0c103f00);
++	nv_wo32(dev, ctx, 0x008d8/4, 0x00040000);
++	nv_wo32(dev, ctx, 0x00910/4, 0x00008100);
++	nv_wo32(dev, ctx, 0x0099c/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x009e0/4, 0x00001001);
++	nv_wo32(dev, ctx, 0x009e8/4, 0x00000003);
++	nv_wo32(dev, ctx, 0x009ec/4, 0x00888001);
++	nv_wo32(dev, ctx, 0x00a50/4, 0x00000005);
++	nv_wo32(dev, ctx, 0x00a5c/4, 0x0000ffff);
++	nv_wo32(dev, ctx, 0x00a78/4, 0x00005555);
++	nv_wo32(dev, ctx, 0x00a7c/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00a84/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x00f48/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f50/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f58/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f60/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f68/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f70/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f78/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f80/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f88/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f90/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00f98/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00fa0/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00fa8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00fb0/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00fb8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x00fc0/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x02d08/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d20/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d38/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d50/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d68/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d80/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02d98/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02db0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02dc8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02de0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02df8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e10/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e28/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e40/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e58/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e70/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02e88/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02ea0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02eb8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02ed0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02ee8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f00/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f18/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f30/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f48/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f60/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f78/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02f90/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02fa8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02fc0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02fd8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x02ff0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03008/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03020/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03038/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03050/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03068/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03080/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03098/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x030b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x030c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x030e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x030f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03110/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03128/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03140/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03158/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03170/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03188/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x031a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x031b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x031d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x031e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03200/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03218/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03230/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03248/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03260/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03278/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03290/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x032a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x032c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x032d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x032f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03308/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03320/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03338/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03350/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03368/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03380/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03398/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x033b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x033c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x033e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x033f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03410/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03428/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03440/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03458/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03470/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03488/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x034a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x034b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x034d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x034e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03500/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03518/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03530/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03548/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03560/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03578/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03590/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x035a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x035c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x035d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x035f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03608/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03620/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03638/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03650/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03668/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03680/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03698/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x036b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x036c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x036e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x036f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03710/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03728/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03740/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03758/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03770/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03788/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x037a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x037b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x037d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x037e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03800/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03818/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03830/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03848/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03860/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03878/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03890/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x038a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x038c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x038d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x038f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03908/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03920/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03938/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03950/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03968/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03980/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03998/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x039b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x039c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x039e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x039f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a10/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a28/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a40/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a58/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a70/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03a88/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03aa0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ab8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ad0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ae8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b00/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b18/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b30/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b48/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b60/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b78/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03b90/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ba8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03bc0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03bd8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03bf0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c08/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c20/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c38/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c50/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c68/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c80/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03c98/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03cb0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03cc8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ce0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03cf8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d10/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d28/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d40/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d58/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d70/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03d88/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03da0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03db8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03dd0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03de8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e00/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e18/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e30/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e48/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e60/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e78/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03e90/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ea8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ec0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ed8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ef0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f08/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f20/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f38/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f50/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f68/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f80/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03f98/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03fb0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03fc8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03fe0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x03ff8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04010/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04028/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04040/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04058/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04070/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04088/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x040a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x040b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x040d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x040e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04100/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04118/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04130/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04148/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04160/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04178/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04190/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x041a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x041c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x041d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x041f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04208/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04220/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04238/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04250/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04268/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04280/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04298/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x042b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x042c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x042e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x042f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04310/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04328/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04340/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04358/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04370/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04388/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x043a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x043b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x043d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x043e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04400/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04418/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04430/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04448/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04460/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04478/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04490/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x044a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x044c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x044d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x044f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04508/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04520/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04538/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04550/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04568/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04580/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04598/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x045b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x045c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x045e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x045f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04610/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04628/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04640/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04658/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04670/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04688/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x046a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x046b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x046d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x046e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04700/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04718/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04730/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04748/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04760/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04778/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04790/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x047a8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x047c0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x047d8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x047f0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04808/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04820/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04838/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04850/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04868/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04880/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04898/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x048b0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x048c8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x048e0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x048f8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04910/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04928/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04940/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04958/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04970/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04988/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x049a0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x049b8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x049d0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x049e8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a00/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a18/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a30/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a48/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a60/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a78/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04a90/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04aa8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ac0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ad8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04af0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b08/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b20/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b38/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b50/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b68/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b80/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04b98/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04bb0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04bc8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04be0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04bf8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c10/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c28/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c40/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c58/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c70/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04c88/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ca0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04cb8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04cd0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ce8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d00/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d18/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d30/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d48/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d60/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d78/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04d90/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04da8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04dc0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04dd8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04df0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e08/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e20/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e38/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e50/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e68/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e80/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04e98/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04eb0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ec8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ee0/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04ef8/4, 0x00000001);
++	nv_wo32(dev, ctx, 0x04f08/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f18/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f28/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f38/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f48/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f58/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f68/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f78/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f88/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04f98/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04fa8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04fb8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04fc8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04fd8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04fe8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x04ff8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05008/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05018/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05028/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05038/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05048/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05058/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05068/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05078/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05088/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05098/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050a8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050b8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050c8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050d8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050e8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x050f8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05108/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05118/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05128/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05138/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05148/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05158/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05168/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05178/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05188/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05198/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051a8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051b8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051c8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051d8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051e8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x051f8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05208/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05218/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05228/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05238/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05248/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05258/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05268/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05278/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05288/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x05298/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052a8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052b8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052c8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052d8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052e8/4, 0x3f800000);
++	nv_wo32(dev, ctx, 0x052f8/4, 0x3f800000);
++}
++
 +struct nouveau_channel *
 +nv40_graph_channel(struct drm_device *dev)
 +{
@@ -31552,6 +32201,9 @@ index 0000000..76c6f21
 +	case 0x4e:
 +		ctx_init = nv4e_graph_context_init;
 +		break;
++	case 0x63:
++		ctx_init = nv63_graph_context_init;
++		break;
 +	default:
 +		ctx_init = nv40_graph_context_init;
 +		break;
@@ -32000,6 +32652,26 @@ index 0000000..76c6f21
 +	~0
 +};
 +
++static uint32_t nv63_ctxprog[] = {
++	0x00401164, 0x00401105, 0x00400565, 0x00400706, 0x00406068, 0x00500060,
++	0x00600007, 0x00500060, 0x00700000, 0x00910880, 0x00901ffe, 0x01940000,
++	0x00200020, 0x0060000b, 0x00500069, 0x0060000c, 0x00401268, 0x00700080,
++	0x00200008, 0x0060000a, 0x00104029, 0x001e8051, 0x001040c5, 0x00128100,
++	0x00128120, 0x0014c140, 0x00118158, 0x0011415f, 0x0010c1c4, 0x001041c9,
++	0x0010c1dc, 0x00150210, 0x0012c225, 0x00108238, 0x0010823e, 0x0010427e,
++	0x00200049, 0x00100280, 0x00110400, 0x00105401, 0x00104d10, 0x00500060,
++	0x00405de6, 0x00148653, 0x00104668, 0x0010c66d, 0x00120682, 0x0011068b,
++	0x00168691, 0x001046ae, 0x001046b0, 0x001206b4, 0x001046c4, 0x001146c6,
++	0x001646cc, 0x001046e5, 0x001206e6, 0x001246f0, 0x002000c0, 0x00100700,
++	0x0010c3d7, 0x001043e1, 0x00500060, 0x00104800, 0x00108901, 0x00104910,
++	0x00124920, 0x0017c940, 0x00140965, 0x00144a00, 0x00104a11, 0x00108a14,
++	0x00110b00, 0x00110b04, 0x00120b08, 0x00134b2c, 0x0010cd00, 0x0010cd04,
++	0x00104d08, 0x00104d80, 0x00104e00, 0x00104f06, 0x0012d600, 0x00105c00,
++	0x00300000, 0x00200080, 0x00405800, 0x00200084, 0x00800001, 0x00200332,
++	0x0060000a, 0x00201320, 0x00800029, 0x00400200, 0x00406005, 0x00600009,
++	0x00700005, 0x00700006, 0x0060000e, ~0
++};
++
 +/*
 + * G70		0x47
 + * G71		0x49
@@ -32059,6 +32731,9 @@ index 0000000..76c6f21
 +	case 0x4e:
 +		ctxprog = nv4e_ctxprog;
 +		break;
++	case 0x63:
++		ctxprog = nv63_ctxprog;
++		break;
 +	default:
 +		NV_ERROR(dev, "Context program for 0x%02x unavailable\n",
 +			 dev_priv->chipset);


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-12/kernel.spec,v
retrieving revision 1.1956
retrieving revision 1.1957
diff -u -p -r1.1956 -r1.1957
--- kernel.spec	16 Dec 2009 20:37:39 -0000	1.1956
+++ kernel.spec	17 Dec 2009 03:03:25 -0000	1.1957
@@ -2143,6 +2143,9 @@ fi
 # and build.
 
 %changelog
+* Thu Dec 17 2009 Ben Skeggs <bskeggs at redhat.com> 2.6.31.8-171
+- drm-nouveau.patch: add support for GF7100 (NV63)
+
 * Wed Dec 16 2009 Adam Jackson <ajax at redhat.com>
 - drm-edid-9340d8cf.patch: Sync DRM EDID with Linus master.
 - drm-conservative-fallback-modes.patch, drm-edid-retry.patch,




More information about the fedora-extras-commits mailing list