diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-24 20:51:36 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-25 21:08:44 +0200 |
commit | 87207ca20eeb519aa0333b754db9cf3c369ea6f7 (patch) | |
tree | f53d695c01db25cdbbdfa02f7a0ec9a060e22405 /drivers/gpu | |
parent | 79f5b2c7599270aa3dcfffb445f8f520c05a7fc5 (diff) | |
download | linux-87207ca20eeb519aa0333b754db9cf3c369ea6f7.tar.gz linux-87207ca20eeb519aa0333b754db9cf3c369ea6f7.tar.bz2 linux-87207ca20eeb519aa0333b754db9cf3c369ea6f7.zip |
drm/i915: don't use dev->agp
This single leftover use is due to a patch that went into 3.5 through
-fixes. With the fake agp stuff on demise, at least for gen6+ we can't
use this any more.
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 9563ab8390e7..216651917fd5 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1414,7 +1414,7 @@ static void i915_kick_out_firmware_fb(struct drm_i915_private *dev_priv) if (!ap) return; - ap->ranges[0].base = dev_priv->dev->agp->base; + ap->ranges[0].base = dev_priv->mm.gtt->gma_bus_addr; ap->ranges[0].size = dev_priv->mm.gtt->gtt_mappable_entries << PAGE_SHIFT; primary = |