diff options
-rw-r--r-- | linux/radeon_cp.c | 10 | ||||
-rw-r--r-- | linux/radeon_drm.h | 1 |
2 files changed, 0 insertions, 11 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 ); diff --git a/linux/radeon_drm.h b/linux/radeon_drm.h index 15d91693..9645f394 100644 --- a/linux/radeon_drm.h +++ b/linux/radeon_drm.h @@ -278,7 +278,6 @@ typedef struct drm_radeon_fullscreen { typedef struct drm_radeon_clear { unsigned int flags; - int x, y, w, h; unsigned int clear_color; unsigned int clear_depth; unsigned int color_mask; |