drm/nvc0: enable acceleration for nvc1 by default
authorBen Skeggs <bskeggs@redhat.com>
Fri, 28 Oct 2011 01:00:39 +0000 (11:00 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Nov 2011 23:02:02 +0000 (09:02 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index 9a5ab6121b8e77b621a081468b7b1da65ef7281b..d8831ab42bb90344a28b8a146624aa4aca69d8c5 100644 (file)
@@ -1110,11 +1110,13 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
        dev_priv->noaccel = !!nouveau_noaccel;
        if (nouveau_noaccel == -1) {
                switch (dev_priv->chipset) {
-               case 0xc1: /* known broken */
+#if 0
+               case 0xXX: /* known broken */
                        NV_INFO(dev, "acceleration disabled by default, pass "
                                     "noaccel=0 to force enable\n");
                        dev_priv->noaccel = true;
                        break;
+#endif
                default:
                        dev_priv->noaccel = false;
                        break;