]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/nv10: fix thinko and let nv17 do 3d again :)
authorBen Skeggs <bskeggs@redhat.com>
Thu, 21 Oct 2010 01:37:21 +0000 (11:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:01 +0000 (15:11 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv10_graph.c

index 17c20dbff232adf3d21f5804b8f0fcb0efd3ce74..a571bfd4471b6951284d8adfbeccac017c6147de 100644 (file)
@@ -1102,7 +1102,7 @@ nv10_graph_register(struct drm_device *dev)
        if (dev_priv->chipset <= 0x10) {
                NVOBJ_CLASS(dev, 0x0056, GR);
        } else
-       if (dev_priv->chipset <= 0x17 || dev_priv->chipset == 0x1a) {
+       if (dev_priv->chipset < 0x17 || dev_priv->chipset == 0x1a) {
                NVOBJ_CLASS(dev, 0x0096, GR);
        } else {
                NVOBJ_CLASS(dev, 0x0099, GR);