From: Ben Skeggs Date: Fri, 28 Oct 2011 01:00:39 +0000 (+1000) Subject: drm/nvc0: enable acceleration for nvc1 by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c77e0f7fa4b398652f8e03f125aed258fa7018e;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nvc0: enable acceleration for nvc1 by default Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 9a5ab6121b8e..d8831ab42bb9 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -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;