diff options
author | Patrice Mandin <[email protected]> | 2007-02-04 13:10:23 +0100 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2007-02-04 13:10:23 +0100 |
commit | 296eeb882fa9fd7528f33ed307f87171dff7ee1c (patch) | |
tree | eca1db8f0e910ef9439822c8ff06eee68981f004 /src/mesa/drivers/dri/nouveau/nv10_state.c | |
parent | 63568745863a54308fecc32dbb96397c35b22496 (diff) |
nouveau: nv10: add init for unknown 0x120
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_state.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_state.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_state.c b/src/mesa/drivers/dri/nouveau/nv10_state.c index 88c1d7d9e1d..8fbc76c308f 100644 --- 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; } |