diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-12-16 08:57:08 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-12-16 08:57:08 +0000 |
commit | 9fb6986e83a84f6b958e8aba2c20b5988676bd55 (patch) | |
tree | 466fa7fd9089d1b7aa4e1257096e177a2c6034c0 /shared/r128_cce.c | |
parent | 5285b029876a4d3122ae72cc3d81ca8d184ed9ca (diff) |
Don't ioremap the framebuffer area. The ioremapped area wasn't used bydriinterface-0-0-2-branch
anything, and took up valuable KVA. While I'm in the area, clean up BSD
MTRR stuff some more.
Suggested by: jonsmirl
Diffstat (limited to 'shared/r128_cce.c')
-rw-r--r-- | shared/r128_cce.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/shared/r128_cce.c b/shared/r128_cce.c index abf05c177..bf4b4d95d 100644 --- a/shared/r128_cce.c +++ b/shared/r128_cce.c @@ -467,13 +467,6 @@ static int r128_do_init_cce( drm_device_t *dev, drm_r128_init_t *init ) return DRM_ERR(EINVAL); } - DRM_FIND_MAP( dev_priv->fb, init->fb_offset ); - if(!dev_priv->fb) { - DRM_ERROR("could not find framebuffer!\n"); - dev->dev_private = (void *)dev_priv; - r128_do_cleanup_cce( dev ); - return DRM_ERR(EINVAL); - } DRM_FIND_MAP( dev_priv->mmio, init->mmio_offset ); if(!dev_priv->mmio) { DRM_ERROR("could not find mmio region!\n"); |