diff options
author | anholt <anholt@FreeBSD.org> | 2004-01-06 04:34:53 +0000 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2004-01-06 04:34:53 +0000 |
commit | 7a30cbbe36c3da10547bc71289118de8e9bf0798 (patch) | |
tree | dc23cbfd6e49f2154d34faf1bfc9e044ed6193d3 /sys/dev/drm/mga_dma.c | |
parent | 6ecda71663ef14ce4784c7105163615d9178cfb9 (diff) | |
download | FreeBSD-src-7a30cbbe36c3da10547bc71289118de8e9bf0798.zip FreeBSD-src-7a30cbbe36c3da10547bc71289118de8e9bf0798.tar.gz |
Merge from DRI CVS. No longer maps the framebuffer into KVA on radeon, r128,
and mga. MTRR code cleanups. Includes new Radeon and Rage 128 PCI IDs.
Diffstat (limited to 'sys/dev/drm/mga_dma.c')
-rw-r--r-- | sys/dev/drm/mga_dma.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/drm/mga_dma.c b/sys/dev/drm/mga_dma.c index 01406b5..3f75d76 100644 --- a/sys/dev/drm/mga_dma.c +++ b/sys/dev/drm/mga_dma.c @@ -502,14 +502,6 @@ static int mga_do_init_dma( drm_device_t *dev, drm_mga_init_t *init ) return DRM_ERR(EINVAL); } - DRM_FIND_MAP( dev_priv->fb, init->fb_offset ); - if(!dev_priv->fb) { - DRM_ERROR( "failed to find framebuffer!\n" ); - /* Assign dev_private so we can do cleanup. */ - dev->dev_private = (void *)dev_priv; - mga_do_cleanup_dma( dev ); - return DRM_ERR(EINVAL); - } DRM_FIND_MAP( dev_priv->mmio, init->mmio_offset ); if(!dev_priv->mmio) { DRM_ERROR( "failed to find mmio region!\n" ); |