nouveau: nv10: add init for unknown 0x120

This commit is contained in:
Patrice Mandin 2007-02-04 13:10:23 +01:00
parent 6356874586
commit 296eeb882f

View file

@ -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;
}