diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
| -rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 82478e0998e..d8831ab42bb 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c | |||
| @@ -579,6 +579,14 @@ nouveau_card_init(struct drm_device *dev) | |||
| 579 | if (ret) | 579 | if (ret) |
| 580 | goto out_display_early; | 580 | goto out_display_early; |
| 581 | 581 | ||
| 582 | /* workaround an odd issue on nvc1 by disabling the device's | ||
| 583 | * nosnoop capability. hopefully won't cause issues until a | ||
| 584 | * better fix is found - assuming there is one... | ||
| 585 | */ | ||
| 586 | if (dev_priv->chipset == 0xc1) { | ||
| 587 | nv_mask(dev, 0x00088080, 0x00000800, 0x00000000); | ||
| 588 | } | ||
| 589 | |||
| 582 | nouveau_pm_init(dev); | 590 | nouveau_pm_init(dev); |
| 583 | 591 | ||
| 584 | ret = engine->vram.init(dev); | 592 | ret = engine->vram.init(dev); |
| @@ -1102,12 +1110,13 @@ int nouveau_load(struct drm_device *dev, unsigned long flags) | |||
| 1102 | dev_priv->noaccel = !!nouveau_noaccel; | 1110 | dev_priv->noaccel = !!nouveau_noaccel; |
| 1103 | if (nouveau_noaccel == -1) { | 1111 | if (nouveau_noaccel == -1) { |
| 1104 | switch (dev_priv->chipset) { | 1112 | switch (dev_priv->chipset) { |
| 1105 | case 0xc1: /* known broken */ | 1113 | #if 0 |
| 1106 | case 0xc8: /* never tested */ | 1114 | case 0xXX: /* known broken */ |
| 1107 | NV_INFO(dev, "acceleration disabled by default, pass " | 1115 | NV_INFO(dev, "acceleration disabled by default, pass " |
| 1108 | "noaccel=0 to force enable\n"); | 1116 | "noaccel=0 to force enable\n"); |
| 1109 | dev_priv->noaccel = true; | 1117 | dev_priv->noaccel = true; |
| 1110 | break; | 1118 | break; |
| 1119 | #endif | ||
| 1111 | default: | 1120 | default: |
| 1112 | dev_priv->noaccel = false; | 1121 | dev_priv->noaccel = false; |
| 1113 | break; | 1122 | break; |
