projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6356874
)
nouveau: nv10: add init for unknown 0x120
author
Patrice Mandin
<pmandin@caramail.com>
Sun, 4 Feb 2007 12:10:23 +0000
(13:10 +0100)
committer
Patrice Mandin
<pmandin@caramail.com>
Sun, 4 Feb 2007 12:10:23 +0000
(13:10 +0100)
src/mesa/drivers/dri/nouveau/nv10_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/nouveau/nv10_state.c
b/src/mesa/drivers/dri/nouveau/nv10_state.c
index 88c1d7d9e1d5e7be57c270059f7e21f7b12135b2..8fbc76c308fbd78a9deaa73d46f70249fe0becc1 100644
(file)
--- a/
src/mesa/drivers/dri/nouveau/nv10_state.c
+++ b/
src/mesa/drivers/dri/nouveau/nv10_state.c
@@
-659,6
+659,14
@@
static GLboolean nv10InitCard(nouveauContextPtr nmesa)
BEGIN_RING_SIZE(NvSub3D, 0x03f4, 1);
OUT_RING(0);
+ /* not for nv10, only for >= nv11 */
+ if ((nmesa->screen->card->id>>4) >= 0x11) {
+ BEGIN_RING_SIZE(NvSub3D, 0x120, 3);
+ OUT_RING(0);
+ OUT_RING(1);
+ OUT_RING(2);
+ }
+
return GL_TRUE;
}