summaryrefslogtreecommitdiff
path: root/linux/radeon_cp.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@users.sourceforge.net>2001-01-26 07:52:36 +0000
committerGareth Hughes <gareth@users.sourceforge.net>2001-01-26 07:52:36 +0000
commita68dddf19caf0106479b71aab5a8de552a5ed596 (patch)
tree07a61896e27c04c5589995111141356c32b48c80 /linux/radeon_cp.c
parent4ebcb86ace31f127281644ed9aaadb0a3303d29d (diff)
Client-side updates for drmRadeonClear(...), fixes color/depth buffer
clears.
Diffstat (limited to 'linux/radeon_cp.c')
-rw-r--r--linux/radeon_cp.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/radeon_cp.c b/linux/radeon_cp.c
index d0fb7a0b..f96d4697 100644
--- a/linux/radeon_cp.c
+++ b/linux/radeon_cp.c
@@ -738,11 +738,6 @@ static int radeon_do_init_cp( drm_device_t *dev, drm_radeon_init_t *init )
DRM_IOREMAP( dev_priv->cp_ring );
DRM_IOREMAP( dev_priv->ring_rptr );
DRM_IOREMAP( dev_priv->buffers );
-#if 0
- if ( !dev_priv->is_pci ) {
- DRM_IOREMAP( dev_priv->agp_textures );
- }
-#endif
dev_priv->agp_size = init->agp_size;
dev_priv->agp_vm_start = RADEON_READ( RADEON_CONFIG_APER_SIZE );
@@ -811,11 +806,6 @@ static int radeon_do_cleanup_cp( drm_device_t *dev )
DRM_IOREMAPFREE( dev_priv->cp_ring );
DRM_IOREMAPFREE( dev_priv->ring_rptr );
DRM_IOREMAPFREE( dev_priv->buffers );
-#if 0
- if ( !dev_priv->is_pci ) {
- DRM_IOREMAPFREE( dev_priv->agp_textures );
- }
-#endif
drm_free( dev->dev_private, sizeof(drm_radeon_private_t),
DRM_MEM_DRIVER );