summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/radeon_cp.c
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-01-06 04:34:53 +0000
committeranholt <anholt@FreeBSD.org>2004-01-06 04:34:53 +0000
commit7a30cbbe36c3da10547bc71289118de8e9bf0798 (patch)
treedc23cbfd6e49f2154d34faf1bfc9e044ed6193d3 /sys/dev/drm/radeon_cp.c
parent6ecda71663ef14ce4784c7105163615d9178cfb9 (diff)
downloadFreeBSD-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/radeon_cp.c')
-rw-r--r--sys/dev/drm/radeon_cp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/drm/radeon_cp.c b/sys/dev/drm/radeon_cp.c
index 6ec65b7..59cd9ff 100644
--- a/sys/dev/drm/radeon_cp.c
+++ b/sys/dev/drm/radeon_cp.c
@@ -1120,13 +1120,6 @@ static int radeon_do_init_cp( drm_device_t *dev, drm_radeon_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;
- radeon_do_cleanup_cp(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");
OpenPOWER on IntegriCloud