diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2013-02-16 23:25:08 +0100 |
---|---|---|
committer | Andreas Boll <andreas.boll.dev@gmail.com> | 2013-04-17 12:51:37 +0200 |
commit | 78a86019c0f5ecccf9cba29ecdd80c3daf4a72f5 (patch) | |
tree | 5cd385b0639714df89d16d32e64116b35086af83 | |
parent | 9df2388216643349fb419af19d4b0654c39bca77 (diff) |
dri/nouveau: NV17_3D class is not available for NV1a chipset
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>
(cherry picked from commit f4ebcd133b9c952fc57ce6d5df8bce8e2282d868)
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nv10_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_context.c b/src/mesa/drivers/dri/nouveau/nv10_context.c index a2448caaf8..079b2773eb 100644 --- a/src/mesa/drivers/dri/nouveau/nv10_context.c +++ b/src/mesa/drivers/dri/nouveau/nv10_context.c @@ -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; |