summaryrefslogtreecommitdiff
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
parent4ebcb86ace31f127281644ed9aaadb0a3303d29d (diff)
Client-side updates for drmRadeonClear(...), fixes color/depth buffer
clears.
-rw-r--r--linux/radeon_cp.c10
-rw-r--r--linux/radeon_drm.h1
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;