aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-06-02 17:06:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-06-02 17:06:34 +1000
commitdbffeadcfca7cb4e3905ec0b8573d10e0418295e (patch)
treebc0cd32dee4baf61be95bea3d722c248b9def8a6
parent651e3dc6dd58a79c90db7513ee2fb28360a4560d (diff)
nv50: magic fix for "3d busted without the binary driver first" issue
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...
-rw-r--r--shared-core/nv50_graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c
index cbf6fd62..43f35e06 100644
--- a/shared-core/nv50_graph.c
+++ b/shared-core/nv50_graph.c
@@ -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