drm/i915: Remove use on gma_bus_addr on gen6+
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_dma.c
index bb622135798a96e46753bdea8ec0e9a693a803d3..468d2a0fc37833df2f0966258e6c7c133f872c6b 100644 (file)
@@ -1426,7 +1426,7 @@ static void i915_kick_out_firmware_fb(struct drm_i915_private *dev_priv)
        if (!ap)
                return;
 
-       ap->ranges[0].base = dev_priv->mm.gtt->gma_bus_addr;
+       ap->ranges[0].base = dev_priv->gtt.mappable_base;
        ap->ranges[0].size =
                dev_priv->mm.gtt->gtt_mappable_entries << PAGE_SHIFT;
        primary =
@@ -1543,7 +1543,6 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
        }
 
        aperture_size = dev_priv->mm.gtt->gtt_mappable_entries << PAGE_SHIFT;
-       dev_priv->gtt.mappable_base = dev_priv->mm.gtt->gma_bus_addr;
 
        dev_priv->gtt.mappable =
                io_mapping_create_wc(dev_priv->gtt.mappable_base,
This page took 0.02642 seconds and 5 git commands to generate.