mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 22:00:25 +01:00
nouveau: nv10: add init for unknown 0x120
This commit is contained in:
parent
6356874586
commit
296eeb882f
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue