ed881e3d94
- Split core DRM routines back into their own module, rather than using the nasty templated system like before. - Development-class R300 support in radeon driver (requires userland pieces, of course). - Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others. - i915 driver files, which just need to get drm_drv.c fixed to allow attachment to the drmsub device. Covers i830 through i915 integrated graphics. - savage driver files, which should require minimal changes to work. Covers the Savage3D, Savage IX/MX, Savage 4, ProSavage. - Support for color and texture tiling and HyperZ features of Radeon. Thanks to: scottl (much p4 handholding) Jung-uk Kim (helpful prodding) PR: [1] kern/76879, [2] kern/72548 Submitted by: [1] Alex, lesha at intercaf dot ru [2] Shaun Jurrens, shaun at shamz dot net
230 lines
11 KiB
C
230 lines
11 KiB
C
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
/*
|
|
This file is auto-generated from the drm_pciids.txt in the DRM CVS
|
|
Please contact dri-devel@lists.sf.net to add new cards to this list
|
|
*/
|
|
#define radeon_PCI_IDS \
|
|
{0x1002, 0x4136, CHIP_RS100|CHIP_IS_IGP, "ATI Radeon RS100 IGP 320M"}, \
|
|
{0x1002, 0x4137, CHIP_RS200|CHIP_IS_IGP, "ATI Radeon RS200 IGP"}, \
|
|
{0x1002, 0x4144, CHIP_R300, "ATI Radeon AD 9500 Pro"}, \
|
|
{0x1002, 0x4145, CHIP_R300, "ATI Radeon AE 9700 Pro"}, \
|
|
{0x1002, 0x4146, CHIP_R300, "ATI Radeon AF 9700 Pro"}, \
|
|
{0x1002, 0x4147, CHIP_R300, "ATI FireGL AG Z1/X1"}, \
|
|
{0x1002, 0x4150, CHIP_RV350, "ATI Radeon AP 9600"}, \
|
|
{0x1002, 0x4151, CHIP_RV350, "ATI Radeon AQ 9600"}, \
|
|
{0x1002, 0x4152, CHIP_RV350, "ATI Radeon AR 9600"}, \
|
|
{0x1002, 0x4153, CHIP_RV350, "ATI Radeon AS 9600 AS"}, \
|
|
{0x1002, 0x4154, CHIP_RV350, "ATI FireGL AT T2"}, \
|
|
{0x1002, 0x4156, CHIP_RV350, "ATI FireGL AV T2"}, \
|
|
{0x1002, 0x4237, CHIP_RS250|CHIP_IS_IGP, "ATI Radeon RS250 IGP"}, \
|
|
{0x1002, 0x4242, CHIP_R200, "ATI Radeon BB R200 AIW 8500DV"}, \
|
|
{0x1002, 0x4243, CHIP_R200, "ATI Radeon BC R200"}, \
|
|
{0x1002, 0x4336, CHIP_RS100|CHIP_IS_IGP|CHIP_IS_MOBILITY, "ATI Radeon RS100 Mobility U1"}, \
|
|
{0x1002, 0x4337, CHIP_RS200|CHIP_IS_IGP|CHIP_IS_MOBILITY, "ATI Radeon RS200 Mobility IGP 340M"}, \
|
|
{0x1002, 0x4437, CHIP_RS250|CHIP_IS_IGP|CHIP_IS_MOBILITY, "ATI Radeon RS250 Mobility IGP"}, \
|
|
{0x1002, 0x4964, CHIP_R250, "ATI Radeon Id R250 9000"}, \
|
|
{0x1002, 0x4965, CHIP_R250, "ATI Radeon Ie R250 9000"}, \
|
|
{0x1002, 0x4966, CHIP_R250, "ATI Radeon If R250 9000"}, \
|
|
{0x1002, 0x4967, CHIP_R250, "ATI Radeon Ig R250 9000"}, \
|
|
{0x1002, 0x4C57, CHIP_RV200|CHIP_IS_MOBILITY, "ATI Radeon LW RV200 Mobility 7500 M7"}, \
|
|
{0x1002, 0x4C58, CHIP_RV200|CHIP_IS_MOBILITY, "ATI Radeon LX RV200 Mobility FireGL 7800 M7"}, \
|
|
{0x1002, 0x4C59, CHIP_RV100|CHIP_IS_MOBILITY, "ATI Radeon LY RV100 Mobility M6"}, \
|
|
{0x1002, 0x4C5A, CHIP_RV100|CHIP_IS_MOBILITY, "ATI Radeon LZ RV100 Mobility M6"}, \
|
|
{0x1002, 0x4C64, CHIP_R250|CHIP_IS_MOBILITY, "ATI Radeon Ld R250 Mobility 9000 M9"}, \
|
|
{0x1002, 0x4C65, CHIP_R250|CHIP_IS_MOBILITY, "ATI Radeon Le R250 Mobility 9000 M9"}, \
|
|
{0x1002, 0x4C66, CHIP_R250|CHIP_IS_MOBILITY, "ATI Radeon Lf R250 Mobility 9000 M9"}, \
|
|
{0x1002, 0x4C67, CHIP_R250|CHIP_IS_MOBILITY, "ATI Radeon Lg R250 Mobility 9000 M9"}, \
|
|
{0x1002, 0x4E50, CHIP_RV350|CHIP_IS_MOBILITY, "ATI Radeon RV300 Mobility 9600 M10"}, \
|
|
{0x1002, 0x5144, CHIP_R100|CHIP_SINGLE_CRTC, "ATI Radeon QD R100"}, \
|
|
{0x1002, 0x5145, CHIP_R100|CHIP_SINGLE_CRTC, "ATI Radeon QE R100"}, \
|
|
{0x1002, 0x5146, CHIP_R100|CHIP_SINGLE_CRTC, "ATI Radeon QF R100"}, \
|
|
{0x1002, 0x5147, CHIP_R100|CHIP_SINGLE_CRTC, "ATI Radeon QG R100"}, \
|
|
{0x1002, 0x5148, CHIP_R200, "ATI Radeon QH R200 8500"}, \
|
|
{0x1002, 0x5149, CHIP_R200, "ATI Radeon QI R200"}, \
|
|
{0x1002, 0x514A, CHIP_R200, "ATI Radeon QJ R200"}, \
|
|
{0x1002, 0x514B, CHIP_R200, "ATI Radeon QK R200"}, \
|
|
{0x1002, 0x514C, CHIP_R200, "ATI Radeon QL R200 8500 LE"}, \
|
|
{0x1002, 0x514D, CHIP_R200, "ATI Radeon QM R200 9100"}, \
|
|
{0x1002, 0x514E, CHIP_R200, "ATI Radeon QN R200 8500 LE"}, \
|
|
{0x1002, 0x514F, CHIP_R200, "ATI Radeon QO R200 8500 LE"}, \
|
|
{0x1002, 0x5157, CHIP_RV200, "ATI Radeon QW RV200 7500"}, \
|
|
{0x1002, 0x5158, CHIP_RV200, "ATI Radeon QX RV200 7500"}, \
|
|
{0x1002, 0x5159, CHIP_RV100, "ATI Radeon QY RV100 7000/VE"}, \
|
|
{0x1002, 0x515A, CHIP_RV100, "ATI Radeon QZ RV100 7000/VE"}, \
|
|
{0x1002, 0x5168, CHIP_R200, "ATI Radeon Qh R200"}, \
|
|
{0x1002, 0x5169, CHIP_R200, "ATI Radeon Qi R200"}, \
|
|
{0x1002, 0x516A, CHIP_R200, "ATI Radeon Qj R200"}, \
|
|
{0x1002, 0x516B, CHIP_R200, "ATI Radeon Qk R200"}, \
|
|
{0x1002, 0x516C, CHIP_R200, "ATI Radeon Ql R200"}, \
|
|
{0x1002, 0x5834, CHIP_RS300|CHIP_IS_IGP, "ATI Radeon RS300 IGP"}, \
|
|
{0x1002, 0x5835, CHIP_RS300|CHIP_IS_IGP|CHIP_IS_MOBILITY, "ATI Radeon RS300 Mobility IGP"}, \
|
|
{0x1002, 0x5836, CHIP_RS300|CHIP_IS_IGP, "ATI Radeon RS300 IGP"}, \
|
|
{0x1002, 0x5837, CHIP_RS300|CHIP_IS_IGP, "ATI Radeon RS300 IGP"}, \
|
|
{0x1002, 0x5960, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x5961, CHIP_RV280, "ATI Radeon RV280 9200 SE"}, \
|
|
{0x1002, 0x5962, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x5963, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x5964, CHIP_RV280, "ATI Radeon RV280 9200 SE"}, \
|
|
{0x1002, 0x5968, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x5969, CHIP_RV100, "ATI ES1000 RN50"}, \
|
|
{0x1002, 0x596A, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x596B, CHIP_RV280, "ATI Radeon RV280 9200"}, \
|
|
{0x1002, 0x5c61, CHIP_RV280|CHIP_IS_MOBILITY, "ATI Radeon RV280 Mobility"}, \
|
|
{0x1002, 0x5c62, CHIP_RV280, "ATI Radeon RV280"}, \
|
|
{0x1002, 0x5c63, CHIP_RV280|CHIP_IS_MOBILITY, "ATI Radeon RV280 Mobility"}, \
|
|
{0x1002, 0x5c64, CHIP_RV280, "ATI Radeon RV280"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define r128_PCI_IDS \
|
|
{0x1002, 0x4c45, 0, "ATI Rage 128 Mobility LE (PCI)"}, \
|
|
{0x1002, 0x4c46, 0, "ATI Rage 128 Mobility LF (AGP)"}, \
|
|
{0x1002, 0x4d46, 0, "ATI Rage 128 Mobility MF (AGP)"}, \
|
|
{0x1002, 0x4d4c, 0, "ATI Rage 128 Mobility ML (AGP)"}, \
|
|
{0x1002, 0x5041, 0, "ATI Rage 128 Pro PA (PCI)"}, \
|
|
{0x1002, 0x5042, 0, "ATI Rage 128 Pro PB (AGP)"}, \
|
|
{0x1002, 0x5043, 0, "ATI Rage 128 Pro PC (AGP)"}, \
|
|
{0x1002, 0x5044, 0, "ATI Rage 128 Pro PD (PCI)"}, \
|
|
{0x1002, 0x5045, 0, "ATI Rage 128 Pro PE (AGP)"}, \
|
|
{0x1002, 0x5046, 0, "ATI Rage 128 Pro PF (AGP)"}, \
|
|
{0x1002, 0x5047, 0, "ATI Rage 128 Pro PG (PCI)"}, \
|
|
{0x1002, 0x5048, 0, "ATI Rage 128 Pro PH (AGP)"}, \
|
|
{0x1002, 0x5049, 0, "ATI Rage 128 Pro PI (AGP)"}, \
|
|
{0x1002, 0x504A, 0, "ATI Rage 128 Pro PJ (PCI)"}, \
|
|
{0x1002, 0x504B, 0, "ATI Rage 128 Pro PK (AGP)"}, \
|
|
{0x1002, 0x504C, 0, "ATI Rage 128 Pro PL (AGP)"}, \
|
|
{0x1002, 0x504D, 0, "ATI Rage 128 Pro PM (PCI)"}, \
|
|
{0x1002, 0x504E, 0, "ATI Rage 128 Pro PN (AGP)"}, \
|
|
{0x1002, 0x504F, 0, "ATI Rage 128 Pro PO (AGP)"}, \
|
|
{0x1002, 0x5050, 0, "ATI Rage 128 Pro PP (PCI)"}, \
|
|
{0x1002, 0x5051, 0, "ATI Rage 128 Pro PQ (AGP)"}, \
|
|
{0x1002, 0x5052, 0, "ATI Rage 128 Pro PR (PCI)"}, \
|
|
{0x1002, 0x5053, 0, "ATI Rage 128 Pro PS (PCI)"}, \
|
|
{0x1002, 0x5054, 0, "ATI Rage 128 Pro PT (AGP)"}, \
|
|
{0x1002, 0x5055, 0, "ATI Rage 128 Pro PU (AGP)"}, \
|
|
{0x1002, 0x5056, 0, "ATI Rage 128 Pro PV (PCI)"}, \
|
|
{0x1002, 0x5057, 0, "ATI Rage 128 Pro PW (AGP)"}, \
|
|
{0x1002, 0x5058, 0, "ATI Rage 128 Pro PX (AGP)"}, \
|
|
{0x1002, 0x5245, 0, "ATI Rage 128 RE (PCI)"}, \
|
|
{0x1002, 0x5246, 0, "ATI Rage 128 RF (AGP)"}, \
|
|
{0x1002, 0x5247, 0, "ATI Rage 128 RG (AGP)"}, \
|
|
{0x1002, 0x524b, 0, "ATI Rage 128 RK (PCI)"}, \
|
|
{0x1002, 0x524c, 0, "ATI Rage 128 RL (AGP)"}, \
|
|
{0x1002, 0x534d, 0, "ATI Rage 128 SM (AGP)"}, \
|
|
{0x1002, 0x5446, 0, "ATI Rage 128 Pro Ultra TF (AGP)"}, \
|
|
{0x1002, 0x544C, 0, "ATI Rage 128 Pro Ultra TL (AGP)"}, \
|
|
{0x1002, 0x5452, 0, "ATI Rage 128 Pro Ultra TR (AGP)"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define mga_PCI_IDS \
|
|
{0x102b, 0x0521, 0, "Matrox G200 (AGP)"}, \
|
|
{0x102b, 0x0525, 0, "Matrox G400/G450 (AGP)"}, \
|
|
{0x102b, 0x2527, 0, "Matrox G550 (AGP)"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define mach64_PCI_IDS \
|
|
{0x1002, 0x4749, 0, "3D Rage Pro"}, \
|
|
{0x1002, 0x4750, 0, "3D Rage Pro 215GP"}, \
|
|
{0x1002, 0x4751, 0, "3D Rage Pro 215GQ"}, \
|
|
{0x1002, 0x4742, 0, "3D Rage Pro AGP 1X/2X"}, \
|
|
{0x1002, 0x4744, 0, "3D Rage Pro AGP 1X"}, \
|
|
{0x1002, 0x4c49, 0, "3D Rage LT Pro"}, \
|
|
{0x1002, 0x4c50, 0, "3D Rage LT Pro"}, \
|
|
{0x1002, 0x4c51, 0, "3D Rage LT Pro"}, \
|
|
{0x1002, 0x4c42, 0, "3D Rage LT Pro AGP-133"}, \
|
|
{0x1002, 0x4c44, 0, "3D Rage LT Pro AGP-66"}, \
|
|
{0x1002, 0x474c, 0, "Rage XC"}, \
|
|
{0x1002, 0x474f, 0, "Rage XL"}, \
|
|
{0x1002, 0x4752, 0, "Rage XL"}, \
|
|
{0x1002, 0x4753, 0, "Rage XC"}, \
|
|
{0x1002, 0x474d, 0, "Rage XL AGP 2X"}, \
|
|
{0x1002, 0x474e, 0, "Rage XC AGP"}, \
|
|
{0x1002, 0x4c52, 0, "Rage Mobility P/M"}, \
|
|
{0x1002, 0x4c53, 0, "Rage Mobility L"}, \
|
|
{0x1002, 0x4c4d, 0, "Rage Mobility P/M AGP 2X"}, \
|
|
{0x1002, 0x4c4e, 0, "Rage Mobility L AGP 2X"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define sis_PCI_IDS \
|
|
{0x1039, 0x0300, 0, "SiS 300/305"}, \
|
|
{0x1039, 0x5300, 0, "SiS 540"}, \
|
|
{0x1039, 0x6300, 0, "SiS 630"}, \
|
|
{0x1039, 0x7300, 0, "SiS 730"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define tdfx_PCI_IDS \
|
|
{0x121a, 0x0003, 0, "3dfx Voodoo Banshee"}, \
|
|
{0x121a, 0x0004, 0, "3dfx Voodoo3 2000"}, \
|
|
{0x121a, 0x0005, 0, "3dfx Voodoo3 3000"}, \
|
|
{0x121a, 0x0007, 0, "3dfx Voodoo4 4500"}, \
|
|
{0x121a, 0x0009, 0, "3dfx Voodoo5 5500"}, \
|
|
{0x121a, 0x000b, 0, "3dfx Voodoo4 4200"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define viadrv_PCI_IDS \
|
|
{0x1106, 0x3022, 0, "VIA CLE266 3022"}, \
|
|
{0x1106, 0x3118, 0, "VIA CN400"}, \
|
|
{0x1106, 0x3122, 0, "VIA CLE266"}, \
|
|
{0x1106, 0x7205, 0, "VIA KM400"}, \
|
|
{0x1106, 0x7204, 0, "VIA K8M800"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define i810_PCI_IDS \
|
|
{0x8086, 0x7121, 0, "Intel i810 GMCH"}, \
|
|
{0x8086, 0x7123, 0, "Intel i810-DC100 GMCH"}, \
|
|
{0x8086, 0x7125, 0, "Intel i810E GMCH"}, \
|
|
{0x8086, 0x1132, 0, "Intel i815 GMCH"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define i830_PCI_IDS \
|
|
{0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
|
|
{0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
|
|
{0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
|
|
{0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define gamma_PCI_IDS \
|
|
{0x3d3d, 0x0008, 0, "3DLabs GLINT Gamma G1"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define savage_PCI_IDS \
|
|
{0x5333, 0x8a20, S3_SAVAGE3D, "Savage 3D"}, \
|
|
{0x5333, 0x8a21, S3_SAVAGE3D, "Savage 3D/MV"}, \
|
|
{0x5333, 0x8a22, S3_SAVAGE4, "Savage4"}, \
|
|
{0x5333, 0x8a23, S3_SAVAGE4, "Savage4"}, \
|
|
{0x5333, 0x8c10, S3_SAVAGE_MX, "Savage/MX-MV"}, \
|
|
{0x5333, 0x8c11, S3_SAVAGE_MX, "Savage/MX"}, \
|
|
{0x5333, 0x8c12, S3_SAVAGE_MX, "Savage/IX-MV"}, \
|
|
{0x5333, 0x8c13, S3_SAVAGE_MX, "Savage/IX"}, \
|
|
{0x5333, 0x8c22, S3_SUPERSAVAGE, "SuperSavage MX/128"}, \
|
|
{0x5333, 0x8c24, S3_SUPERSAVAGE, "SuperSavage MX/64"}, \
|
|
{0x5333, 0x8c26, S3_SUPERSAVAGE, "SuperSavage MX/64C"}, \
|
|
{0x5333, 0x8c2a, S3_SUPERSAVAGE, "SuperSavage IX/128 SDR"}, \
|
|
{0x5333, 0x8c2b, S3_SUPERSAVAGE, "SuperSavage IX/128 DDR"}, \
|
|
{0x5333, 0x8c2c, S3_SUPERSAVAGE, "SuperSavage IX/64 SDR"}, \
|
|
{0x5333, 0x8c2d, S3_SUPERSAVAGE, "SuperSavage IX/64 DDR"}, \
|
|
{0x5333, 0x8c2e, S3_SUPERSAVAGE, "SuperSavage IX/C SDR"}, \
|
|
{0x5333, 0x8c2f, S3_SUPERSAVAGE, "SuperSavage IX/C DDR"}, \
|
|
{0x5333, 0x8a25, S3_PROSAVAGE, "ProSavage PM133"}, \
|
|
{0x5333, 0x8a26, S3_PROSAVAGE, "ProSavage KM133"}, \
|
|
{0x5333, 0x8d01, S3_TWISTER, "ProSavage Twister PN133"}, \
|
|
{0x5333, 0x8d02, S3_TWISTER, "ProSavage Twister KN133"}, \
|
|
{0x5333, 0x8d03, S3_PROSAVAGEDDR, "ProSavage DDR"}, \
|
|
{0x5333, 0x8d04, S3_PROSAVAGEDDR, "ProSavage DDR-K"}, \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define ffb_PCI_IDS \
|
|
{0, 0, 0, NULL}
|
|
|
|
#define i915_PCI_IDS \
|
|
{0x8086, 0x3577, 0, "Intel i830M GMCH"}, \
|
|
{0x8086, 0x2562, 0, "Intel i845G GMCH"}, \
|
|
{0x8086, 0x3582, 0, "Intel i852GM/i855GM GMCH"}, \
|
|
{0x8086, 0x2572, 0, "Intel i865G GMCH"}, \
|
|
{0x8086, 0x2582, 0, "Intel i915G"}, \
|
|
{0x8086, 0x2982, 0, "Intel i915GM"}, \
|
|
{0, 0, 0, NULL}
|
|
|