diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-10-27 21:00:39 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-11-09 18:02:02 -0500 |
commit | 1c77e0f7fa4b398652f8e03f125aed258fa7018e (patch) | |
tree | b3c521aa422b4c82b088e14576bb6f9f6ca0054f /drivers/gpu | |
parent | 6688a4dd20bf774d654203a0629d454447b80502 (diff) |
drm/nvc0: enable acceleration for nvc1 by default
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
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) | |||
1110 | dev_priv->noaccel = !!nouveau_noaccel; | 1110 | dev_priv->noaccel = !!nouveau_noaccel; |
1111 | if (nouveau_noaccel == -1) { | 1111 | if (nouveau_noaccel == -1) { |
1112 | switch (dev_priv->chipset) { | 1112 | switch (dev_priv->chipset) { |
1113 | case 0xc1: /* known broken */ | 1113 | #if 0 |
1114 | case 0xXX: /* known broken */ | ||
1114 | NV_INFO(dev, "acceleration disabled by default, pass " | 1115 | NV_INFO(dev, "acceleration disabled by default, pass " |
1115 | "noaccel=0 to force enable\n"); | 1116 | "noaccel=0 to force enable\n"); |
1116 | dev_priv->noaccel = true; | 1117 | dev_priv->noaccel = true; |
1117 | break; | 1118 | break; |
1119 | #endif | ||
1118 | default: | 1120 | default: |
1119 | dev_priv->noaccel = false; | 1121 | dev_priv->noaccel = false; |
1120 | break; | 1122 | break; |