Linux 4.14.5
[linux/fpc-iii.git] / include / drm / i915_pciids.h
blob34c8f5600ce054e6f045d9a2864539a58f761088
1 /*
2 * Copyright 2013 Intel Corporation
3 * All Rights Reserved.
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,
9 * distribute, sub license, and/or sell copies of the Software, and to
10 * permit persons to whom the Software is furnished to do so, subject to
11 * the following conditions:
13 * The above copyright notice and this permission notice (including the
14 * next paragraph) shall be included in all copies or substantial portions
15 * of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
25 #ifndef _I915_PCIIDS_H
26 #define _I915_PCIIDS_H
29 * A pci_device_id struct {
30 * __u32 vendor, device;
31 * __u32 subvendor, subdevice;
32 * __u32 class, class_mask;
33 * kernel_ulong_t driver_data;
34 * };
35 * Don't use C99 here because "class" is reserved and we want to
36 * give userspace flexibility.
38 #define INTEL_VGA_DEVICE(id, info) { \
39 0x8086, id, \
40 ~0, ~0, \
41 0x030000, 0xff0000, \
42 (unsigned long) info }
44 #define INTEL_QUANTA_VGA_DEVICE(info) { \
45 0x8086, 0x16a, \
46 0x152d, 0x8990, \
47 0x030000, 0xff0000, \
48 (unsigned long) info }
50 #define INTEL_I810_IDS(info) \
51 INTEL_VGA_DEVICE(0x7121, info), /* I810 */ \
52 INTEL_VGA_DEVICE(0x7123, info), /* I810_DC100 */ \
53 INTEL_VGA_DEVICE(0x7125, info) /* I810_E */
55 #define INTEL_I815_IDS(info) \
56 INTEL_VGA_DEVICE(0x1132, info) /* I815*/
58 #define INTEL_I830_IDS(info) \
59 INTEL_VGA_DEVICE(0x3577, info)
61 #define INTEL_I845G_IDS(info) \
62 INTEL_VGA_DEVICE(0x2562, info)
64 #define INTEL_I85X_IDS(info) \
65 INTEL_VGA_DEVICE(0x3582, info), /* I855_GM */ \
66 INTEL_VGA_DEVICE(0x358e, info)
68 #define INTEL_I865G_IDS(info) \
69 INTEL_VGA_DEVICE(0x2572, info) /* I865_G */
71 #define INTEL_I915G_IDS(info) \
72 INTEL_VGA_DEVICE(0x2582, info), /* I915_G */ \
73 INTEL_VGA_DEVICE(0x258a, info) /* E7221_G */
75 #define INTEL_I915GM_IDS(info) \
76 INTEL_VGA_DEVICE(0x2592, info) /* I915_GM */
78 #define INTEL_I945G_IDS(info) \
79 INTEL_VGA_DEVICE(0x2772, info) /* I945_G */
81 #define INTEL_I945GM_IDS(info) \
82 INTEL_VGA_DEVICE(0x27a2, info), /* I945_GM */ \
83 INTEL_VGA_DEVICE(0x27ae, info) /* I945_GME */
85 #define INTEL_I965G_IDS(info) \
86 INTEL_VGA_DEVICE(0x2972, info), /* I946_GZ */ \
87 INTEL_VGA_DEVICE(0x2982, info), /* G35_G */ \
88 INTEL_VGA_DEVICE(0x2992, info), /* I965_Q */ \
89 INTEL_VGA_DEVICE(0x29a2, info) /* I965_G */
91 #define INTEL_G33_IDS(info) \
92 INTEL_VGA_DEVICE(0x29b2, info), /* Q35_G */ \
93 INTEL_VGA_DEVICE(0x29c2, info), /* G33_G */ \
94 INTEL_VGA_DEVICE(0x29d2, info) /* Q33_G */
96 #define INTEL_I965GM_IDS(info) \
97 INTEL_VGA_DEVICE(0x2a02, info), /* I965_GM */ \
98 INTEL_VGA_DEVICE(0x2a12, info) /* I965_GME */
100 #define INTEL_GM45_IDS(info) \
101 INTEL_VGA_DEVICE(0x2a42, info) /* GM45_G */
103 #define INTEL_G45_IDS(info) \
104 INTEL_VGA_DEVICE(0x2e02, info), /* IGD_E_G */ \
105 INTEL_VGA_DEVICE(0x2e12, info), /* Q45_G */ \
106 INTEL_VGA_DEVICE(0x2e22, info), /* G45_G */ \
107 INTEL_VGA_DEVICE(0x2e32, info), /* G41_G */ \
108 INTEL_VGA_DEVICE(0x2e42, info), /* B43_G */ \
109 INTEL_VGA_DEVICE(0x2e92, info) /* B43_G.1 */
111 #define INTEL_PINEVIEW_IDS(info) \
112 INTEL_VGA_DEVICE(0xa001, info), \
113 INTEL_VGA_DEVICE(0xa011, info)
115 #define INTEL_IRONLAKE_D_IDS(info) \
116 INTEL_VGA_DEVICE(0x0042, info)
118 #define INTEL_IRONLAKE_M_IDS(info) \
119 INTEL_VGA_DEVICE(0x0046, info)
121 #define INTEL_SNB_D_IDS(info) \
122 INTEL_VGA_DEVICE(0x0102, info), \
123 INTEL_VGA_DEVICE(0x0112, info), \
124 INTEL_VGA_DEVICE(0x0122, info), \
125 INTEL_VGA_DEVICE(0x010A, info)
127 #define INTEL_SNB_M_IDS(info) \
128 INTEL_VGA_DEVICE(0x0106, info), \
129 INTEL_VGA_DEVICE(0x0116, info), \
130 INTEL_VGA_DEVICE(0x0126, info)
132 #define INTEL_IVB_M_IDS(info) \
133 INTEL_VGA_DEVICE(0x0156, info), /* GT1 mobile */ \
134 INTEL_VGA_DEVICE(0x0166, info) /* GT2 mobile */
136 #define INTEL_IVB_D_IDS(info) \
137 INTEL_VGA_DEVICE(0x0152, info), /* GT1 desktop */ \
138 INTEL_VGA_DEVICE(0x0162, info), /* GT2 desktop */ \
139 INTEL_VGA_DEVICE(0x015a, info), /* GT1 server */ \
140 INTEL_VGA_DEVICE(0x016a, info) /* GT2 server */
142 #define INTEL_IVB_Q_IDS(info) \
143 INTEL_QUANTA_VGA_DEVICE(info) /* Quanta transcode */
145 #define INTEL_HSW_IDS(info) \
146 INTEL_VGA_DEVICE(0x0402, info), /* GT1 desktop */ \
147 INTEL_VGA_DEVICE(0x0412, info), /* GT2 desktop */ \
148 INTEL_VGA_DEVICE(0x0422, info), /* GT3 desktop */ \
149 INTEL_VGA_DEVICE(0x040a, info), /* GT1 server */ \
150 INTEL_VGA_DEVICE(0x041a, info), /* GT2 server */ \
151 INTEL_VGA_DEVICE(0x042a, info), /* GT3 server */ \
152 INTEL_VGA_DEVICE(0x040B, info), /* GT1 reserved */ \
153 INTEL_VGA_DEVICE(0x041B, info), /* GT2 reserved */ \
154 INTEL_VGA_DEVICE(0x042B, info), /* GT3 reserved */ \
155 INTEL_VGA_DEVICE(0x040E, info), /* GT1 reserved */ \
156 INTEL_VGA_DEVICE(0x041E, info), /* GT2 reserved */ \
157 INTEL_VGA_DEVICE(0x042E, info), /* GT3 reserved */ \
158 INTEL_VGA_DEVICE(0x0C02, info), /* SDV GT1 desktop */ \
159 INTEL_VGA_DEVICE(0x0C12, info), /* SDV GT2 desktop */ \
160 INTEL_VGA_DEVICE(0x0C22, info), /* SDV GT3 desktop */ \
161 INTEL_VGA_DEVICE(0x0C0A, info), /* SDV GT1 server */ \
162 INTEL_VGA_DEVICE(0x0C1A, info), /* SDV GT2 server */ \
163 INTEL_VGA_DEVICE(0x0C2A, info), /* SDV GT3 server */ \
164 INTEL_VGA_DEVICE(0x0C0B, info), /* SDV GT1 reserved */ \
165 INTEL_VGA_DEVICE(0x0C1B, info), /* SDV GT2 reserved */ \
166 INTEL_VGA_DEVICE(0x0C2B, info), /* SDV GT3 reserved */ \
167 INTEL_VGA_DEVICE(0x0C0E, info), /* SDV GT1 reserved */ \
168 INTEL_VGA_DEVICE(0x0C1E, info), /* SDV GT2 reserved */ \
169 INTEL_VGA_DEVICE(0x0C2E, info), /* SDV GT3 reserved */ \
170 INTEL_VGA_DEVICE(0x0A02, info), /* ULT GT1 desktop */ \
171 INTEL_VGA_DEVICE(0x0A12, info), /* ULT GT2 desktop */ \
172 INTEL_VGA_DEVICE(0x0A22, info), /* ULT GT3 desktop */ \
173 INTEL_VGA_DEVICE(0x0A0A, info), /* ULT GT1 server */ \
174 INTEL_VGA_DEVICE(0x0A1A, info), /* ULT GT2 server */ \
175 INTEL_VGA_DEVICE(0x0A2A, info), /* ULT GT3 server */ \
176 INTEL_VGA_DEVICE(0x0A0B, info), /* ULT GT1 reserved */ \
177 INTEL_VGA_DEVICE(0x0A1B, info), /* ULT GT2 reserved */ \
178 INTEL_VGA_DEVICE(0x0A2B, info), /* ULT GT3 reserved */ \
179 INTEL_VGA_DEVICE(0x0D02, info), /* CRW GT1 desktop */ \
180 INTEL_VGA_DEVICE(0x0D12, info), /* CRW GT2 desktop */ \
181 INTEL_VGA_DEVICE(0x0D22, info), /* CRW GT3 desktop */ \
182 INTEL_VGA_DEVICE(0x0D0A, info), /* CRW GT1 server */ \
183 INTEL_VGA_DEVICE(0x0D1A, info), /* CRW GT2 server */ \
184 INTEL_VGA_DEVICE(0x0D2A, info), /* CRW GT3 server */ \
185 INTEL_VGA_DEVICE(0x0D0B, info), /* CRW GT1 reserved */ \
186 INTEL_VGA_DEVICE(0x0D1B, info), /* CRW GT2 reserved */ \
187 INTEL_VGA_DEVICE(0x0D2B, info), /* CRW GT3 reserved */ \
188 INTEL_VGA_DEVICE(0x0D0E, info), /* CRW GT1 reserved */ \
189 INTEL_VGA_DEVICE(0x0D1E, info), /* CRW GT2 reserved */ \
190 INTEL_VGA_DEVICE(0x0D2E, info), /* CRW GT3 reserved */ \
191 INTEL_VGA_DEVICE(0x0406, info), /* GT1 mobile */ \
192 INTEL_VGA_DEVICE(0x0416, info), /* GT2 mobile */ \
193 INTEL_VGA_DEVICE(0x0426, info), /* GT2 mobile */ \
194 INTEL_VGA_DEVICE(0x0C06, info), /* SDV GT1 mobile */ \
195 INTEL_VGA_DEVICE(0x0C16, info), /* SDV GT2 mobile */ \
196 INTEL_VGA_DEVICE(0x0C26, info), /* SDV GT3 mobile */ \
197 INTEL_VGA_DEVICE(0x0A06, info), /* ULT GT1 mobile */ \
198 INTEL_VGA_DEVICE(0x0A16, info), /* ULT GT2 mobile */ \
199 INTEL_VGA_DEVICE(0x0A26, info), /* ULT GT3 mobile */ \
200 INTEL_VGA_DEVICE(0x0A0E, info), /* ULX GT1 mobile */ \
201 INTEL_VGA_DEVICE(0x0A1E, info), /* ULX GT2 mobile */ \
202 INTEL_VGA_DEVICE(0x0A2E, info), /* ULT GT3 reserved */ \
203 INTEL_VGA_DEVICE(0x0D06, info), /* CRW GT1 mobile */ \
204 INTEL_VGA_DEVICE(0x0D16, info), /* CRW GT2 mobile */ \
205 INTEL_VGA_DEVICE(0x0D26, info) /* CRW GT3 mobile */
207 #define INTEL_VLV_IDS(info) \
208 INTEL_VGA_DEVICE(0x0f30, info), \
209 INTEL_VGA_DEVICE(0x0f31, info), \
210 INTEL_VGA_DEVICE(0x0f32, info), \
211 INTEL_VGA_DEVICE(0x0f33, info), \
212 INTEL_VGA_DEVICE(0x0157, info), \
213 INTEL_VGA_DEVICE(0x0155, info)
215 #define INTEL_BDW_GT12_IDS(info) \
216 INTEL_VGA_DEVICE(0x1602, info), /* GT1 ULT */ \
217 INTEL_VGA_DEVICE(0x1606, info), /* GT1 ULT */ \
218 INTEL_VGA_DEVICE(0x160B, info), /* GT1 Iris */ \
219 INTEL_VGA_DEVICE(0x160E, info), /* GT1 ULX */ \
220 INTEL_VGA_DEVICE(0x1612, info), /* GT2 Halo */ \
221 INTEL_VGA_DEVICE(0x1616, info), /* GT2 ULT */ \
222 INTEL_VGA_DEVICE(0x161B, info), /* GT2 ULT */ \
223 INTEL_VGA_DEVICE(0x161E, info), /* GT2 ULX */ \
224 INTEL_VGA_DEVICE(0x160A, info), /* GT1 Server */ \
225 INTEL_VGA_DEVICE(0x160D, info), /* GT1 Workstation */ \
226 INTEL_VGA_DEVICE(0x161A, info), /* GT2 Server */ \
227 INTEL_VGA_DEVICE(0x161D, info) /* GT2 Workstation */
229 #define INTEL_BDW_GT3_IDS(info) \
230 INTEL_VGA_DEVICE(0x1622, info), /* ULT */ \
231 INTEL_VGA_DEVICE(0x1626, info), /* ULT */ \
232 INTEL_VGA_DEVICE(0x162B, info), /* Iris */ \
233 INTEL_VGA_DEVICE(0x162E, info), /* ULX */\
234 INTEL_VGA_DEVICE(0x162A, info), /* Server */ \
235 INTEL_VGA_DEVICE(0x162D, info) /* Workstation */
237 #define INTEL_BDW_RSVD_IDS(info) \
238 INTEL_VGA_DEVICE(0x1632, info), /* ULT */ \
239 INTEL_VGA_DEVICE(0x1636, info), /* ULT */ \
240 INTEL_VGA_DEVICE(0x163B, info), /* Iris */ \
241 INTEL_VGA_DEVICE(0x163E, info), /* ULX */ \
242 INTEL_VGA_DEVICE(0x163A, info), /* Server */ \
243 INTEL_VGA_DEVICE(0x163D, info) /* Workstation */
245 #define INTEL_BDW_IDS(info) \
246 INTEL_BDW_GT12_IDS(info), \
247 INTEL_BDW_GT3_IDS(info), \
248 INTEL_BDW_RSVD_IDS(info)
250 #define INTEL_CHV_IDS(info) \
251 INTEL_VGA_DEVICE(0x22b0, info), \
252 INTEL_VGA_DEVICE(0x22b1, info), \
253 INTEL_VGA_DEVICE(0x22b2, info), \
254 INTEL_VGA_DEVICE(0x22b3, info)
256 #define INTEL_SKL_GT1_IDS(info) \
257 INTEL_VGA_DEVICE(0x1906, info), /* ULT GT1 */ \
258 INTEL_VGA_DEVICE(0x190E, info), /* ULX GT1 */ \
259 INTEL_VGA_DEVICE(0x1902, info), /* DT GT1 */ \
260 INTEL_VGA_DEVICE(0x190B, info), /* Halo GT1 */ \
261 INTEL_VGA_DEVICE(0x190A, info) /* SRV GT1 */
263 #define INTEL_SKL_GT2_IDS(info) \
264 INTEL_VGA_DEVICE(0x1916, info), /* ULT GT2 */ \
265 INTEL_VGA_DEVICE(0x1921, info), /* ULT GT2F */ \
266 INTEL_VGA_DEVICE(0x191E, info), /* ULX GT2 */ \
267 INTEL_VGA_DEVICE(0x1912, info), /* DT GT2 */ \
268 INTEL_VGA_DEVICE(0x191B, info), /* Halo GT2 */ \
269 INTEL_VGA_DEVICE(0x191A, info), /* SRV GT2 */ \
270 INTEL_VGA_DEVICE(0x191D, info) /* WKS GT2 */
272 #define INTEL_SKL_GT3_IDS(info) \
273 INTEL_VGA_DEVICE(0x1923, info), /* ULT GT3 */ \
274 INTEL_VGA_DEVICE(0x1926, info), /* ULT GT3 */ \
275 INTEL_VGA_DEVICE(0x1927, info), /* ULT GT3 */ \
276 INTEL_VGA_DEVICE(0x192B, info), /* Halo GT3 */ \
277 INTEL_VGA_DEVICE(0x192D, info) /* SRV GT3 */
279 #define INTEL_SKL_GT4_IDS(info) \
280 INTEL_VGA_DEVICE(0x1932, info), /* DT GT4 */ \
281 INTEL_VGA_DEVICE(0x193B, info), /* Halo GT4 */ \
282 INTEL_VGA_DEVICE(0x193D, info), /* WKS GT4 */ \
283 INTEL_VGA_DEVICE(0x192A, info), /* SRV GT4 */ \
284 INTEL_VGA_DEVICE(0x193A, info) /* SRV GT4e */
286 #define INTEL_SKL_IDS(info) \
287 INTEL_SKL_GT1_IDS(info), \
288 INTEL_SKL_GT2_IDS(info), \
289 INTEL_SKL_GT3_IDS(info), \
290 INTEL_SKL_GT4_IDS(info)
292 #define INTEL_BXT_IDS(info) \
293 INTEL_VGA_DEVICE(0x0A84, info), \
294 INTEL_VGA_DEVICE(0x1A84, info), \
295 INTEL_VGA_DEVICE(0x1A85, info), \
296 INTEL_VGA_DEVICE(0x5A84, info), /* APL HD Graphics 505 */ \
297 INTEL_VGA_DEVICE(0x5A85, info) /* APL HD Graphics 500 */
299 #define INTEL_GLK_IDS(info) \
300 INTEL_VGA_DEVICE(0x3184, info), \
301 INTEL_VGA_DEVICE(0x3185, info)
303 #define INTEL_KBL_GT1_IDS(info) \
304 INTEL_VGA_DEVICE(0x5913, info), /* ULT GT1.5 */ \
305 INTEL_VGA_DEVICE(0x5915, info), /* ULX GT1.5 */ \
306 INTEL_VGA_DEVICE(0x5917, info), /* DT GT1.5 */ \
307 INTEL_VGA_DEVICE(0x5906, info), /* ULT GT1 */ \
308 INTEL_VGA_DEVICE(0x590E, info), /* ULX GT1 */ \
309 INTEL_VGA_DEVICE(0x5902, info), /* DT GT1 */ \
310 INTEL_VGA_DEVICE(0x5908, info), /* Halo GT1 */ \
311 INTEL_VGA_DEVICE(0x590B, info), /* Halo GT1 */ \
312 INTEL_VGA_DEVICE(0x590A, info) /* SRV GT1 */
314 #define INTEL_KBL_GT2_IDS(info) \
315 INTEL_VGA_DEVICE(0x5916, info), /* ULT GT2 */ \
316 INTEL_VGA_DEVICE(0x5921, info), /* ULT GT2F */ \
317 INTEL_VGA_DEVICE(0x591E, info), /* ULX GT2 */ \
318 INTEL_VGA_DEVICE(0x5912, info), /* DT GT2 */ \
319 INTEL_VGA_DEVICE(0x591B, info), /* Halo GT2 */ \
320 INTEL_VGA_DEVICE(0x591A, info), /* SRV GT2 */ \
321 INTEL_VGA_DEVICE(0x591D, info) /* WKS GT2 */
323 #define INTEL_KBL_GT3_IDS(info) \
324 INTEL_VGA_DEVICE(0x5923, info), /* ULT GT3 */ \
325 INTEL_VGA_DEVICE(0x5926, info), /* ULT GT3 */ \
326 INTEL_VGA_DEVICE(0x5927, info) /* ULT GT3 */
328 #define INTEL_KBL_GT4_IDS(info) \
329 INTEL_VGA_DEVICE(0x593B, info) /* Halo GT4 */
331 #define INTEL_KBL_IDS(info) \
332 INTEL_KBL_GT1_IDS(info), \
333 INTEL_KBL_GT2_IDS(info), \
334 INTEL_KBL_GT3_IDS(info), \
335 INTEL_KBL_GT4_IDS(info)
337 /* CFL S */
338 #define INTEL_CFL_S_IDS(info) \
339 INTEL_VGA_DEVICE(0x3E90, info), /* SRV GT1 */ \
340 INTEL_VGA_DEVICE(0x3E93, info), /* SRV GT1 */ \
341 INTEL_VGA_DEVICE(0x3E91, info), /* SRV GT2 */ \
342 INTEL_VGA_DEVICE(0x3E92, info), /* SRV GT2 */ \
343 INTEL_VGA_DEVICE(0x3E96, info) /* SRV GT2 */
345 /* CFL H */
346 #define INTEL_CFL_H_IDS(info) \
347 INTEL_VGA_DEVICE(0x3E9B, info), /* Halo GT2 */ \
348 INTEL_VGA_DEVICE(0x3E94, info) /* Halo GT2 */
350 /* CFL U */
351 #define INTEL_CFL_U_IDS(info) \
352 INTEL_VGA_DEVICE(0x3EA6, info), /* ULT GT3 */ \
353 INTEL_VGA_DEVICE(0x3EA7, info), /* ULT GT3 */ \
354 INTEL_VGA_DEVICE(0x3EA8, info), /* ULT GT3 */ \
355 INTEL_VGA_DEVICE(0x3EA5, info) /* ULT GT3 */
357 /* CNL U 2+2 */
358 #define INTEL_CNL_U_GT2_IDS(info) \
359 INTEL_VGA_DEVICE(0x5A52, info), \
360 INTEL_VGA_DEVICE(0x5A5A, info), \
361 INTEL_VGA_DEVICE(0x5A42, info), \
362 INTEL_VGA_DEVICE(0x5A4A, info)
364 /* CNL Y 2+2 */
365 #define INTEL_CNL_Y_GT2_IDS(info) \
366 INTEL_VGA_DEVICE(0x5A51, info), \
367 INTEL_VGA_DEVICE(0x5A59, info), \
368 INTEL_VGA_DEVICE(0x5A41, info), \
369 INTEL_VGA_DEVICE(0x5A49, info), \
370 INTEL_VGA_DEVICE(0x5A71, info), \
371 INTEL_VGA_DEVICE(0x5A79, info)
373 #define INTEL_CNL_IDS(info) \
374 INTEL_CNL_U_GT2_IDS(info), \
375 INTEL_CNL_Y_GT2_IDS(info)
377 #endif /* _I915_PCIIDS_H */