aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-06-05 13:49:21 -0700
committerKeith Packard <keithp@keithp.com>2008-06-06 13:00:46 -0700
commit84162ccb7dc0286336292ac7f8e80678bfc11804 (patch)
tree837b67bde9ec65ba0a7d6f154a963d04ab4267d4
parent118baeee1820102177f4f5bb48dd2a1e3d95d21e (diff)
Ignore X server provided mmio address
-rw-r--r--shared-core/i915_dma.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index a948834a..37c822cf 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -214,14 +214,6 @@ static int i915_initialize(struct drm_device * dev,
return -EINVAL;
}
- if (init->mmio_offset != 0)
- dev_priv->mmio_map = drm_core_findmap(dev, init->mmio_offset);
- if (!dev_priv->mmio_map) {
- i915_dma_cleanup(dev);
- DRM_ERROR("can not find mmio map!\n");
- return -EINVAL;
- }
-
#ifdef I915_HAVE_BUFFER
dev_priv->max_validate_buffers = I915_MAX_VALIDATE_BUFFERS;
#endif
@@ -323,11 +315,6 @@ static int i915_dma_resume(struct drm_device * dev)
return -EINVAL;
}
- if (!dev_priv->mmio_map) {
- DRM_ERROR("can not find mmio map!\n");
- return -EINVAL;
- }
-
if (dev_priv->ring.map.handle == NULL) {
DRM_ERROR("can not ioremap virtual address for"
" ring buffer\n");