Mercurial > mplayer.hg
changeset 1913:717f46012fce
Radeon VE QZ support
author | nick |
---|---|
date | Tue, 18 Sep 2001 16:16:19 +0000 |
parents | 33afcb62fc64 |
children | 838bfa146fa3 |
files | drivers/radeon/radeon.h drivers/radeon/radeonfb.c |
diffstat | 2 files changed, 22 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/drivers/radeon/radeon.h Tue Sep 18 16:14:17 2001 +0000 +++ b/drivers/radeon/radeon.h Tue Sep 18 16:16:19 2001 +0000 @@ -7,7 +7,8 @@ #define PCI_DEVICE_ID_RADEON_QE 0x5145 #define PCI_DEVICE_ID_RADEON_QF 0x5146 #define PCI_DEVICE_ID_RADEON_QG 0x5147 -#define PCI_DEVICE_ID_RADEON_VE 0x5159 +#define PCI_DEVICE_ID_RADEON_QY 0x5159 +#define PCI_DEVICE_ID_RADEON_QZ 0x515A #define RADEON_REGSIZE 0x4000
--- a/drivers/radeon/radeonfb.c Tue Sep 18 16:14:17 2001 +0000 +++ b/drivers/radeon/radeonfb.c Tue Sep 18 16:16:19 2001 +0000 @@ -13,13 +13,22 @@ * and minor mode tweaking, 0.0.9 * * 2001-09-07 Radeon VE support + * 2001-09-10 Radeon VE QZ support by Nick Kurshev <nickols_k@mail.ru> + * (limitations: on dualhead Radeons (VE, M6, M7) + * driver works only on second head (DVI port). + * TVout is not supported too. M6 & M7 chips + * currently are not supported. Driver has a lot + * of other bugs. Probably they can be solved by + * importing XFree86 code, which has ATI's support)., + * 0.0.11 + * * * Special thanks to ATI DevRel team for their hardware donations. * */ -#define RADEON_VERSION "0.0.10" +#define RADEON_VERSION "0.0.11" #include <linux/config.h> @@ -64,7 +73,8 @@ RADEON_QE, RADEON_QF, RADEON_QG, - RADEON_VE + RADEON_QY, + RADEON_QZ }; @@ -73,7 +83,8 @@ { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QE}, { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QF}, { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QG, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QG}, - { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_VE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_VE}, + { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QY, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QY}, + { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_RADEON_QZ, PCI_ANY_ID, PCI_ANY_ID, 0, 0, RADEON_QZ}, { 0, } }; MODULE_DEVICE_TABLE(pci, radeonfb_pci_table); @@ -176,7 +187,7 @@ struct radeon_regs state; struct radeon_regs init_state; - char name[10]; + char name[14]; char ram_type[12]; u32 mmio_base_phys; @@ -643,8 +654,11 @@ case PCI_DEVICE_ID_RADEON_QG: strcpy(rinfo->name, "Radeon QG "); break; - case PCI_DEVICE_ID_RADEON_VE: - strcpy(rinfo->name, "Radeon VE "); + case PCI_DEVICE_ID_RADEON_QY: + strcpy(rinfo->name, "Radeon VE QY"); + break; + case PCI_DEVICE_ID_RADEON_QZ: + strcpy(rinfo->name, "Radeon VE QZ"); break; default: return -ENODEV;