aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 8919dcc07ed8..a8081f2efaea 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1933,6 +1933,8 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
1933 goto free_priv; 1933 goto free_priv;
1934 } 1934 }
1935 1935
1936 pci_set_master(dev->pdev);
1937
1936 /* overlay on gen2 is broken and can't address above 1G */ 1938 /* overlay on gen2 is broken and can't address above 1G */
1937 if (IS_GEN2(dev)) 1939 if (IS_GEN2(dev))
1938 dma_set_coherent_mask(&dev->pdev->dev, DMA_BIT_MASK(30)); 1940 dma_set_coherent_mask(&dev->pdev->dev, DMA_BIT_MASK(30));