diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-08-28 18:29:09 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-08-28 18:29:09 +0000 |
commit | e7c644e59a792b1485f3863b0a44877c71154a6a (patch) | |
tree | 12db6aa1b73fc94dcacde822d09a0e59ff84a612 /sys/dev | |
parent | fdd7642df8e6ca0424075c6020e8c26b308415f4 (diff) |
Ignore xserver provided mmio address. We already have it. From git.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/drm/i915_dma.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/pci/drm/i915_dma.c b/sys/dev/pci/drm/i915_dma.c index 96e9b422bfb..e0232ab1174 100644 --- a/sys/dev/pci/drm/i915_dma.c +++ b/sys/dev/pci/drm/i915_dma.c @@ -119,14 +119,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; - } - if (init->sarea_priv_offset) dev_priv->sarea_priv = (drm_i915_sarea_t *) ((u8 *) dev_priv->sarea->handle + @@ -204,11 +196,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"); |