dri/nouveau: NV17_3D class is not available for NV1a chipset
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sat, 16 Feb 2013 22:25:08 +0000 (23:25 +0100)
committerMarcin Slusarz <marcin.slusarz@gmail.com>
Tue, 5 Mar 2013 20:19:17 +0000 (21:19 +0100)
Should fix https://bugs.freedesktop.org/show_bug.cgi?id=60510

Note: this is a candidate for the stable branches

Acked-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/nouveau/nv10_context.c

index 7eda4e0f9177b66965b6c0b0bfcec0b7b62eba5a..4ffc4ef153fccc28405d024a0a1846e2bf47aefa 100644 (file)
@@ -469,7 +469,7 @@ nv10_context_create(struct nouveau_screen *screen, const struct gl_config *visua
                goto fail;
 
        /* 3D engine. */
-       if (context_chipset(ctx) >= 0x17)
+       if (context_chipset(ctx) >= 0x17 && context_chipset(ctx) != 0x1a)
                celsius_class = NV17_3D_CLASS;
        else if (context_chipset(ctx) >= 0x11)
                celsius_class = NV15_3D_CLASS;