nv50: magic fix for "3d busted without the binary driver first" issue
authorBen Skeggs <bskeggs@redhat.com>
Tue, 2 Jun 2009 07:06:34 +0000 (17:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Jun 2009 07:06:34 +0000 (17:06 +1000)
No idea what this reg does.. NVIDIA put 0x802 into it on some chips, the
criteria aren't too clear on when they do that however.  Hopefully 0x800
will work everywhere...

shared-core/nv50_graph.c

index cbf6fd628a181c19630f96817df17d087a5c1413..43f35e06082c904a75dd7cdee9998e3e0b368cb7 100644 (file)
@@ -82,6 +82,7 @@ nv50_graph_init_regs(struct drm_device *dev)
        DRM_DEBUG("\n");
 
        NV_WRITE(NV04_PGRAPH_DEBUG_3, (1<<2) /* HW_CONTEXT_SWITCH_ENABLED */);
+       NV_WRITE(0x402ca8, 0x800);
 }
 
 static int