projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651e3dc
)
nv50: magic fix for "3d busted without the binary driver first" issue
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 2 Jun 2009 07:06:34 +0000
(17:06 +1000)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/shared-core/nv50_graph.c
b/shared-core/nv50_graph.c
index cbf6fd628a181c19630f96817df17d087a5c1413..43f35e06082c904a75dd7cdee9998e3e0b368cb7 100644
(file)
--- 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