Added PCI_CHIP_RV410_5E4B (Adam Kirchhoff)
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_chipset.h
1 #ifndef _RADEON_CHIPSET_H
2 #define _RADEON_CHIPSET_H
3 /* Including xf86PciInfo.h introduces a bunch of errors...
4 */
5
6 /* General chip classes:
7 * r100 includes R100, RV100, RV200, RS100, RS200, RS250.
8 * r200 includes R200, RV250, RV280, RS300.
9 * r300 includes R300, RV350, RV370.
10 * (RS* denotes IGP)
11 */
12 #define PCI_CHIP_RS100_4136 0x4136
13 #define PCI_CHIP_RS200_4137 0x4137
14 #define PCI_CHIP_R300_AD 0x4144
15 #define PCI_CHIP_R300_AE 0x4145
16 #define PCI_CHIP_R300_AF 0x4146
17 #define PCI_CHIP_R300_AG 0x4147
18 #define PCI_CHIP_R350_AH 0x4148
19 #define PCI_CHIP_R350_AI 0x4149
20 #define PCI_CHIP_R350_AJ 0x414A
21 #define PCI_CHIP_R350_AK 0x414B
22 #define PCI_CHIP_RV350_AP 0x4150
23 #define PCI_CHIP_RV350_AQ 0x4151
24 #define PCI_CHIP_RV350_AR 0x4152
25 #define PCI_CHIP_RV350_AS 0x4153
26 #define PCI_CHIP_RV350_AT 0x4154
27 #define PCI_CHIP_RV350_AU 0x4155
28 #define PCI_CHIP_RV350_AV 0x4156
29 #define PCI_CHIP_RS250_4237 0x4237
30 #define PCI_CHIP_R200_BB 0x4242
31 #define PCI_CHIP_R200_BC 0x4243
32 #define PCI_CHIP_RS100_4336 0x4336
33 #define PCI_CHIP_RS200_4337 0x4337
34 #define PCI_CHIP_RS250_4437 0x4437
35 #define PCI_CHIP_RV250_Id 0x4964
36 #define PCI_CHIP_RV250_Ie 0x4965
37 #define PCI_CHIP_RV250_If 0x4966
38 #define PCI_CHIP_RV250_Ig 0x4967
39 #define PCI_CHIP_RV410_5E4B 0x5E4B
40 #define PCI_CHIP_R420_JH 0x4A48
41 #define PCI_CHIP_R420_JI 0x4A49
42 #define PCI_CHIP_R420_JJ 0x4A4A
43 #define PCI_CHIP_R420_JK 0x4A4B
44 #define PCI_CHIP_R420_JL 0x4A4C
45 #define PCI_CHIP_R420_JM 0x4A4D
46 #define PCI_CHIP_R420_JN 0x4A4E
47 #define PCI_CHIP_R420_JO 0x4A4F
48 #define PCI_CHIP_R420_JP 0x4A50
49 #define PCI_CHIP_RADEON_LW 0x4C57
50 #define PCI_CHIP_RADEON_LX 0x4C58
51 #define PCI_CHIP_RADEON_LY 0x4C59
52 #define PCI_CHIP_RADEON_LZ 0x4C5A
53 #define PCI_CHIP_RV250_Ld 0x4C64
54 #define PCI_CHIP_RV250_Le 0x4C65
55 #define PCI_CHIP_RV250_Lf 0x4C66
56 #define PCI_CHIP_RV250_Lg 0x4C67
57 #define PCI_CHIP_RV250_Ln 0x4C6E
58 #define PCI_CHIP_R300_ND 0x4E44
59 #define PCI_CHIP_R300_NE 0x4E45
60 #define PCI_CHIP_R300_NF 0x4E46
61 #define PCI_CHIP_R300_NG 0x4E47
62 #define PCI_CHIP_R350_NH 0x4E48
63 #define PCI_CHIP_R350_NI 0x4E49
64 #define PCI_CHIP_R360_NJ 0x4E4A
65 #define PCI_CHIP_R350_NK 0x4E4B
66 #define PCI_CHIP_RV350_NP 0x4E50
67 #define PCI_CHIP_RV350_NQ 0x4E51
68 #define PCI_CHIP_RV350_NR 0x4E52
69 #define PCI_CHIP_RV350_NS 0x4E53
70 #define PCI_CHIP_RV350_NT 0x4E54
71 #define PCI_CHIP_RV350_NV 0x4E56
72 #define PCI_CHIP_RADEON_QD 0x5144
73 #define PCI_CHIP_RADEON_QE 0x5145
74 #define PCI_CHIP_RADEON_QF 0x5146
75 #define PCI_CHIP_RADEON_QG 0x5147
76 #define PCI_CHIP_RADEON_QY 0x5159
77 #define PCI_CHIP_RADEON_QZ 0x515A
78 #define PCI_CHIP_RN50_515E 0x515E
79 #define PCI_CHIP_R200_QH 0x5148
80 #define PCI_CHIP_R200_QI 0x5149
81 #define PCI_CHIP_R200_QJ 0x514A
82 #define PCI_CHIP_R200_QK 0x514B
83 #define PCI_CHIP_R200_QL 0x514C
84 #define PCI_CHIP_R200_QM 0x514D
85 #define PCI_CHIP_R200_QN 0x514E
86 #define PCI_CHIP_R200_QO 0x514F
87 #define PCI_CHIP_RV200_QW 0x5157
88 #define PCI_CHIP_RV200_QX 0x5158
89 #define PCI_CHIP_RV370_5460 0x5460
90 #define PCI_CHIP_RV370_5464 0x5464
91 #define PCI_CHIP_RS300_5834 0x5834
92 #define PCI_CHIP_RS300_5835 0x5835
93 #define PCI_CHIP_RS300_5836 0x5836
94 #define PCI_CHIP_RS300_5837 0x5837
95 #define PCI_CHIP_RV280_5960 0x5960
96 #define PCI_CHIP_RV280_5961 0x5961
97 #define PCI_CHIP_RV280_5962 0x5962
98 #define PCI_CHIP_RV280_5964 0x5964
99 #define PCI_CHIP_RV280_5965 0x5965
100 #define PCI_CHIP_RN50_5969 0x5969
101 #define PCI_CHIP_RV370_5B60 0x5B60
102 #define PCI_CHIP_RV370_5B62 0x5B62
103 #define PCI_CHIP_RV370_5B64 0x5B64
104 #define PCI_CHIP_RV370_5B65 0x5B65
105 #define PCI_CHIP_RV280_5C61 0x5C61
106 #define PCI_CHIP_RV280_5C63 0x5C63
107
108 enum {
109 CHIP_FAMILY_R100,
110 CHIP_FAMILY_RV100,
111 CHIP_FAMILY_RS100,
112 CHIP_FAMILY_RV200,
113 CHIP_FAMILY_RS200,
114 CHIP_FAMILY_R200,
115 CHIP_FAMILY_RV250,
116 CHIP_FAMILY_RS300,
117 CHIP_FAMILY_RV280,
118 CHIP_FAMILY_R300,
119 CHIP_FAMILY_R350,
120 CHIP_FAMILY_RV350,
121 CHIP_FAMILY_RV380,
122 CHIP_FAMILY_R420,
123 CHIP_FAMILY_RV410,
124 CHIP_FAMILY_LAST
125 };
126
127 /* General classes of Radeons, as described above the device ID section */
128 #define RADEON_CLASS_R100 (0 << 0)
129 #define RADEON_CLASS_R200 (1 << 0)
130 #define RADEON_CLASS_R300 (2 << 0)
131 #define RADEON_CLASS_MASK (3 << 0)
132
133 #define RADEON_CHIPSET_TCL (1 << 2) /* tcl support - any radeon */
134 #define RADEON_CHIPSET_BROKEN_STENCIL (1 << 3) /* r100 stencil bug */
135 #define R200_CHIPSET_YCBCR_BROKEN (1 << 4) /* r200 ycbcr bug */
136
137 #endif /* _RADEON_CHIPSET_H */