#define DRIVER_NAME "radeon"
#define DRIVER_DESC "ATI Radeon"
-#define DRIVER_DATE "20060225"
+#define DRIVER_DATE "20051229"
/* Interface history:
*
* 1.20- Add support for r300 texrect
* 1.21- Add support for card type getparam
* 1.22- Add support for texture cache flushes (R300_TX_CNTL)
- * 1.23- Add new radeon memory map work from benh
- * 1.24- Add general-purpose packet for manipulating scratch registers (r300)
*/
#define DRIVER_MAJOR 1
-#define DRIVER_MINOR 24
+#define DRIVER_MINOR 22
#define DRIVER_PATCHLEVEL 0
/*
*/
enum radeon_family {
CHIP_R100,
- CHIP_RV100,
CHIP_RS100,
+ CHIP_RV100,
CHIP_RV200,
- CHIP_RS200,
CHIP_R200,
+ CHIP_RS200,
+ CHIP_R250,
+ CHIP_RS250,
CHIP_RV250,
- CHIP_RS300,
CHIP_RV280,
CHIP_R300,
+ CHIP_RS300,
CHIP_R350,
CHIP_RV350,
- CHIP_RV380,
CHIP_R420,
- CHIP_RV410,
- CHIP_RS400,
CHIP_LAST,
};
CHIP_IS_AGP = 0x00080000UL,
CHIP_HAS_HIERZ = 0x00100000UL,
CHIP_IS_PCIE = 0x00200000UL,
- CHIP_NEW_MEMMAP = 0x00400000UL,
};
-#define GET_RING_HEAD(dev_priv) (dev_priv->writeback_works ? \
- DRM_READ32( (dev_priv)->ring_rptr, 0 ) : RADEON_READ(RADEON_CP_RB_RPTR))
+#define GET_RING_HEAD(dev_priv) DRM_READ32( (dev_priv)->ring_rptr, 0 )
#define SET_RING_HEAD(dev_priv,val) DRM_WRITE32( (dev_priv)->ring_rptr, 0, (val) )
typedef struct drm_radeon_freelist {
drm_radeon_sarea_t *sarea_priv;
u32 fb_location;
- u32 fb_size;
- int new_memmap;
int gart_size;
u32 gart_vm_start;
unsigned long pcigart_offset;
drm_ati_pcigart_info gart_info;
- u32 scratch_ages[5];
-
/* starting from here on, data is preserved accross an open */
uint32_t flags; /* see radeon_chip_flags */
} drm_radeon_private_t;