diff options
| -rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index a7ec93e62f81..7796f452ed1d 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
| @@ -2082,6 +2082,10 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) | |||
| 2082 | goto free_priv; | 2082 | goto free_priv; |
| 2083 | } | 2083 | } |
| 2084 | 2084 | ||
| 2085 | /* overlay on gen2 is broken and can't address above 1G */ | ||
| 2086 | if (IS_GEN2(dev)) | ||
| 2087 | dma_set_coherent_mask(&dev->pdev->dev, DMA_BIT_MASK(30)); | ||
| 2088 | |||
| 2085 | dev_priv->regs = ioremap(base, size); | 2089 | dev_priv->regs = ioremap(base, size); |
| 2086 | if (!dev_priv->regs) { | 2090 | if (!dev_priv->regs) { |
| 2087 | DRM_ERROR("failed to map registers\n"); | 2091 | DRM_ERROR("failed to map registers\n"); |
