mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 13:40:13 +01:00
Client-side updates for drmRadeonClear(...), fixes color/depth buffer
clears.
This commit is contained in:
parent
4ebcb86ace
commit
a68dddf19c
2 changed files with 0 additions and 11 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue