Chameleon

Chameleon Svn Source Tree

Root/trunk/i386/libsaio/ati.c

1/*
2 * ATI Graphics Card Enabler, part of the Chameleon Boot Loader Project
3 *
4 * Copyright 2010 by Islam M. Ahmed Zaid. All rights reserved.
5 *
6 */
7
8#include "config.h"
9#include "ati.h"
10
11#if DEBUG_ATI
12#define DBG(x...)printf(x)
13#else
14#define DBG(x...)msglog(x)
15#endif
16
17/* vals */
18static value_t aty_name;
19static value_t aty_nameparent;
20card_t *card;
21
22static booldoit= false;
23
24static card_config_t card_configs[] = {
25{NULL,0},
26/* OLDController */
27{"Wormy",2},
28{"Alopias",2},
29{"Caretta",1},
30{"Kakapo",3},
31{"Kipunji",4},
32{"Peregrine",2},
33{"Raven",3},
34{"Sphyrna",1},
35/* AMD2400Controller */
36{"Iago",2},
37/* AMD2600Controller */
38{"Hypoprion",2},
39{"Lamna",2},
40/* AMD3800Controller */
41{"Megalodon",3},
42{"Triakis",2},
43/* AMD4600Controller */
44{"Flicker",3},
45{"Gliff",3},
46{"Shrike",3},
47/* AMD4800Controller */
48{"Cardinal",2},
49{"Motmot",2},
50{"Quail",3},
51/* AMD5000Controller */
52{"Douc",2},
53{"Langur",3},
54{"Uakari",4},
55{"Zonalis",6},
56{"Alouatta",4},
57{"Hoolock",1},
58{"Vervet",4},
59{"Baboon",3},
60{"Eulemur",3},
61{"Galago",2},
62{"Colobus",2},
63{"Mangabey",2},
64{"Nomascus",5},
65{"Orangutan",2},
66/* AMD6000Controller */
67{"Pithecia",3},
68{"Bulrushes",6},
69{"Cattail",4},
70{"Hydrilla",5},
71{"Duckweed",4},
72{"Fanwort",4},
73{"Elodea",5},
74{"Kudzu",2},
75{"Gibba",5},
76{"Lotus",3},
77{"Ipomoea",3},
78{"Muskgrass",4},
79{"Juncus",4},
80{"Osmunda", 4},
81{"Pondweed",3},
82{"Spikerush", 4},
83{"Typha", 5},
84/* AMD7000Controller */
85{"Ramen",6},
86{"Tako",6},
87{"Namako",4},
88{"Aji",4},
89{"Buri",4},
90{"Chutoro",5},
91{"Dashimaki",4},
92{"Ebi",5},
93{"Gari",5},
94{"Futomaki",5},
95{"Hamachi",4},
96{"OPM", 5},
97{"Ikura",1},
98{"IkuraS",6},
99{"Junsai",6},
100{"Kani",1},
101{"KaniS",6},
102{"DashimakiS",4},
103{"Maguro",1},
104{"MaguroS",6},
105/* AMD8000Controller */
106{"Baladi", 6},
107/* AMD9000Controller */
108{"Exmoor",6},
109{"MalteseS",1},
110{"Lagotto",4},
111{"GreyhoundS",1},
112{"Maltese",6},
113{"Basset",4},
114{"Greyhound",6},
115{"Labrador",6},
116/* AMD9500Controller */
117{"Elqui",5},
118{"Acre",3},
119{"Berbice",5},
120{"Caroni",5},
121{"Florin",6},
122{"Dayman",6},
123{"Guariba",6}
124};
125
126static radeon_card_info_t radeon_cards[] = {
127
128// Earlier cards are not supported
129//
130// Layout is device_id, subsys_id (subsystem id plus vendor id), chip_family_name, display name, frame buffer
131// Cards are grouped by device id and vendor id then sorted by subsystem id to make it easier to add new cards
132//
133/*
134{ 0x9400,0x01611043, CHIP_FAMILY_R600,"ATI Radeon HD 2900 XT", kNull},
135{ 0x9400,0x021E1043, CHIP_FAMILY_R600,"ATI Radeon HD 2900 XT", kNull},
136{ 0x9400,0x25521002, CHIP_FAMILY_R600,"ATI Radeon HD 2900 XT", kNull},
137{ 0x9400,0x30001002, CHIP_FAMILY_R600,"ATI Radeon HD 2900 PRO", kNull},
138{ 0x9400,0x31421002, CHIP_FAMILY_R600,"ATI Radeon HD 2900 XT", kNull},
139
140{ 0x9440,0x05021002, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
141{ 0x9440,0x0851174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
142{ 0x9440,0x114A174B, CHIP_FAMILY_RV770,"Sapphire Radeon HD4870 Vapor-X", kCardinal},
143{ 0x9440,0x24401682, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
144{ 0x9440,0x24411682, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
145{ 0x9440,0x24441682, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
146{ 0x9440,0x24451682, CHIP_FAMILY_RV770,"ATI Radeon HD 4870", kMotmot},
147
148{ 0x9441,0x02601043, CHIP_FAMILY_RV770,"ASUS EAH4870x2", kMotmot},
149{ 0x9441,0x02841043, CHIP_FAMILY_RV770,"ASUS EAH4870x2", kMotmot},
150{ 0x9441,0x24401682, CHIP_FAMILY_RV770,"ATI Radeon HD 4870 X2", kMotmot},
151{ 0x9441,0x25421002, CHIP_FAMILY_RV770,"PowerColor HD 4870 X2", kMotmot},
152
153{ 0x9442,0x05021002, CHIP_FAMILY_RV770,"MSI R4850-T2D512", kMotmot},
154{ 0x9442,0x080110B0, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
155{ 0x9442,0x24701682, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
156{ 0x9442,0x24711682, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
157{ 0x9442,0xE104174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
158{ 0x9442,0xE810174B, CHIP_FAMILY_RV770,"Sapphire HD 4850", kMotmot},
159
160{ 0x944A,0x02A21028, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
161{ 0x944A,0x30001043, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
162{ 0x944A,0x30001458, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
163{ 0x944A,0x30001462, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
164{ 0x944A,0x30001545, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
165{ 0x944A,0x30001682, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
166{ 0x944A,0x3000174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
167{ 0x944A,0x30001787, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
168{ 0x944A,0x300017AF, CHIP_FAMILY_RV770,"ATI Radeon HD 4850", kMotmot},
169
170{ 0x944C,0x05021002, CHIP_FAMILY_RV770,"ATI Radeon HD 4830", kMotmot},
171{ 0x944C,0x20031787, CHIP_FAMILY_RV770,"ATI Radeon HD 4830", kMotmot},
172{ 0x944C,0x24801682, CHIP_FAMILY_RV770,"ATI Radeon HD 4830", kMotmot},
173{ 0x944C,0x24811682, CHIP_FAMILY_RV770,"ATI Radeon HD 4830", kMotmot},
174
175{ 0x944E,0x30001787, CHIP_FAMILY_RV770,"ATI Radeon HD 4730", kMotmot},
176{ 0x944E,0x30101787, CHIP_FAMILY_RV770,"ATI Radeon HD 4810", kMotmot},
177{ 0x944E,0x31001787, CHIP_FAMILY_RV770,"ATI Radeon HD 4820", kMotmot},
178{ 0x944E,0x3260174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4810", kMotmot},
179{ 0x944E,0x3261174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4810", kMotmot},
180
181{ 0x9460,0x27021682, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
182{ 0x9460,0xE115174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
183{ 0x9460,0xE118174B, CHIP_FAMILY_RV770,"ATI Radeon HD 4890", kMotmot},
184
185{ 0x9480,0x01211025, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kGliff},
186 { 0x9480,0x03111025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
187 { 0x9480,0x03121025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
188 { 0x9480,0x031C1025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
189 { 0x9480,0x031D1025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
190 { 0x9480,0x036C1025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
191 { 0x9480,0x036D1025, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
192{ 0x9480,0x3628103C, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kGliff},
193{ 0x9480,0x9035104D, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kGliff},
194{ 0x9480,0xFD001179, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kPeregrine},
195{ 0x9480,0xFDD01179, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kPeregrine},
196{ 0x9480,0xFD121179, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kPeregrine},
197{ 0x9480,0xFD501179, CHIP_FAMILY_RV730,"ATI Radeon HD 4650M", kPeregrine},
198{ 0x9480,0xFF001179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
199{ 0x9480,0xFF151179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
200{ 0x9480,0xFF221179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
201{ 0x9480,0xFF501179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
202{ 0x9480,0xFF801179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
203{ 0x9480,0xFF821179, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
204{ 0x9480,0xFFA01179, CHIP_FAMILY_RV730,"ATI Radeon HD 4600M", kPeregrine},
205{ 0x9480,0xFFA21179, CHIP_FAMILY_RV730,"ATI Radeon HD 5165M", kPeregrine},
206
207{ 0x9490,0x20031787, CHIP_FAMILY_RV730,"ATI Radeon HD 4670", kFlicker},
208{ 0x9490,0x25421028, CHIP_FAMILY_RV730,"ATI Radeon HD 4670", kFlicker},
209{ 0x9490,0x30501787, CHIP_FAMILY_RV730,"ATI Radeon HD 4710", kPeregrine},
210{ 0x9490,0x300017AF, CHIP_FAMILY_RV730,"ATI Radeon HD 4710", kPeregrine},
211{ 0x9490,0x4710174B, CHIP_FAMILY_RV730,"ATI Radeon HD 4710", kPeregrine},
212
213{ 0x9498,0x10001043, CHIP_FAMILY_RV730,"ASUS EAHG4670", kPeregrine},
214{ 0x9498,0x20091787, CHIP_FAMILY_RV730,"ATI Radeon HD 4650", kPeregrine},
215{ 0x9498,0x21CF1458, CHIP_FAMILY_RV730,"ATI Radeon HD 4600", kPeregrine},
216{ 0x9498,0x24511682, CHIP_FAMILY_RV730,"ATI Radeon HD 4650", kPeregrine},
217{ 0x9498,0x24521682, CHIP_FAMILY_RV730,"ATI Radeon HD 4650", kPeregrine},
218{ 0x9498,0x24541682, CHIP_FAMILY_RV730,"ATI Radeon HD 4650", kPeregrine},
219{ 0x9498,0x29331682, CHIP_FAMILY_RV730,"ATI Radeon HD 4670", kPeregrine},
220{ 0x9498,0x29341682, CHIP_FAMILY_RV730,"ATI Radeon HD 4670", kPeregrine},
221{ 0x9498,0x30501787, CHIP_FAMILY_RV730,"ATI Radeon HD 4700", kPeregrine},
222{ 0x9498,0x31001787, CHIP_FAMILY_RV730,"ATI Radeon HD 4720", kPeregrine},
223
224{ 0x94B3,0x0D001002, CHIP_FAMILY_RV740,"ATI Radeon HD 4770", kFlicker},
225{ 0x94B3,0x1170174B, CHIP_FAMILY_RV740,"ATI Radeon HD 4770", kFlicker},
226{ 0x94B3,0x29001682, CHIP_FAMILY_RV740,"ATI Radeon HD 4770", kFlicker},
227
228{ 0x94C1,0x0D021002, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
229{ 0x94C1,0x10021002, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Pro", kNull},
230{ 0x94C1,0x0D021028, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
231{ 0x94C1,0x21741458, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
232{ 0x94C1,0x10331462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
233{ 0x94C1,0x10401462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
234{ 0x94C1,0x11101462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 XT", kNull},
235
236{ 0x94C3,0x03421002, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
237{ 0x94C3,0x01011A93, CHIP_FAMILY_RV610,"Qimonda Radeon HD 2400 PRO",kNull},
238{ 0x94C3,0x03021028, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
239{ 0x94C3,0x03421002, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
240{ 0x94C3,0x04021028, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
241{ 0x94C3,0x10321462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
242{ 0x94C3,0x10411462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400", kNull},
243{ 0x94C3,0x11041462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400", kNull},
244{ 0x94C3,0x11051462, CHIP_FAMILY_RV610,"ATI Radeon HD 2400", kNull},
245{ 0x94C3,0x203817AF, CHIP_FAMILY_RV610,"ATI Radeon HD 2400", kNull},
246{ 0x94C3,0x216A1458, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
247{ 0x94C3,0x21721458, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
248{ 0x94C3,0x2247148C, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 LE", kNull},
249{ 0x94C3,0x22471787, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 LE", kNull},
250{ 0x94C3,0x30001025, CHIP_FAMILY_RV610,"ATI Radeon HD 2350", kNull},
251{ 0x94C3,0x30001458, CHIP_FAMILY_RV610,"ATI Radeon HD 3410", kNull},
252{ 0x94C3,0x30001462, CHIP_FAMILY_RV610,"ATI Radeon HD 3410", kNull},
253{ 0x94C3,0x3000148C, CHIP_FAMILY_RV610,"ATI Radeon HD 2350", kNull},
254{ 0x94C3,0x30001642, CHIP_FAMILY_RV610,"ATI Radeon HD 3410", kNull},
255{ 0x94C3,0x3000174B, CHIP_FAMILY_RV610,"ATI Radeon HD 2350", kNull},
256{ 0x94C3,0x30001787, CHIP_FAMILY_RV610,"ATI Radeon HD 2350", kNull},
257{ 0x94C3,0x37161642, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
258{ 0x94C3,0x94C31002, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
259{ 0x94C3,0xE370174B, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
260{ 0x94C3,0xE400174B, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO", kNull},
261
262{ 0x9501,0x25421002, CHIP_FAMILY_RV670,"ATI Radeon HD 3870", kNull},
263{ 0x9501,0x30001002, CHIP_FAMILY_RV670,"ATI Radeon HD 3690", kNull},
264{ 0x9501,0x3000174B, CHIP_FAMILY_RV670,"Sapphire Radeon HD 3690", kNull},
265{ 0x9501,0x30001787, CHIP_FAMILY_RV670,"ATI Radeon HD 3690", kNull},
266{ 0x9501,0x4750174B, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
267
268{ 0x9505,0x024A1043, CHIP_FAMILY_RV670,"ASUS MA 3850", kNull},
269{ 0x9505,0x25421002, CHIP_FAMILY_RV670,"ATI Radeon HD 3850", kNull},
270{ 0x9505,0x30001002, CHIP_FAMILY_RV630,"ATI Radeon HD 3690", kNull},
271{ 0x9505,0x3000148C, CHIP_FAMILY_RV670,"ATI Radeon HD 3850", kNull},
272{ 0x9505,0x3000174B, CHIP_FAMILY_RV670,"Sapphire Radeon HD 3690", kNull},
273{ 0x9505,0x30001787, CHIP_FAMILY_RV630,"ATI Radeon HD 3690", kNull},
274{ 0x9505,0x30011043, CHIP_FAMILY_RV670,"ATI Radeon HD 4730", kNull},
275{ 0x9505,0x3001148C, CHIP_FAMILY_RV670,"ATI Radeon HD 4730", kNull},
276{ 0x9505,0x3001174B, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
277{ 0x9505,0x3002148C, CHIP_FAMILY_RV670,"ATI Radeon HD 4730", kNull},
278{ 0x9505,0x3003148C, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
279{ 0x9505,0x3004148C, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
280{ 0x9505,0x3010174B, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
281{ 0x9505,0x301017AF, CHIP_FAMILY_RV670,"ATI Radeon HD 4750", kNull},
282{ 0x9505,0x4730174B, CHIP_FAMILY_RV670,"ATI Radeon HD 4730", kNull},
283{ 0x9505,0xE630174B, CHIP_FAMILY_RV670,"ATI Radeon HD 3800 Series", kNull},
284
285{ 0x9540,0x30501787, CHIP_FAMILY_RV710,"ATI Radeon HD 4590", kPeregrine},
286{ 0x9540,0x4590174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4590", kPeregrine},
287
288{ 0x954F,0x16131462, CHIP_FAMILY_RV710,"ATI Radeon HD 4550", kPeregrine},
289{ 0x954F,0x20081787, CHIP_FAMILY_RV710,"ATI Radeon HD 4350", kPeregrine},
290{ 0x954F,0x29201682, CHIP_FAMILY_RV710,"ATI Radeon HD 4550", kPeregrine},
291{ 0x954F,0x29211682, CHIP_FAMILY_RV710,"ATI Radeon HD 4550", kPeregrine},
292{ 0x954F,0x3000174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4520", kPeregrine},
293{ 0x954F,0x301017AF, CHIP_FAMILY_RV710,"ATI Radeon HD 4450", kPeregrine},
294{ 0x954F,0x30501787, CHIP_FAMILY_RV710,"ATI Radeon HD 4450", kPeregrine},
295{ 0x954F,0x30901682, CHIP_FAMILY_RV710,"XFX Radeon HD 4570", kPeregrine},
296{ 0x954F,0x31001787, CHIP_FAMILY_RV710,"ATI Radeon HD 4520", kPeregrine},
297{ 0x954F,0x4450174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4450", kPeregrine},
298{ 0x954F,0x4570174B, CHIP_FAMILY_RV710,"Sapphire Radeon HD 4570", kPeregrine},
299{ 0x954F,0x66661043, CHIP_FAMILY_RV710,"ASUS EAH4550", kPeregrine},
300{ 0x954F,0xE990174B, CHIP_FAMILY_RV710,"Sapphire Radeon HD 4350", kPeregrine},
301
302{ 0x9552,0x04341028, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4330", kShrike},
303{ 0x9552,0x21AC1458, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
304{ 0x9552,0x21ED1458, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
305{ 0x9552,0x308B103C, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4330", kShrike},
306{ 0x9552,0x3000148C, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
307{ 0x9552,0x3000174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
308{ 0x9552,0x30001787, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
309{ 0x9552,0x300017AF, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500", kPeregrine},
310{ 0x9552,0x44721545, CHIP_FAMILY_RV710,"VisionTek Radeon 4350", kPeregrine},
311
312{ 0x9553,0x18751043, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4570",kShrike},
313{ 0x9553,0x1B321043, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4570",kShrike},
314{ 0x9553,0x215B17AA, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4530/4570",kShrike},
315{ 0x9553,0x3092174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500 Series",kPeregrine},
316{ 0x9553,0x3629103C, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4530", kShrike},
317{ 0x9553,0x39291642, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4570",kPeregrine},
318{ 0x9553,0xFD001179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
319{ 0x9553,0xFD121179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
320{ 0x9553,0xFD501179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
321{ 0x9553,0xFD921179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
322{ 0x9553,0xFDD01179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
323{ 0x9553,0xFF001179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
324{ 0x9553,0xFF151179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
325{ 0x9553,0xFF161179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
326{ 0x9553,0xFF221179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
327{ 0x9553,0xFF401179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
328{ 0x9553,0xFF501179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
329{ 0x9553,0xFF801179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
330{ 0x9553,0xFF821179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
331{ 0x9553,0xFFA01179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 5145",kPeregrine},
332{ 0x9553,0xFFA21179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
333{ 0x9553,0xFFC01179, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4500",kPeregrine},
334
335 { 0x9555,0x1726103C, CHIP_FAMILY_RV710,"ATI Radeon HD 4550", kShrike},
336 { 0x9555,0x29241682, CHIP_FAMILY_RV710,"ATI Radeon HD 4550", kShrike},
337{ 0x9555,0x24651682, CHIP_FAMILY_RV710,"ATI Radeon HD4300/HD4500", kShrike},
338{ 0x9555,0x3711174B, CHIP_FAMILY_RV710,"ATI Radeon HD4300/HD4500", kShrike},
339
340{ 0x9581,0x011F1025, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
341{ 0x9581,0x0562107B, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
342{ 0x9581,0x15621043, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
343{ 0x9581,0x3000148C, CHIP_FAMILY_RV630,"ATI Radeon HD 3600", kNull},
344{ 0x9581,0x30C5103C, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
345{ 0x9581,0x3C2D17AA, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
346{ 0x9581,0x63F61462, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
347{ 0x9581,0x95811002, CHIP_FAMILY_RV630,"ATI Radeon HD 3600", kNull},
348{ 0x9581,0xFF001179, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
349{ 0x9581,0xFF011179, CHIP_FAMILY_RV630,"ATI Radeon HD 2600", kNull},
350
351{ 0x9583,0x0083106B, CHIP_FAMILY_RV630,"ATI Mobility Radeon HD 2600 XT",kNull},
352{ 0x9583,0x11071734, CHIP_FAMILY_RV630,"ATI Mobility Radeon HD 2600 XT",kNull},
353{ 0x9583,0x3000148C, CHIP_FAMILY_RV630,"ATI Radeon HD 3600", kNull},
354{ 0x9583,0x30D4103C, CHIP_FAMILY_RV630,"ATI Mobility Radeon HD 2600 XT",kNull},
355
356{ 0x9588,0x01021A93, CHIP_FAMILY_RV630,"Qimonda Radeon HD 2600 XT",kNull},
357
358{ 0x9589,0x01001A93, CHIP_FAMILY_RV630,"Qimonda Radeon HD 2600 PRO",kNull},
359{ 0x9589,0x0E41174B, CHIP_FAMILY_RV630,"ATI Radeon HD 3600", kNull},
360{ 0x9589,0x30001462, CHIP_FAMILY_RV630,"ATI Radeon HD 3610", kNull},
361{ 0x9589,0x30001642, CHIP_FAMILY_RV630,"ATI Radeon HD 3610", kNull},
362{ 0x9589,0x30001787, CHIP_FAMILY_RV630,"ATI Radeon HD 3600", kNull},
363
364{ 0x9591,0x15453992, CHIP_FAMILY_RV635,"ATI Radeon HD 3600", kNull},
365{ 0x9591,0x2303148C, CHIP_FAMILY_RV635,"VisionTek Radeon HD 2600/3600 Series", kNull},
366
367{ 0x9598,0xB3831002, CHIP_FAMILY_RV635,"ATI All-in-Wonder HD", kNull},
368{ 0x9598,0x30001043, CHIP_FAMILY_RV635,"ATI Radeon HD 3730", kNull},
369{ 0x9598,0x3000148C, CHIP_FAMILY_RV635,"ATI Radeon HD 3730", kNull},
370{ 0x9598,0x30001545, CHIP_FAMILY_RV635,"VisionTek Radeon HD 2600 XT",kNull},
371{ 0x9598,0x3000174B, CHIP_FAMILY_RV635,"Sapphire Radeon HD 3730", kNull},
372{ 0x9598,0x30011043, CHIP_FAMILY_RV635,"ATI Radeon HD 4570", kNull},
373{ 0x9598,0x3001148C, CHIP_FAMILY_RV635,"ATI Radeon HD 4580", kNull},
374{ 0x9598,0x3031148C, CHIP_FAMILY_RV635,"ATI Radeon HD 4570", kNull},
375{ 0x9598,0x30011545, CHIP_FAMILY_RV635,"VisionTek Radeon HD 2600 Pro",kNull},
376{ 0x9598,0x3001174B, CHIP_FAMILY_RV635,"Sapphire Radeon HD 3750", kNull},
377{ 0x9598,0x300117AF, CHIP_FAMILY_RV635,"ATI Radeon HD 3750", kNull},
378{ 0x9598,0x301017AF, CHIP_FAMILY_RV635,"ATI Radeon HD 4570", kNull},
379{ 0x9598,0x301117AF, CHIP_FAMILY_RV635,"ATI Radeon HD 4580", kNull},
380{ 0x9598,0x30501787, CHIP_FAMILY_RV635,"ATI Radeon HD 4610", kNull},
381{ 0x9598,0x4570174B, CHIP_FAMILY_RV635,"ATI Radeon HD 4570", kNull},
382{ 0x9598,0x4580174B, CHIP_FAMILY_RV635,"ATI Radeon HD 4580", kNull},
383{ 0x9598,0x4610174B, CHIP_FAMILY_RV635,"ATI Radeon HD 4610", kNull},
384
385{ 0x95C0,0x3000148C, CHIP_FAMILY_RV620,"ATI Radeon HD 3550", kNull},
386{ 0x95C0,0x3000174B, CHIP_FAMILY_RV620,"Sapphire Radeon HD 3550", kNull},
387{ 0x95C0,0x3002174B, CHIP_FAMILY_RV620,"ATI Radeon HD 3570", kNull},
388{ 0x95C0,0x3020174B, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
389{ 0x95C0,0xE3901745, CHIP_FAMILY_RV620,"ATI Radeon HD 3550", kNull},
390
391{ 0x95C5,0x01041A93, CHIP_FAMILY_RV620,"Qimonda Radeon HD 3450", kNull},
392{ 0x95C5,0x01051A93, CHIP_FAMILY_RV620,"Qimonda Radeon HD 3450", kNull},
393{ 0x95C5,0x3000148C, CHIP_FAMILY_RV620,"ATI Radeon HD 3450", kNull},
394{ 0x95C5,0x3001148C, CHIP_FAMILY_RV620,"ATI Radeon HD 3550", kNull},
395{ 0x95C5,0x3002148C, CHIP_FAMILY_RV620,"ATI Radeon HD 4230", kNull},
396{ 0x95C5,0x3003148C, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
397{ 0x95C5,0x3010174B, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
398{ 0x95C5,0x301017AF, CHIP_FAMILY_RV620,"ATI Radeon HD 4230", kNull},
399{ 0x95C5,0x3032148C, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
400{ 0x95C5,0x3033148C, CHIP_FAMILY_RV620,"ATI Radeon HD 4230", kNull},
401{ 0x95C5,0x30501787, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
402{ 0x95C5,0x4250174B, CHIP_FAMILY_RV620,"ATI Radeon HD 4250", kNull},
403
404{ 0x95CF,0x21431002, CHIP_FAMILY_RV620,"ATI FirePro 2260", kIago}},
405
406// Evergreen //
407{ 0x6898,0x00D0106B, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kLangur},
408{ 0x6898,0x032E1043, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kUakari},
409{ 0x6898,0x038C1043, CHIP_FAMILY_CYPRESS,"ASUS 5870 Eyefinity 6", kNull},
410{ 0x6898,0x0B001002, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kZonalis},
411{ 0x6898,0x21E51458, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kUakari},
412{ 0x6898,0x29611682, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kUakari},
413{ 0x6898,0xE140174B, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870", kUakari},
414
415{ 0x6899,0x200A1787, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5850", kUakari},
416{ 0x6899,0x21E41458, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5850", kUakari},
417{ 0x6899,0x22901787, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5850", kUakari},
418{ 0x6899,0xE140174B, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5850", kUakari},
419{ 0x6899,0xE174174B, CHIP_FAMILY_CYPRESS,"ATI Sapphire Radeon HD 5850", kUakari},
420
421{ 0x689C,0x034A1043, CHIP_FAMILY_HEMLOCK,"ATI Radeon HD 5970", kUakari},
422{ 0x689C,0x03521043, CHIP_FAMILY_HEMLOCK,"ASUS ARES", kUakari},
423{ 0x689C,0x039E1043, CHIP_FAMILY_HEMLOCK,"ASUS EAH5870", kUakari},
424{ 0x689C,0x25421002, CHIP_FAMILY_HEMLOCK,"ATI Radeon HD 5970", kUakari},
425{ 0x689C,0x30201682, CHIP_FAMILY_HEMLOCK,"ATI Radeon HD 5970", kUakari},
426
427{ 0x68A0,0x03081025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5830",kNomascus},
428{ 0x68A0,0x030A1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5830",kNomascus},
429{ 0x68A0,0x043A1028, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5870",kNomascus},
430
431{ 0x68A1,0x03081025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
432{ 0x68A1,0x030A1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
433{ 0x68A1,0x03671025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
434{ 0x68A1,0x03681025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
435{ 0x68A1,0x038B1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
436{ 0x68A1,0x038C1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
437{ 0x68A1,0x042E1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
438{ 0x68A1,0x042F1025, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
439{ 0x68A1,0x144D103C, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kNomascus},
440{ 0x68A1,0x1522103C, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
441{ 0x68A1,0x22411462, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
442{ 0x68A1,0x39961462, CHIP_FAMILY_JUNIPER,"ATI Mobility Radeon HD 5850",kHoolock},
443
444{ 0x68A8,0x04421025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
445{ 0x68A8,0x04511025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
446{ 0x68A8,0x048F1028, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6870M", kHoolock},
447{ 0x68A8,0x04901028, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6870M", kHoolock},
448{ 0x68A8,0x04B91028, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6870M", kHoolock},
449{ 0x68A8,0x04BA1028, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6870M", kHoolock},
450{ 0x68A8,0x050A1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
451{ 0x68A8,0x050B1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
452{ 0x68A8,0x050C1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
453{ 0x68A8,0x050E1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
454{ 0x68A8,0x050F1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
455{ 0x68A8,0x05131025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
456{ 0x68A8,0x05141025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
457{ 0x68A8,0x05151025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
458{ 0x68A8,0x05161025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
459{ 0x68A8,0x05251025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
460{ 0x68A8,0x05261025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
461{ 0x68A8,0x056D1025, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
462{ 0x68A8,0x159B103C, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
463{ 0x68A8,0xC0AD144D, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6850M", kUakari},
464
465{ 0x68B8,0x00CF106B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kHoolock},
466{ 0x68B8,0x0044144D, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6770", kVervet},
467{ 0x68B8,0x1482174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
468{ 0x68B8,0x200A1787, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
469{ 0x68B8,0x200B1787, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
470{ 0x68B8,0x21D71458, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
471{ 0x68B8,0x21F61458, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
472{ 0x68B8,0x22881787, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
473{ 0x68B8,0x25431002, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
474{ 0x68B8,0x25431458, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
475{ 0x68B8,0x29901682, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
476{ 0x68B8,0x29911682, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
477{ 0x68B8,0x30001002, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6700", kVervet},
478{ 0x68B8,0x6880103C, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
479{ 0x68B8,0x6881103C, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6770", kVervet},
480{ 0x68B8,0xE144174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kHoolock},
481{ 0x68B8,0xE147174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
482{ 0x68B8,0xE160174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770", kVervet},
483{ 0x68B8,0xEA60174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6770", kVervet},
484
485{ 0x68BA,0x03FE1043, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
486{ 0x68BA,0x1482174B, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
487{ 0x68BA,0x174B1482, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
488{ 0x68BA,0x200A1787, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
489{ 0x68BA,0x21421462, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
490{ 0x68BA,0x25431458, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
491{ 0x68BA,0x31501682, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
492{ 0x68BA,0x31521682, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
493{ 0x68BA,0x31531682, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
494{ 0x68BA,0xE144174B, CHIP_FAMILY_JUNIPER,"AMD Radeon HD 6770", kVervet},
495
496{ 0x68BE,0x200A1787, CHIP_FAMILY_JUNIPER,"HIS ATI 5750", kVervet},
497{ 0x68BE,0x22881787, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5750", kVervet},
498{ 0x68BE,0x3000148C, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kNull},
499{ 0x68BE,0x3000174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kNull},
500{ 0x68BE,0x300017AF, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kNull},
501{ 0x68BE,0x39821642, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kNull},
502
503{ 0x68BF,0x220E1458, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kVervet},
504{ 0x68BF,0x3000148C, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kVervet},
505{ 0x68BF,0x31401682, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kVervet},
506{ 0x68BF,0x6750174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kVervet},
507{ 0x68BF,0xE144174B, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750", kHoolock},
508
509{ 0x68C0,0x1594103C, CHIP_FAMILY_REDWOOD,"AMD Radeon HD 6570M", kNull},
510{ 0x68C0,0x392717AA, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5730",kNull},
511{ 0x68C0,0x395217AA, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5730",kNull},
512{ 0x68C0,0x84721043, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5000",kNull},
513
514{ 0x68C1,0x02051025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
515{ 0x68C1,0x02961025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
516{ 0x68C1,0x030A1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
517{ 0x68C1,0x033D1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
518{ 0x68C1,0x033E1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
519{ 0x68C1,0x03471025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
520{ 0x68C1,0x03561025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
521{ 0x68C1,0x03581025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
522{ 0x68C1,0x035A1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
523{ 0x68C1,0x035C1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
524{ 0x68C1,0x03641025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
525{ 0x68C1,0x036D1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
526{ 0x68C1,0x03791025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
527{ 0x68C1,0x037E1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
528{ 0x68C1,0x03821025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5750",kNull},
529{ 0x68C1,0x04121025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
530{ 0x68C1,0x042E1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
531{ 0x68C1,0x042F1025, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kNull},
532{ 0x68C1,0x9071104D, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
533{ 0x68C1,0x1449103C, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
534{ 0x68C1,0xFD001179, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
535{ 0x68C1,0xFD121179, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
536{ 0x68C1,0xFD501179, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
537{ 0x68C1,0xFDD01179, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5650",kEulemur},
538
539{ 0x68C8,0x2306103C, CHIP_FAMILY_REDWOOD,"ATI FirePro V4800 (FireGL)",kNull},
540{ 0x68C8,0x240A1002, CHIP_FAMILY_REDWOOD,"ATI FirePro V4800 (FireGL)",kNull},
541{ 0x68C8,0x240A1028, CHIP_FAMILY_REDWOOD,"ATI FirePro V4800 (FireGL)",kNull},
542
543{ 0x68D8,0x03561043, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kBaboon},
544{ 0x68D8,0x03C01043, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kNull},
545{ 0x68D8,0x20091787, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kNull},
546{ 0x68D8,0x200B1787, CHIP_FAMILY_REDWOOD,"HIS ATI HD5670 XT Redwood ICEQ", kBaboon}, // catalinz
547{ 0x68D8,0x21D91458, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kBaboon},
548{ 0x68D8,0x21F41458, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kNull},
549{ 0x68D8,0x22051462, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
550{ 0x68D8,0x22941787, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
551{ 0x68D8,0x30001787, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5730", kNull},
552{ 0x68D8,0x301017AF, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5730", kNull},
553{ 0x68D8,0x301117AF, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
554{ 0x68D8,0x30601682, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
555{ 0x68D8,0x30651682, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
556{ 0x68D8,0x56701545, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
557{ 0x68D8,0x5690174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5690", kNull},
558{ 0x68D8,0x5730174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5730", kNull},
559{ 0x68D8,0x68E01028, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kBaboon},
560{ 0x68D8,0xE151174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kEulemur},
561{ 0x68D8,0xE155174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kNull},
562{ 0x68D8,0xE166174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670", kUakari},
563
564{ 0x68D9,0x03CE1043, CHIP_FAMILY_REDWOOD,"ASUS EAH5550 series", kNull},
565{ 0x68D9,0x22401462, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5570", kNull},
566{ 0x68D9,0x3000148C, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 6510", kNull},
567{ 0x68D9,0x3000174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 6510", kNull},
568{ 0x68D9,0x301017AF, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5630", kNull},
569{ 0x68D9,0x39691642, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5570", kNull},
570
571{ 0x68DA,0x3000148C, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 6390", kNull},
572{ 0x68DA,0x3000174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 6390", kNull},
573{ 0x68DA,0x30001787, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5630", kNull},
574{ 0x68DA,0x300017AF, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 6390", kNull},
575{ 0x68DA,0x301017AF, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5630", kNull},
576{ 0x68DA,0x5630174B, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5630", kNull},
577
578{ 0x68E0,0x02931025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
579{ 0x68E0,0x03581025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
580{ 0x68E0,0x03591025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
581{ 0x68E0,0x035C1025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
582{ 0x68E0,0x035D1025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
583{ 0x68E0,0x036D1025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kLangur },
584{ 0x68E0,0x04471028, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
585{ 0x68E0,0x04561028, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
586{ 0x68E0,0x04831025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
587{ 0x68E0,0x1433103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
588{ 0x68E0,0x1441103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
589{ 0x68E0,0x144A103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
590{ 0x68E0,0x1BF21043, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kNull },
591{ 0x68E0,0x848F1043, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kNull },
592{ 0x68E0,0xFD001179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
593{ 0x68E0,0xFD121179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
594{ 0x68E0,0xFD501179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
595{ 0x68E0,0xFD921179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
596{ 0x68E0,0xFDD01179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
597
598{ 0x68E1,0x04661028, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
599{ 0x68E1,0x10021B61, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450M", kEulemur},
600{ 0x68E1,0x10501462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
601{ 0x68E1,0x1426103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
602{ 0x68E1,0x142A103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 545vM", kEulemur},
603{ 0x68E1,0x14E110CF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5400M", kEulemur},
604{ 0x68E1,0x21D81458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
605{ 0x68E1,0x21E21458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
606{ 0x68E1,0x21F11458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
607{ 0x68E1,0x22021458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
608{ 0x68E1,0x23421462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
609{ 0x68E1,0x23431462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
610{ 0x68E1,0x25481458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5400M Series", kEulemur},
611{ 0x68E1,0x254A1458, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5000M Series", kEulemur},
612{ 0x68E1,0x30001043, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
613{ 0x68E1,0x3000148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
614{ 0x68E1,0x30001682, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
615{ 0x68E1,0x3000174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
616{ 0x68E1,0x30001787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur}, // 5430M ???
617{ 0x68E1,0x300017AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
618{ 0x68E1,0x3001148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
619{ 0x68E1,0x301417AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kEulemur},
620{ 0x68E1,0x3002148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
621 { 0x68E1,0x3003148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450M", kEulemur},
622{ 0x68E1,0x54501545, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
623{ 0x68E1,0x5470174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470M", kEulemur},
624{ 0x68E1,0x60001092, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
625{ 0x68E1,0x60001682, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
626{ 0x68E1,0x6000174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
627{ 0x68E1,0x6230174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kEulemur},
628{ 0x68E1,0x6350174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kEulemur},
629{ 0x68E1,0xFDD01179, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5430M", kEulemur},
630
631{ 0x68E4,0x04821025, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6370M", kNull},
632{ 0x68E4,0x1426103C, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6370M", kNull},
633{ 0x68E4,0x1C921043, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6370M", kNull},
634{ 0x68E4,0x397917AA, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6370M", kNull},
635{ 0x68E4,0x397F17AA, CHIP_FAMILY_CEDAR,"AMD Radeon HD 7370M", kNull},
636{ 0x68E4,0x84A01043, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6370M", kNull},
637
638{ 0x68F9,0x00011019, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
639{ 0x68F9,0x00021019, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
640{ 0x68F9,0x00191019, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
641{ 0x68F9,0x010E1002, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
642{ 0x68F9,0x010E1028, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
643{ 0x68F9,0x03741043, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
644{ 0x68F9,0x03CA1043, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
645{ 0x68F9,0x05181025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
646{ 0x68F9,0x05191025, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
647{ 0x68F9,0x174B3000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6230", kNull},
648{ 0x68F9,0x174B6250, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6250", kNull},
649{ 0x68F9,0x174B6290, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6290", kNull},
650{ 0x68F9,0x174BE164, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
651{ 0x68F9,0x20091787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
652{ 0x68F9,0x21261028, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
653{ 0x68F9,0x2126103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
654{ 0x68F9,0x21301462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
655{ 0x68F9,0x21311462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
656{ 0x68F9,0x21331462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kEulemur},
657{ 0x68F9,0x21801462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
658{ 0x68F9,0x21811462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
659{ 0x68F9,0x21821462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
660{ 0x68F9,0x21831462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
661{ 0x68F9,0x22911787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
662{ 0x68F9,0x22301462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
663{ 0x68F9,0x22311462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
664{ 0x68F9,0x23401462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
665{ 0x68F9,0x24951462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
666{ 0x68F9,0x2AAC103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
667{ 0x68F9,0x2AEC103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
668{ 0x68F9,0x30001787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470", kNull},
669{ 0x68F9,0x300017AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6250", kNull},
670{ 0x68F9,0x3001148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6250", kNull},
671{ 0x68F9,0x30011787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5530", kNull},
672{ 0x68F9,0x3002148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6290", kNull},
673{ 0x68F9,0x30021787, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5490", kNull},
674{ 0x68F9,0x300217AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6290", kNull},
675{ 0x68F9,0x3003148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6230", kNull},
676{ 0x68F9,0x301117AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470", kNull},
677{ 0x68F9,0x301217AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5490", kNull},
678{ 0x68F9,0x301317AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470", kNull},
679{ 0x68F9,0x301417AF, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
680{ 0x68F9,0x30321682, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450",kEulemur},
681{ 0x68F9,0x303A1682, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450",kEulemur},
682{ 0x68F9,0x3580103C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
683{ 0x68F9,0x360217AA, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
684{ 0x68F9,0x360317AA, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
685{ 0x68F9,0x360F17AA, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
686{ 0x68F9,0x361917AA, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
687{ 0x68F9,0x39831642, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
688{ 0x68F9,0x39841642, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
689{ 0x68F9,0x39871642, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
690{ 0x68F9,0x3987174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
691{ 0x68F9,0x39971462, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
692{ 0x68F9,0x3A051642, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kNull},
693{ 0x68F9,0x3B311642, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350A", kNull},
694{ 0x68F9,0x5470174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470", kNull},
695{ 0x68F9,0x5490174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5490", kNull},
696{ 0x68F9,0x5530174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5530", kNull},
697{ 0x68F9,0x6230174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6230", kNull},
698{ 0x68F9,0x6350174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6350", kNull},
699{ 0x68F9,0x7350148C, CHIP_FAMILY_CEDAR,"ATI Radeon HD 7350", kNull},
700{ 0x68F9,0xE127174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
701{ 0x68F9,0xE145174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
702{ 0x68F9,0xE153174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
703{ 0x68F9,0xE164174B, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450", kEulemur},
704
705// Northen Islands //
706{ 0x6718,0x03B81043, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
707{ 0x6718,0x03BC1043, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
708{ 0x6718,0x0B001002, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
709{ 0x6718,0x20101458, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
710{ 0x6718,0x20101787, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
711{ 0x6718,0x22001458, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
712{ 0x6718,0x22011458, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
713{ 0x6718,0x23061787, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba}, // HIS
714{ 0x6718,0x23701462, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba}, // MSI
715{ 0x6718,0x24701462, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba}, // MSI
716{ 0x6718,0x31301682, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
717{ 0x6718,0x67181002, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
718{ 0x6718,0xE182174B, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
719{ 0x6718,0xE203174B, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970", kGibba},
720
721{ 0x6719,0x03BE1043, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
722{ 0x6719,0x03D41043, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
723{ 0x6719,0x0B001002, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
724{ 0x6719,0x186B174B, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
725{ 0x6719,0x20101787, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
726{ 0x6719,0x21FD1458, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
727{ 0x6719,0x23071787, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
728{ 0x6719,0x24611462, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
729{ 0x6719,0x31211682, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
730{ 0x6719,0x31221682, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
731{ 0x6719,0xE189174B, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950", kGibba},
732
733//{ 0x671D,0x0B2A1002, CHIP_FAMILY_ANTILLES,"AMD Radeon HD 6990", kNull},
734//{ 0x671D,0x1B2A1002, CHIP_FAMILY_ANTILLES,"AMD Radeon HD 6990", kNull},
735//{ 0x671D,0x31601682, CHIP_FAMILY_ANTILLES,"AMD Radeon HD 6990", kNull},
736
737{ 0x6720,0x048F1028, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
738{ 0x6720,0x04901028, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
739{ 0x6720,0x04A41028, CHIP_FAMILY_BARTS,"AMD FirePro M8900M", kElodea},
740{ 0x6720,0x04B91028, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
741{ 0x6720,0x04BA1028, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
742{ 0x6720,0x51021558, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
743{ 0x6720,0x51041558, CHIP_FAMILY_BARTS,"AMD Radeon HD 6990M", kElodea},
744{ 0x6720,0x71001558, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
745{ 0x6720,0x72001558, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
746{ 0x6720,0x72011558, CHIP_FAMILY_BARTS,"AMD Radeon HD 6990M", kElodea},
747{ 0x6720,0xC0AD144D, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M", kElodea},
748
749{ 0x6738,0x00D01002, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
750{ 0x6738,0x03AE1043, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
751{ 0x6738,0x03C61043, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
752{ 0x6738,0x174B174B, CHIP_FAMILY_BARTS,"Sapphire Radeon HD6870", kBulrushes}, // ?? kDuckweed ??
753{ 0x6738,0x20101787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
754{ 0x6738,0x21FA1002, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
755{ 0x6738,0x21FA1458, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
756{ 0x6738,0x23051787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
757{ 0x6738,0x25101462, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
758{ 0x6738,0x31031682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
759{ 0x6738,0x31041682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
760{ 0x6738,0x31071682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
761{ 0x6738,0x31081682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed}, // ?? kJuncus ??
762{ 0x6738,0x67381002, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
763{ 0x6738,0xE178174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870", kDuckweed},
764
765{ 0x6739,0x03B41043, CHIP_FAMILY_BARTS,"ASUS EAH6850 DirectCU", kDuckweed},
766{ 0x6739,0x174B174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
767{ 0x6739,0x200F1787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
768{ 0x6739,0x21F81458, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kBulrushes},
769{ 0x6739,0x23041787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
770{ 0x6739,0x24001462, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
771{ 0x6739,0x24411462, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
772{ 0x6739,0x25201462, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
773{ 0x6739,0x30001787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
774{ 0x6739,0x31101682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
775{ 0x6739,0x31131682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
776{ 0x6739,0x31141682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
777{ 0x6739,0x31161682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
778{ 0x6739,0x31171682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
779{ 0x6739,0x67391002, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
780{ 0x6739,0xAA881002, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
781{ 0x6739,0xE174174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
782{ 0x6739,0xE177174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
783{ 0x6739,0xE183174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850", kDuckweed},
784
785{ 0x673E,0x174B174B, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790", kNull},
786{ 0x673E,0x23101787, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790", kNull},
787{ 0x673E,0x31701682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790", kNull},
788{ 0x673E,0x31721682, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790", kNull},
789
790{ 0x6740,0x04A31028, CHIP_FAMILY_TURKS,"Dell HD 6770M", kNull}, // ??
791{ 0x6740,0x1D121043, CHIP_FAMILY_TURKS,"AMD Radeon HD 6730M", kNull},
792{ 0x6740,0x1631103C, CHIP_FAMILY_TURKS,"AMD FirePro M5950", kNull},
793{ 0x6740,0x1657103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M", kNull},
794{ 0x6740,0x165A103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M", kNull},
795{ 0x6740,0x3388103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M", kNull},
796{ 0x6740,0x3389103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M", kNull}, // ?? kHydrilla ??
797{ 0x6740,0x6740106B, CHIP_FAMILY_TURKS,"Apple HD 6770M", kNull}, // ??
798
799{ 0x6741,0x050E1025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M", kNull},
800{ 0x6741,0x050F1025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M", kNull},
801{ 0x6741,0x05131025, CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M", kNull},
802{ 0x6741,0x1646103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6750M", kNull},
803{ 0x6741,0x1688103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 7690M", kNull},
804{ 0x6741,0x358D103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6630M/6650M/6750M", kNull},
805 { 0x6741,0x9080104D, CHIP_FAMILY_TURKS,"AMD Radeon HD 6630M", kNull},
806
807{ 0x6758,0x00121028, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
808{ 0x6758,0x0B0E1002, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kPithecia},
809{ 0x6758,0x0B0E1028, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
810{ 0x6758,0x20121787, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kPithecia},
811{ 0x6758,0x20141787, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
812{ 0x6758,0x22051458, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
813{ 0x6758,0x31811682, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
814{ 0x6758,0x31831682, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
815{ 0x6758,0x67581002, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
816{ 0x6758,0x6882103C, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
817{ 0x6758,0xE181174B, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
818{ 0x6758,0xE1941746, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kBulrushes},
819{ 0x6758,0xE194174B, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670", kMangabey},
820
821{ 0x6759,0x20121787, CHIP_FAMILY_TURKS,"AMD Radeon HD 6570", kPithecia},
822{ 0x6759,0x31951682, CHIP_FAMILY_TURKS,"AMD Radeon HD 6570", kGibba},
823{ 0x6759,0x32801682, CHIP_FAMILY_TURKS,"AMD Radeon HD 7570", kPithecia},
824{ 0x6759,0xE193174B, CHIP_FAMILY_TURKS,"AMD Radeon HD 6570", kPithecia},
825
826{ 0x675F,0x23141787, CHIP_FAMILY_TURKS,"AMD Radeon HD 5570", kNull},
827{ 0x675F,0x254B1458, CHIP_FAMILY_TURKS,"AMD Radeon HD 5570", kNull},
828{ 0x675F,0x6510148C, CHIP_FAMILY_TURKS,"AMD Radeon HD 5570", kNull},
829{ 0x675F,0x6510174B, CHIP_FAMILY_TURKS,"AMD Radeon HD 5570", kNull},
830
831{ 0x6760,0x00031179, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450M", kIpomoea},
832{ 0x6760,0x04C11028, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450M", kIpomoea},
833{ 0x6760,0x04CA1028, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450M", kIpomoea},
834{ 0x6760,0x04CC1028, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450M", kIpomoea},
835{ 0x6760,0x101C1043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450M", kIpomoea},
836{ 0x6760,0x165A103C, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6470M", kIpomoea},
837{ 0x6760,0x167D103C, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6470M", kIpomoea},
838{ 0x6760,0x1CB21043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6470M", kIpomoea},
839{ 0x6760,0x20011043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6470M", kIpomoea},
840{ 0x6760,0x85171043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7470M", kNull},
841
842{ 0x6778,0x00241019, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7470", kBulrushes}, // Elitegroup
843{ 0x6778,0x00271019, CHIP_FAMILY_CAICOS,"AMD Radeon HD 8470", kBulrushes}, // Elitegroup
844{ 0x6778,0x21201028, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7470", kBulrushes}, // Dell
845{ 0x6778,0xB4911462, CHIP_FAMILY_CAICOS,"AMD Radeon HD 8470", kBulrushes}, // MSi
846{ 0x6778,0xB4921462, CHIP_FAMILY_CAICOS,"AMD Radeon HD 8470", kBulrushes}, // MSi
847{ 0x6778,0xB4931462, CHIP_FAMILY_CAICOS,"AMD Radeon HD 8470", kBulrushes}, // MSi
848
849{ 0x6779,0x00001002, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
850{ 0x6779,0x03DA1043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
851{ 0x6779,0x03DC1043, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
852{ 0x6779,0x20121787, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
853{ 0x6779,0x21201028, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
854{ 0x6779,0x21251462, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
855{ 0x6779,0x22031458, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
856{ 0x6779,0x22041458, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
857{ 0x6779,0x23111787, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
858{ 0x6779,0x32001682, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
859{ 0x6779,0x64501092, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
860{ 0x6779,0x909D1B0A, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
861{ 0x6779,0xE164174B, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kIpomoea},
862{ 0x6779,0xE180174B, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kPithecia},
863{ 0x6779,0xE190174B, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
864{ 0x6779,0xE199174B, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450", kBulrushes},
865
866// Southen Islands //
867
868{ 0x6798,0x04181043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji },
869{ 0x6798,0x041C1043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji },
870{ 0x6798,0x04201043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
871{ 0x6798,0x04421043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
872{ 0x6798,0x04441043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
873{ 0x6798,0x04461043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
874{ 0x6798,0x04481043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
875{ 0x6798,0x044A1043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
876{ 0x6798,0x044C1043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
877{ 0x6798,0x044E1043, CHIP_FAMILY_TAHITI,"Asus HD7970 7970", kAji},
878{ 0x6798,0x0B001002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
879{ 0x6798,0x201C1787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji}, // 7990 ???
880{ 0x6798,0x23171787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
881{ 0x6798,0x254D1458, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
882{ 0x6798,0x27701462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
883{ 0x6798,0x30001002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
884{ 0x6798,0x30001787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
885{ 0x6798,0x32101682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
886{ 0x6798,0x32111682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
887{ 0x6798,0x32121682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji },
888{ 0x6798,0x32131682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
889{ 0x6798,0x99991043, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7990", kAji}, // Asus
890{ 0x6798,0xE208174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970", kAji},
891
892{ 0x679A,0x04241043, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
893{ 0x679A,0x04261043, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
894{ 0x679A,0x0B001002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
895{ 0x679A,0x0B011002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 8900", kAji},
896{ 0x679A,0x201C1787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
897{ 0x679A,0x23161787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
898{ 0x679A,0x254C1458, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
899{ 0x679A,0x27601462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
900{ 0x679A,0x27711462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
901{ 0x679A,0x30001002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
902{ 0x679A,0x30001462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 8950", kAji},
903{ 0x679A,0x3000174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
904{ 0x679A,0x30001787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
905{ 0x679A,0x32121682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
906{ 0x679A,0x32201682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
907{ 0x679A,0x32211682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
908{ 0x679A,0x32221682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
909{ 0x679A,0x6616103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7950", kAji},
910{ 0x679A,0x30001002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
911{ 0x679A,0x7950174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
912{ 0x679A,0xE207174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
913{ 0x679A,0xE208174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950", kAji},
914
915{ 0x6800,0x03711558, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
916{ 0x6800,0x05501028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
917{ 0x6800,0x05511028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
918{ 0x6800,0x05544028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
919{ 0x6800,0x057B1028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
920{ 0x6800,0x05861028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
921{ 0x6800,0x05871028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
922{ 0x6800,0x05881028, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970M", kDashimaki},
923
924{ 0x6818,0x042F1043, CHIP_FAMILY_TAHITI,"Asus HD 7870", kAji},
925{ 0x6818,0x04311043, CHIP_FAMILY_TAHITI,"Asus HD 7870", kAji},
926{ 0x6818,0x0B041002, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
927{ 0x6818,0x0B051002, CHIP_FAMILY_TAHITI,"ATI Radeon HD 8800", kAji},
928{ 0x6818,0x201C1787, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
929{ 0x6818,0x23211787, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
930{ 0x6818,0x25541458, CHIP_FAMILY_TAHITI,"Gigabyte HD 7870", kAji},
931{ 0x6818,0x27401462, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
932{ 0x6818,0x32501682, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kChutoro},
933{ 0x6818,0x32511682, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
934{ 0x6818,0x7870174B, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
935{ 0x6818,0x8B04174B, CHIP_FAMILY_TAHITI,"ATI Radeon HD 8860", kAji},
936{ 0x6818,0xE217174B, CHIP_FAMILY_TAHITI,"ATI Radeon HD 7870", kAji},
937
938{ 0x6819,0x042C1043, CHIP_FAMILY_TAHITI,"Asus HD 7850", kAji}, // Asus
939{ 0x6819,0x04311043, CHIP_FAMILY_TAHITI,"Asus HD 7850", kAji}, // Asus
940{ 0x6819,0x04331043, CHIP_FAMILY_TAHITI,"Asus HD 7850", kAji}, // Asus
941{ 0x6819,0x043A1043, CHIP_FAMILY_TAHITI,"Asus HD 7850", kAji}, // Asus
942{ 0x6819,0x045B1043, CHIP_FAMILY_TAHITI,"Asus HD 7850", kAji}, // Asus
943{ 0x6819,0x0B041002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // ATI
944{ 0x6819,0x201C1787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // HIS
945{ 0x6819,0x23201787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // HIS
946{ 0x6819,0x25531458, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // Gigabyte
947{ 0x6819,0x27301462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // MSI
948{ 0x6819,0x27311462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // MSI
949{ 0x6819,0x27321462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // MSI
950{ 0x6819,0x32601682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // XFX
951{ 0x6819,0x32621682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // XFX
952{ 0x6819,0x32641682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // XFX
953{ 0x6819,0xE218174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // Sapphire
954{ 0x6819,0xE221174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7850", kAji}, // Sapphire
955
956{ 0x682F,0x15271043, CHIP_FAMILY_TAHITI,"Asus Radeon HD 7700M", kAji},
957{ 0x682F,0x1831103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7730M", kAji},
958{ 0x682F,0x1832103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7730M", kAji},
959{ 0x682F,0x1834103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7730M", kAji},
960{ 0x682F,0x18A7103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7730M", kAji},
961{ 0x682F,0xC0DA144D, CHIP_FAMILY_TAHITI,"Samsung Radeon HD 7730M", kAji},
962
963{ 0x683D,0x00301002, CHIP_FAMILY_TAHITI,"Radeon HD 8760 OEM", kAji}, // VERDE?
964{ 0x683D,0x00301019, CHIP_FAMILY_TAHITI,"Radeon HD 8760 OEM", kAji}, // VERDE?
965{ 0x683D,0x04211043, CHIP_FAMILY_TAHITI,"Asus Radeon HD 7770", kAji},
966{ 0x683D,0x23041002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7700", kAji},
967{ 0x683D,0x25561458, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7770", kAji},
968{ 0x683D,0x27101462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7770", kAji},
969{ 0x683D,0x2B301002, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7770", kAji},
970{ 0x683D,0x32331682, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7770", kAji},
971{ 0x683D,0x6886103C, CHIP_FAMILY_TAHITI,"HP Radeon HD 7700", kAji},
972{ 0x683D,0x6890103C, CHIP_FAMILY_TAHITI,"Radeon HD 8760 OEM", kAji}, // VERDE?
973{ 0x683D,0xE214174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7770", kAji},
974
975{ 0x683F,0x04231043, CHIP_FAMILY_TAHITI,"Asus HD 7750", kChutoro},
976{ 0x683F,0x04271043, CHIP_FAMILY_TAHITI,"Asus HD 7750", kChutoro},
977{ 0x683F,0x04591043, CHIP_FAMILY_TAHITI,"Asus HD 7750", kChutoro},
978{ 0x683F,0x200B1787, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7750", kChutoro},
979{ 0x683F,0x23181787, CHIP_FAMILY_TAHITI,"Vertex3D HD 7750", kChutoro},
980{ 0x683F,0x25511458, CHIP_FAMILY_TAHITI,"Gigabyte HD 7750", kChutoro},
981{ 0x683F,0x27921462, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7750", kChutoro},
982{ 0x683F,0x2B301002, CHIP_FAMILY_TAHITI,"Ati HD 7750", kChutoro},
983{ 0x683F,0x32411682, CHIP_FAMILY_TAHITI,"XFX HD 7750", kChutoro},
984{ 0x683F,0x32421682, CHIP_FAMILY_TAHITI,"XFX HD 7750", kChutoro},
985{ 0x683F,0x32451682, CHIP_FAMILY_TAHITI,"XFX HD 7750", kChutoro},
986{ 0x683F,0xE2131019, CHIP_FAMILY_TAHITI,"Diamond HD 7750", kChutoro},
987{ 0x683F,0xE213174B, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7750", kChutoro},
988{ 0x683F,0xE215174B, CHIP_FAMILY_TAHITI,"Sapphire HD 7750", kChutoro},
989
990{ 0x6840,0x01241002, CHIP_FAMILY_LOMBOK,"AMD Radeon HD 7600M Series", kPondweed },
991{ 0x6840,0x01341002, CHIP_FAMILY_LOMBOK,"AMD Radeon HD 7600M Series", kPondweed },
992{ 0x6840,0x050E1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
993{ 0x6840,0x050F1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
994{ 0x6840,0x05131025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
995{ 0x6840,0x05141025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
996{ 0x6840,0x056D1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
997{ 0x6840,0x059A1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
998{ 0x6840,0x059B1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
999{ 0x6840,0x059E1025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1000{ 0x6840,0x06001025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1001{ 0x6840,0x06061025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1002{ 0x6840,0x06961025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1003{ 0x6840,0x06971025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1004{ 0x6840,0x06981025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1005{ 0x6840,0x06991025, CHIP_FAMILY_LOMBOK,"Acer HD 7670M", kPondweed },
1006{ 0x6840,0x100A1043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1007{ 0x6840,0x104B1043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1008{ 0x6840,0x10DC1043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1009{ 0x6840,0x1813103C, CHIP_FAMILY_LOMBOK,"HP HD 7590M", kPondweed },
1010{ 0x6840,0x182F103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1011{ 0x6840,0x1830103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1012{ 0x6840,0x1835103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1013{ 0x6840,0x183A103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1014{ 0x6840,0x183C103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1015{ 0x6840,0x183E103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1016{ 0x6840,0x1840103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1017{ 0x6840,0x1842103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1018{ 0x6840,0x1844103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1019{ 0x6840,0x1848103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1020{ 0x6840,0x184A103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1021{ 0x6840,0x184C103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1022{ 0x6840,0x1895103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1023{ 0x6840,0x1897103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1024{ 0x6840,0x18A5103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1025{ 0x6840,0x18A7103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1026{ 0x6840,0x18F4103C, CHIP_FAMILY_LOMBOK,"HP HD 7670M", kPondweed },
1027{ 0x6840,0x21211043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1028{ 0x6840,0x21221043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1029{ 0x6840,0x21231043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1030{ 0x6840,0x21251043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1031{ 0x6840,0x21271043, CHIP_FAMILY_LOMBOK,"Asus HD 7670M", kPondweed },
1032{ 0x6840,0x397017AA, CHIP_FAMILY_LOMBOK,"Lenovo HD 7670M", kPondweed },
1033{ 0x6840,0x397B17AA, CHIP_FAMILY_LOMBOK,"Lenovo HD 7670M", kPondweed },
1034{ 0x6840,0xC0C5144D, CHIP_FAMILY_LOMBOK,"Samsung HD 6000M series", kPondweed },
1035{ 0x6840,0xC0CE144D, CHIP_FAMILY_LOMBOK,"Samsung HD 7670M", kPondweed },
1036{ 0x6840,0xC0DA144D, CHIP_FAMILY_LOMBOK,"Samsung HD 7670M", kPondweed },
1037{ 0x6840,0xFB111179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1038{ 0x6840,0xFB221179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1039{ 0x6840,0xFB231179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1040{ 0x6840,0xFB2C1179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1041{ 0x6840,0xFB311179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1042{ 0x6840,0xFB321179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1043{ 0x6840,0xFB381179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1044{ 0x6840,0xFB391179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1045{ 0x6840,0xFB3A1179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1046{ 0x6840,0xFB401179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1047{ 0x6840,0xFB411179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1048{ 0x6840,0xFB471179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1049{ 0x6840,0xFB481179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1050{ 0x6840,0xFB511179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1051{ 0x6840,0xFB521179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1052{ 0x6840,0xFB531179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1053{ 0x6840,0xFB811179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1054{ 0x6840,0xFB821179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1055{ 0x6840,0xFB831179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1056{ 0x6840,0xFC561179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1057{ 0x6840,0xFCD41179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1058{ 0x6840,0xFCEE1179, CHIP_FAMILY_LOMBOK,"Toshiba HD 7670M", kPondweed },
1059*/
1060
1061// KAVERI
1062//{ 0x1304,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1063//{ 0x1305,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1064//{ 0x1306,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1065//{ 0x1307,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1066//{ 0x1309,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1067//{ 0x130A,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1068//{ 0x130B,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1069//{ 0x130C,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1070//{ 0x130D,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1071//{ 0x130E,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1072{ 0x130F,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon R7", kNull },
1073//{ 0x1310,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1074//{ 0x1311,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1075//{ 0x1312,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1076{ 0x1313,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon R7", kNull },
1077//{ 0x1315,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1078{ 0x1316,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon R5", kNull },
1079//{ 0x1317,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull }, // Mobile
1080{ 0x1318,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon R5", kNull }, // Mobile
1081//{ 0x131B,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1082//{ 0x131C,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1083//{ 0x131D,0x00000000, CHIP_FAMILY_KAVERI,"AMD Radeon", kNull },
1084
1085// R423
1086{ 0x5D48, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Mobile ",kNull},
1087{ 0x5D49, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Mobile ",kNull},
1088{ 0x5D4A, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Mobile ",kNull},
1089{ 0x5D4C, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1090{ 0x5D4D, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1091{ 0x5D4E, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1092{ 0x5D4F, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1093{ 0x5D50, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1094{ 0x5D52, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1095{ 0x5D57, 0x00000000, CHIP_FAMILY_R423, "ATI Radeon HD Desktop ",kNull},
1096
1097// RV410
1098{ 0x5E48, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1099{ 0x5E4A, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1100{ 0x5E4B, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1101{ 0x5E4C, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1102{ 0x5E4D, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1103{ 0x5E4F, 0x00000000, CHIP_FAMILY_RV410, "ATI Radeon HD Desktop ",kNull},
1104
1105// OLAND
1106{ 0x6600,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon HD 8600/8700M",kNull }, // Mobile
1107{ 0x6601,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon HD 8500/8700M",kNull }, // Mobile
1108//{ 0x6602,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon",kNull }, // Mobile
1109//{ 0x6603,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon",kNull }, // Mobile
1110{ 0x6604,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R7 M265",kNull }, // Mobile
1111{ 0x6605,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R7 M260",kNull }, // Mobile
1112{ 0x6606,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon HD 8790M",kNull }, // Mobile
1113{ 0x6607,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R5 M240",kNull }, // Mobile
1114{ 0x6608,0x00000000, CHIP_FAMILY_OLAND,"AMD FirePro W2100",kNull },
1115{ 0x6610,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R7 250",kFutomaki },
1116{ 0x6611,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R7 340 Series",kNull },
1117{ 0x6613,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon R7 240",kFutomaki},
1118//{ 0x6620,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon", kNull }, // Mobile
1119//{ 0x6621,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon", kNull }, // Mobile
1120//{ 0x6623,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon", kNull }, // Mobile
1121//{ 0x6631,0x00000000, CHIP_FAMILY_OLAND,"AMD Radeon", kNull },
1122
1123// BONAIRE
1124{ 0x6640,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon HD 8950", kNull }, // Mobile
1125{ 0x6641,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon HD 8930M", kNull }, // Mobile
1126{ 0x6646,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon R9 M280X", kNull }, // Mobile
1127{ 0x6647,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon R9 M270X", kNull }, // Mobile
1128{ 0x6649,0x00000000, CHIP_FAMILY_BONAIRE,"AMD FirePro W5100", kNull },
1129//{ 0x6650,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon", kNull },
1130//{ 0x6651,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon", kNull },
1131{ 0x6658,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon R7 260X", kNull },
1132{ 0x665C,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon HD 7790",kFutomaki},
1133{ 0x665D,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon R9 260",kFutomaki},
1134{ 0x665F,0x00000000, CHIP_FAMILY_BONAIRE,"AMD Radeon R9 360",kFutomaki},
1135
1136// HAINAN
1137{ 0x6660,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon HD 8670M", kNull }, // Mobile
1138{ 0x6663,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon HD 8570M", kNull }, // Mobile
1139{ 0x6664,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon R5 M240", kNull }, // Mobile
1140{ 0x6665,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon R5 M230", kNull }, // Mobile
1141{ 0x6667,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon R5 M230", kNull }, // Mobile
1142{ 0x666F,0x00000000, CHIP_FAMILY_HAINAN,"AMD Radeon HD 8550M", kNull }, // Mobile
1143
1144// CAYMAN
1145{ 0x6701,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1146{ 0x6702,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1147{ 0x6703,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1148{ 0x6704,0x00000000, CHIP_FAMILY_CAYMAN,"AMD FirePro V7900",kLotus},
1149{ 0x6705,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1150{ 0x6706,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1151{ 0x6707,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1152{ 0x6708,0x00000000, CHIP_FAMILY_CAYMAN,"AMD FirePro V5900",kLotus},
1153{ 0x6709,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6xxx Series",kLotus},
1154{ 0x6718,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6970 Series",kLotus},
1155{ 0x6719,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950 Series",kLotus},
1156{ 0x671C,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6990 Series",kLotus},
1157{ 0x671D,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6950 Series",kLotus},
1158{ 0x671F,0x00000000, CHIP_FAMILY_CAYMAN,"AMD Radeon HD 6930 Series",kLotus},
1159
1160// BARTS
1161{ 0x6720,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6970M Series",kFanwort},
1162{ 0x6722,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6900M Series",kFanwort},
1163{ 0x6729,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6900M Series",kFanwort},
1164{ 0x6738,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6870 Series",kDuckweed},
1165{ 0x6739,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6850 X2",kDuckweed},
1166{ 0x673E,0x00000000, CHIP_FAMILY_BARTS,"AMD Radeon HD 6790 Series",kDuckweed},
1167
1168// TURKS
1169{ 0x6740,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6770M Series",kCattail},
1170{ 0x6741,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6750M",kCattail},
1171{ 0x6742,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7500/7600",kCattail},
1172{ 0x6745,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6600M Series",kCattail},
1173{ 0x6749,0x00000000, CHIP_FAMILY_TURKS,"ATI Radeon FirePro V4900",kPithecia},
1174{ 0x674A,0x00000000, CHIP_FAMILY_TURKS,"AMD FirePro V3900",kPithecia},
1175{ 0x6750,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670 Series",kPithecia},
1176{ 0x6758,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6670 Series",kPithecia},
1177{ 0x6759,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6570 Series",kPithecia},
1178{ 0x675B,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7600 Series",kPithecia},
1179{ 0x675D,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7570M Series",kCattail},
1180{ 0x675F,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 6510 Series",kPithecia},
1181
1182// CAICOS
1183{ 0x6760,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6470M Series",kHydrilla},
1184{ 0x6761,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6430M Series",kHydrilla},
1185{ 0x6763,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon E6460 Series",kHydrilla},
1186{ 0x6768,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6400M Series",kHydrilla},
1187{ 0x6770,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6400 Series",kBulrushes},
1188{ 0x6772,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7400A Series",kBulrushes},
1189{ 0x6778,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7000 Series",kBulrushes},
1190{ 0x6779,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 6450/7450/8450/R5 230",kBulrushes},
1191{ 0x677B,0x00000000, CHIP_FAMILY_CAICOS,"AMD Radeon HD 7400 Series",kBulrushes},
1192
1193// TAHITI
1194//Framebuffers: Aji - 4 Desktop, Buri - 4 Mobile, Chutoro - 5 Mobile, Dashimaki - 4, IkuraS - HMDI
1195// Ebi - 5 Mobile, Gari - 5 M, Futomaki - 4 D, Hamachi - 4 D, OPM - 6 Server, Ikura - 6
1196{ 0x6780,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7900 Series",kIkuraS},
1197{ 0x6784,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7900 Series",kFutomaki},
1198{ 0x6788,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7900 Series",kFutomaki},
1199{ 0x678A,0x00000000, CHIP_FAMILY_TAHITI,"AMD FirePro W8000",kFutomaki},
1200{ 0x6790,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970",kFutomaki},
1201{ 0x6791,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7900 Series",kFutomaki},
1202{ 0x6792,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7900 Series",kFutomaki},
1203{ 0x6798,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7970X/8970/R9 280X",kFutomaki},
1204{ 0x6799,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7990 Series",kAji},
1205{ 0x679A,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950/8950/R9 280",kFutomaki},
1206{ 0x679B,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7990 Series",kChutoro},
1207{ 0x679E,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7870 XT",kFutomaki},
1208{ 0x679F,0x00000000, CHIP_FAMILY_TAHITI,"AMD Radeon HD 7950 Series",kFutomaki},
1209
1210// HAWAII
1211//{ 0x67A0,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1212//{ 0x67A1,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1213//{ 0x67A2,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1214//{ 0x67A8,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1215//{ 0x67A9,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1216//{ 0x67AA,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1217{ 0x67B0,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon R9 290X", kBaladi},
1218{ 0x67B1,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon R9 290", kBaladi},
1219//{ 0x67B8,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1220{ 0x67B9,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon R9 200", kFutomaki},
1221//{ 0x67BA,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1222//{ 0x67BE,0x00000000, CHIP_FAMILY_HAWAII,"AMD Radeon", kFutomaki},
1223
1224// Polaris 10
1225{ 0x67C0, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1226{ 0x67C1, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1227{ 0x67C2, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1228{ 0x67C4, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1229{ 0x67C7, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1230{ 0x67C8, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1231{ 0x67C9, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1232{ 0x67CA, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1233{ 0x67CC, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1234{ 0x67CF, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon Polaris 10", kNull },
1235{ 0x67DF, 0x00000000, CHIP_FAMILY_ELLESMERE, "AMD Radeon RX480", kBaladi },
1236
1237// Polaris 11
1238{ 0x67E0, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon RX460", kAcre },
1239{ 0x67E1, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1240{ 0x67E3, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1241{ 0x67E7, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1242{ 0x67E8, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1243{ 0x67E9, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1244{ 0x67EB, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1245{ 0x67EF, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon RX460", kAcre },
1246{ 0x67FF, 0x00000000, CHIP_FAMILY_BAFFIN, "AMD Radeon Polaris 11", kNull },
1247
1248// Polaris 12
1249{ 0x6980, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1250{ 0x6981, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1251{ 0x6985, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1252{ 0x6986, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1253{ 0x6987, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1254{ 0x699F, 0x00000000, CHIP_FAMILY_GREENLAND, "AMD Radeon Polaris 12", kNull },
1255
1256// PITCAIRN
1257{ 0x6800,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 7970M",kBuri}, // Mobile
1258{ 0x6801,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 8970M Series",kFutomaki}, // Mobile
1259//{ 0x6802,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD ???M Series",kFutomaki}, // Mobile
1260{ 0x6806,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 7600 Series",kFutomaki},
1261{ 0x6808,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 7600 Series",kFutomaki},
1262{ 0x6809,0x00000000, CHIP_FAMILY_PITCAIRN,"ATI FirePro V",kNull},
1263{ 0x6810,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon R9 270X",kNamako},
1264{ 0x6811,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon R9 270",kFutomaki},
1265//{ 0x6816,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon",kFutomaki},
1266//{ 0x6817,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon",kFutomaki},
1267{ 0x6818,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 7870 Series",kFutomaki},
1268{ 0x6819,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD 7850 Series",kFutomaki},
1269
1270// VERDE
1271{ 0x6820,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // Mobile
1272{ 0x6821,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // Mobile
1273{ 0x6822,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon E8860",kBuri}, // Mobile
1274{ 0x6823,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 8800M Series",kBuri}, // Mobile
1275//{ 0x6824,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700M Series",kBuri}, // Mobile
1276{ 0x6825,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7800M Series",kPondweed}, // Mobile
1277{ 0x6826,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // Mobile
1278{ 0x6827,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7800M Series",kPondweed}, // Mobile
1279{ 0x6828,0x00000000, CHIP_FAMILY_VERDE,"ATI FirePro V",kBuri},
1280//{ 0x6829,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD ??? Series",kBuri},
1281//{ 0x682A,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD",kBuri}, // Mobile
1282{ 0x682B,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 8800M Series",kBuri}, // Mobile
1283{ 0x682D,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // Mobile
1284{ 0x682F,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7730 Series",kBuri}, // Mobile
1285{ 0x6830,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7800M Series",kBuri}, // Mobile
1286{ 0x6831,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // Mobile
1287{ 0x6835,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD R7 Series",kBuri},
1288{ 0x6837,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7730 Series",kFutomaki},
1289{ 0x6838,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kFutomaki},
1290{ 0x6839,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kFutomaki},
1291{ 0x683B,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kFutomaki},
1292{ 0x683D,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7770 Series",kFutomaki}, //R7 250X
1293{ 0x683F,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7750 Series",kFutomaki},
1294
1295// TURKS
1296{ 0x6840,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7670M Series",kPondweed}, // Mobile
1297{ 0x6841,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7650M Series",kPondweed}, // Mobile
1298{ 0x6842,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7600M Series",kPondweed}, // Mobile
1299{ 0x6843,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7670M Series",kPondweed}, // Mobile
1300{ 0x6849,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7600M Series",kPondweed},
1301
1302// PITCAIRN
1303//{ 0x684C,0x00000000, CHIP_FAMILY_PITCAIRN,"AMD Radeon HD",kNull},
1304
1305// TURKS
1306{ 0x6850,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7600M Series",kPondweed },
1307{ 0x6858,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7400 Series",kPondweed },
1308{ 0x6859,0x00000000, CHIP_FAMILY_TURKS,"AMD Radeon HD 7600M Series",kPondweed },
1309
1310// CYPRESS
1311//{ 0x6880,0x00000000, CHIP_FAMILY_CYPRESS,"ATI Radeon HD",kNull}, // Mobile
1312{ 0x6888,0x00000000, CHIP_FAMILY_CYPRESS,"ATI FirePro V8800",kNull},
1313{ 0x6889,0x00000000, CHIP_FAMILY_CYPRESS,"ATI FirePro V7800",kNull},
1314{ 0x688A,0x00000000, CHIP_FAMILY_CYPRESS,"ATI FirePro V9800",kNull},
1315{ 0x688C,0x00000000, CHIP_FAMILY_CYPRESS,"AMD FireStream 9370",kZonalis},
1316{ 0x688D,0x00000000, CHIP_FAMILY_CYPRESS,"AMD FireStream 9350",kZonalis},
1317{ 0x6898,0x00000000, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5870 Series",kUakari},
1318{ 0x6899,0x00000000, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5850 Series",kUakari},
1319{ 0x689B,0x00000000, CHIP_FAMILY_CYPRESS,"AMD Radeon HD 6800 Series",kNull},
1320
1321// HEMLOCK
1322{ 0x689C,0x00000000, CHIP_FAMILY_HEMLOCK,"ATI Radeon HD 5970 Series",kUakari},
1323{ 0x689D,0x00000000, CHIP_FAMILY_HEMLOCK,"ATI Radeon HD 5900 Series",kUakari},
1324
1325// CYPRESS
1326{ 0x689E,0x00000000, CHIP_FAMILY_CYPRESS,"ATI Radeon HD 5830 Series",kUakari},
1327
1328// JUNIPER
1329{ 0x68A0,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770 Series",kHoolock}, // Mobile
1330{ 0x68A1,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5850 Series",kHoolock}, // Mobile
1331{ 0x68A8,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6850M",kHoolock},
1332{ 0x68A9,0x00000000, CHIP_FAMILY_JUNIPER,"ATI FirePro V5800 (FireGL)",kHoolock},
1333{ 0x68B0,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770 Series",kHoolock}, // Mobile
1334{ 0x68B1,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770 Series",kHoolock},
1335{ 0x68B8,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5770 Series",kVervet},
1336{ 0x68B9,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5700 Series",kHoolock},
1337{ 0x68BA,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6770 Series",kHoolock},
1338{ 0x68BC,0x00000000, CHIP_FAMILY_JUNIPER,"AMD FireStream 9370",kHoolock},
1339{ 0x68BD,0x00000000, CHIP_FAMILY_JUNIPER,"AMD FireStream 9350",kHoolock},
1340{ 0x68BE,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 5750 Series",kHoolock},
1341{ 0x68BF,0x00000000, CHIP_FAMILY_JUNIPER,"ATI Radeon HD 6750 Series",kHoolock},
1342
1343// REDWOOD
1344{ 0x68C0,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5730 Series",kGalago}, // Mobile
1345{ 0x68C1,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5650 Series",kGalago}, // Mobile
1346{ 0x68C7,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Mobility Radeon HD 5570",kGalago}, // Mobile
1347{ 0x68C8,0x00000000, CHIP_FAMILY_REDWOOD,"ATI FirePro v4800", kBaboon},
1348{ 0x68C9,0x00000000, CHIP_FAMILY_REDWOOD,"FirePro 3D V3800",kBaboon},
1349{ 0x68D8,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5670 Series",kBaboon},
1350{ 0x68D9,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5570 Series",kBaboon},
1351{ 0x68DA,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5500 Series",kBaboon},
1352{ 0x68DE,0x00000000, CHIP_FAMILY_REDWOOD,"ATI Radeon HD 5000 Series",kNull},
1353
1354// CEDAR
1355{ 0x68E0,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5470 Series",kGalago},
1356{ 0x68E1,0x00000000, CHIP_FAMILY_CEDAR,"AMD Radeon HD 6230/6350/8350",kGalago},
1357{ 0x68E4,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6370M Series",kGalago},
1358{ 0x68E5,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 6300M Series",kGalago},
1359//{ 0x68E8,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD ??? Series",kNull},
1360//{ 0x68E9,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD ??? Series",kNull},
1361{ 0x68F1,0x00000000, CHIP_FAMILY_CEDAR,"AMD FirePro 2460",kEulemur},
1362{ 0x68F2,0x00000000, CHIP_FAMILY_CEDAR,"AMD FirePro 2270",kEulemur},
1363//{ 0x68F8,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD ??? Series",kNull},
1364{ 0x68F9,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 5450 Series",kEulemur},
1365{ 0x68FA,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD 7300 Series",kEulemur},
1366//{ 0x68FE,0x00000000, CHIP_FAMILY_CEDAR,"ATI Radeon HD ??? Series",kNull},
1367
1368//
1369{ 0x6900,0x00000000, CHIP_FAMILY_TOPAZ,"ATI Radeon R7 M260/M265", kExmoor},
1370{ 0x6901,0x00000000, CHIP_FAMILY_TOPAZ,"ATI Radeon R5 M255", kExmoor},
1371{ 0x6920,0x00000000, CHIP_FAMILY_AMETHYST,"ATI Radeon R9 M395X", kLabrador},
1372{ 0x6921,0x00000000, CHIP_FAMILY_AMETHYST,"ATI Radeon R9 M295X", kExmoor},
1373{ 0x692B,0x00000000, CHIP_FAMILY_TONGA,"ATI Firepro W7100", kBaladi},
1374{ 0x6938,0x00000000, CHIP_FAMILY_AMETHYST,"ATI Radeon R9 M295X", kExmoor},
1375{ 0x6939,0x00000000, CHIP_FAMILY_TONGA,"ATI Radeon R9 285", kBaladi},
1376
1377// R520
1378{ 0x7100, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1379{ 0x7101, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Mobile ",kNull},
1380{ 0x7102, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Mobile ",kNull},
1381{ 0x7103, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Mobile ",kNull},
1382{ 0x7104, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1383{ 0x7105, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1384{ 0x7106, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Mobile ",kNull},
1385{ 0x7108, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1386{ 0x7109, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1387{ 0x710A, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1388{ 0x710B, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1389{ 0x710C, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1390{ 0x710E, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1391{ 0x710F, 0x00000000, CHIP_FAMILY_R520, "ATI Radeon HD Desktop ",kNull},
1392
1393// RV515
1394{ 0x7140, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1395{ 0x7141, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1396{ 0x7142, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1397{ 0x7143, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1398{ 0x7144, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1399{ 0x7145, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1400{ 0x7146, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1401{ 0x7147, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1402{ 0x7149, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1403{ 0x714A, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1404{ 0x714B, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1405{ 0x714C, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1406{ 0x714D, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1407{ 0x714E, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1408{ 0x714F, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1409{ 0x7151, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1410{ 0x7152, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1411{ 0x7153, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1412{ 0x715E, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1413{ 0x715F, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1414{ 0x7180, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1415{ 0x7181, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1416{ 0x7183, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1417{ 0x7186, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1418{ 0x7187, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1419{ 0x7188, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD2300 Mobile ",kCaretta},
1420{ 0x718A, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1421{ 0x718B, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1422{ 0x718C, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1423{ 0x718D, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1424{ 0x718F, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1425{ 0x7193, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1426{ 0x7196, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kCaretta},
1427{ 0x719B, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1428{ 0x719F, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kCaretta},
1429
1430// RV530
1431{ 0x71C0, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1432{ 0x71C1, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1433{ 0x71C2, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1434{ 0x71C3, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1435{ 0x71C4, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Mobile ",kWormy},
1436{ 0x71C5, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD1600 Mobile ",kWormy},
1437{ 0x71C6, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1438{ 0x71C7, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1439{ 0x71CD, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1440{ 0x71CE, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1441{ 0x71D2, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1442{ 0x71D4, 0x00000000, CHIP_FAMILY_RV530, "ATI Mobility FireGL V5250",kWormy},
1443{ 0x71D5, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Mobile ",kWormy},
1444{ 0x71D6, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Mobile ",kWormy},
1445{ 0x71DA, 0x00000000, CHIP_FAMILY_RV530, "ATI Radeon HD Desktop ",kWormy},
1446{ 0x71DE, 0x00000000, CHIP_FAMILY_RV530, "ASUS M66 ATI Radeon Mobile ",kWormy},
1447
1448// RV515
1449{ 0x7200, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Desktop ",kWormy},
1450{ 0x7210, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kWormy},
1451{ 0x7211, 0x00000000, CHIP_FAMILY_RV515, "ATI Radeon HD Mobile ",kWormy},
1452
1453// R580
1454{ 0x7240, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1455{ 0x7243, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1456{ 0x7244, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1457{ 0x7245, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1458{ 0x7246, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1459{ 0x7247, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1460{ 0x7248, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1461{ 0x7249, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1462{ 0x724A, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1463{ 0x724B, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1464{ 0x724C, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1465{ 0x724D, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1466{ 0x724E, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1467{ 0x724F, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Desktop ",kAlopias},
1468
1469// RV570
1470{ 0x7280, 0x00000000, CHIP_FAMILY_RV570, "ATI Radeon X1950 Pro ",kAlopias},
1471
1472// RV560
1473{ 0x7281, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1474{ 0x7283, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1475
1476// R580
1477{ 0x7284, 0x00000000, CHIP_FAMILY_R580, "ATI Radeon HD Mobile ",kAlopias},
1478
1479// RV560
1480{ 0x7287, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1481
1482// RV570
1483{ 0x7288, 0x00000000, CHIP_FAMILY_RV570, "ATI Radeon HD Desktop ",kAlopias},
1484{ 0x7289, 0x00000000, CHIP_FAMILY_RV570, "ATI Radeon HD Desktop ",kAlopias},
1485{ 0x728B, 0x00000000, CHIP_FAMILY_RV570, "ATI Radeon HD Desktop ",kAlopias},
1486{ 0x728C, 0x00000000, CHIP_FAMILY_RV570, "ATI Radeon HD Desktop ",kAlopias},
1487
1488// RV560
1489{ 0x7290, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1490{ 0x7291, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1491{ 0x7293, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1492{ 0x7297, 0x00000000, CHIP_FAMILY_RV560, "ATI Radeon HD Desktop ",kAlopias},
1493
1494// RS690
1495{ 0x791E,0x00000000, CHIP_FAMILY_RS690,"ATI Radeon IGP ",kNull},
1496{ 0x791F,0x00000000, CHIP_FAMILY_RS690,"ATI Radeon IGP ",kNull},
1497{ 0x793F,0x00000000, CHIP_FAMILY_RS690,"ATI Radeon IGP ",kNull},
1498{ 0x7941,0x00000000, CHIP_FAMILY_RS690,"ATI Radeon IGP ",kNull},
1499{ 0x7942,0x00000000, CHIP_FAMILY_RS690,"ATI Radeon IGP ",kNull},
1500
1501// RS740
1502{ 0x796C,0x00000000, CHIP_FAMILY_RS740,"ATI Radeon IGP ",kNull},
1503{ 0x796D,0x00000000, CHIP_FAMILY_RS740,"ATI Radeon IGP ",kNull},
1504{ 0x796E,0x00000000, CHIP_FAMILY_RS740,"ATI Radeon IGP ",kNull},
1505{ 0x796F,0x00000000, CHIP_FAMILY_RS740,"ATI Radeon IGP ",kNull},
1506
1507// RS600
1508{ 0x9400,0x00000000, CHIP_FAMILY_R600,"ATI Radeon HD 2900 XT",kNull},
1509{ 0x9401,0x00000000, CHIP_FAMILY_R600,"ATI Radeon HD 2900 GT",kNull},
1510{ 0x9402,0x00000000, CHIP_FAMILY_R600,"ATI Radeon HD 2900 GT",kNull},
1511{ 0x9403,0x00000000, CHIP_FAMILY_R600,"ATI Radeon HD 2900 GT",kNull},
1512{ 0x9405,0x00000000, CHIP_FAMILY_R600,"ATI Radeon HD 2900 GT",kNull},
1513{ 0x940A,0x00000000, CHIP_FAMILY_R600,"ATI FireGL V8650",kNull},
1514{ 0x940B,0x00000000, CHIP_FAMILY_R600,"ATI FireGL V8600",kNull},
1515{ 0x940F,0x00000000, CHIP_FAMILY_R600,"ATI FireGL V7600",kNull},
1516
1517// RV740
1518{ 0x94A0,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD 4830M",kFlicker},
1519{ 0x94A1,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD 4860M",kFlicker},
1520{ 0x94A3,0x00000000, CHIP_FAMILY_RV740,"ATI FirePro M7740",kFlicker},
1521{ 0x94B1,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD",kFlicker},
1522{ 0x94B3,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD 4770",kFlicker},
1523{ 0x94B4,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD 4700 Series",kFlicker},
1524{ 0x94B5,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD 4770",kFlicker},
1525{ 0x94B9,0x00000000, CHIP_FAMILY_RV740,"ATI Radeon HD",kFlicker},
1526
1527// RV770
1528{ 0x9440,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4870 ",kMotmot},
1529{ 0x9441,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4870 X2",kMotmot},
1530{ 0x9442,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4850 Series",kMotmot},
1531{ 0x9443,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4850 X2",kMotmot},
1532{ 0x9444,0x00000000, CHIP_FAMILY_RV770,"ATI FirePro V8750 (FireGL)", kMotmot},
1533{ 0x9446,0x00000000, CHIP_FAMILY_RV770,"ATI FirePro V7770 (FireGL)",kMotmot},
1534{ 0x9447,0x00000000, CHIP_FAMILY_RV770,"ATI FirePro V8700 Duo (FireGL)",kMotmot},
1535{ 0x944A,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon HD 4850",kMotmot},//iMac - Quail
1536{ 0x944B,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon HD 4850 X2",kMotmot},//iMac - Quail
1537{ 0x944C,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4830 Series",kMotmot},
1538{ 0x944E,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4810 Series",kMotmot},
1539{ 0x9450,0x00000000, CHIP_FAMILY_RV770,"AMD FireStream 9270",kMotmot},
1540{ 0x9452,0x00000000, CHIP_FAMILY_RV770,"AMD FireStream 9250",kMotmot},
1541{ 0x9456,0x00000000, CHIP_FAMILY_RV770,"ATI FirePro V8700 (FireGL)",kMotmot},
1542{ 0x945A,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon HD 4870",kMotmot},
1543{ 0x9460,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4800 Series",kMotmot},
1544{ 0x9462,0x00000000, CHIP_FAMILY_RV770,"ATI Radeon HD 4800 Series",kMotmot},
1545//{ 0x946A,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon",kMotmot},
1546//{ 0x946B,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon",kMotmot},
1547//{ 0x947A,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon",kMotmot},
1548//{ 0x947B,0x00000000, CHIP_FAMILY_RV770,"ATI Mobility Radeon",kMotmot},
1549
1550// RV730
1551{ 0x9480,0x00000000, CHIP_FAMILY_RV730,"ATI Mobility Radeon HD 550v",kGliff},
1552{ 0x9487,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD Series",kGliff},
1553{ 0x9488,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD 4650 Series",kGliff},
1554{ 0x9489,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD Series",kGliff},
1555{ 0x948A,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD Series",kGliff},
1556{ 0x948F,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD Series",kGliff},
1557{ 0x9490,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD 4670 Series",kGliff},
1558{ 0x9491,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD 4600 Series",kGliff},
1559{ 0x9495,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD 4650 Series",kGliff},
1560{ 0x9498,0x00000000, CHIP_FAMILY_RV730,"ATI Radeon HD 4710 Series",kGliff},
1561{ 0x949C,0x00000000, CHIP_FAMILY_RV730,"ATI FirePro V7750 (FireGL)",kGliff},
1562{ 0x949E,0x00000000, CHIP_FAMILY_RV730,"ATI FirePro V5700 (FireGL)",kGliff},
1563{ 0x949F,0x00000000, CHIP_FAMILY_RV730,"ATI FirePro V3750 (FireGL)",kGliff},
1564
1565// RV610
1566{ 0x94C0,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD Series",kIago},
1567{ 0x94C1,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1568{ 0x94C3,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2350 Series",kIago},
1569{ 0x94C4,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1570{ 0x94C5,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1571{ 0x94C6,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1572{ 0x94C7,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2350",kIago},
1573{ 0x94C8,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1574{ 0x94C9,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1575{ 0x94CB,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1576{ 0x94CC,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 Series",kIago},
1577{ 0x94CD,0x00000000, CHIP_FAMILY_RV610,"ATI Radeon HD 2400 PRO Series",kIago},
1578
1579// RV670
1580{ 0x9500,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3800 Series",kMegalodon},
1581{ 0x9501,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3690 Series",kMegalodon},
1582{ 0x9504,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3850M Series",kMegalodon},
1583{ 0x9505,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3800 Series",kMegalodon},
1584{ 0x9506,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3850 X2 M Series",kMegalodon},
1585{ 0x9507,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3830",kMegalodon},
1586{ 0x9508,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3870M Series",kMegalodon},
1587{ 0x9509,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3870 X2 MSeries",kMegalodon},
1588{ 0x950F,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3870 X2",kMegalodon},
1589{ 0x9511,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3850 X2",kMegalodon},
1590{ 0x9513,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3850 X2",kMegalodon},
1591{ 0x9515,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD 3850 Series",kMegalodon},
1592{ 0x9517,0x00000000, CHIP_FAMILY_RV670,"ATI Radeon HD Series",kMegalodon},
1593{ 0x9519,0x00000000, CHIP_FAMILY_RV670,"AMD FireStream 9170",kMegalodon},
1594
1595// RV710
1596{ 0x9540,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD 4550",kFlicker},
1597{ 0x9541,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD",kFlicker},
1598{ 0x9542,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD",kFlicker},
1599{ 0x954E,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD",kFlicker},
1600{ 0x954F,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD 4350",kFlicker},
1601{ 0x9552,0x00000000, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4330", kShrike },
1602{ 0x9553,0x00000000, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4570", kShrike },
1603{ 0x9555,0x00000000, CHIP_FAMILY_RV710,"ATI Mobility Radeon HD 4550", kShrike },
1604{ 0x9557,0x00000000, CHIP_FAMILY_RV710,"ATI FirePro RG220",kFlicker},
1605{ 0x955F,0x00000000, CHIP_FAMILY_RV710,"ATI Radeon HD 4330M series",kFlicker},
1606
1607// RV630
1608{ 0x9580,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD Series",kHypoprion},
1609{ 0x9581,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 XT",kHypoprion },
1610{ 0x9583,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 XT",kHypoprion },
1611{ 0x9586,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 XT Series",kHypoprion},
1612{ 0x9587,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 Pro Series",kHypoprion},
1613{ 0x9588,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 XT", kHypoprion },
1614{ 0x9589,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 PRO", kHypoprion },
1615{ 0x958A,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 X2 Series",kLamna },
1616{ 0x958B,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 X2 Series",kLamna },
1617{ 0x958C,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 X2 Series",kLamna },
1618{ 0x958D,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 X2 Series",kLamna },
1619{ 0x958E,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD 2600 X2 Series",kLamna },
1620{ 0x958F,0x00000000, CHIP_FAMILY_RV630,"ATI Radeon HD Series",kHypoprion},
1621
1622// RV635
1623//{ 0x9590,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon },
1624{ 0x9591,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD 3600 Series",kMegalodon }, // Mobile
1625//{ 0x9593,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon }, // Mobile
1626//{ 0x9595,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon }, // Mobile
1627//{ 0x9596,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon },
1628//{ 0x9597,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon },
1629{ 0x9598,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD 3600 Series",kMegalodon },
1630//{ 0x9599,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon },
1631//{ 0x959B,0x00000000, CHIP_FAMILY_RV635,"ATI Radeon HD",kMegalodon }, // Mobile
1632
1633// RV620
1634{ 0x95C0,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD 3550 Series",kIago },
1635//{ 0x95C2,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago }, // Mobile
1636{ 0x95C4,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD 3470 Series",kIago }, // Mobile
1637{ 0x95C5,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD 3450 Series",kIago },
1638{ 0x95C6,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD 3450 AGP",kIago },
1639//{ 0x95C7,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago },
1640//{ 0x95C9,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago },
1641//{ 0x95CC,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago },
1642//{ 0x95CD,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago },
1643//{ 0x95CE,0x00000000, CHIP_FAMILY_RV620,"ATI Radeon HD",kIago },
1644{ 0x95CF,0x00000000, CHIP_FAMILY_RV620,"ATI FirePro 2260",kIago },
1645
1646// RS780
1647{ 0x9610,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD 3200 Graphics",kNull },
1648{ 0x9611,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD 3100 Graphics",kNull },
1649//{ 0x9612,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD",kNull },
1650//{ 0x9613,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD",kNull },
1651{ 0x9614,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD 3300 Graphics",kNull },
1652//{ 0x9615,0x00000000, CHIP_FAMILY_RS780,"ATI Radeon HD",kNull },
1653{ 0x9616,0x00000000, CHIP_FAMILY_RS780,"AMD 760G", kNull },
1654
1655// SUMO
1656{ 0x9640,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD 6550D",kNull },
1657{ 0x9641,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD 6620G",kNull }, // Mobile
1658
1659// SUMO2
1660{ 0x9642,0x00000000, CHIP_FAMILY_SUMO2,"AMD Radeon HD 6370D",kNull },
1661{ 0x9643,0x00000000, CHIP_FAMILY_SUMO2,"AMD Radeon HD 6380G",kNull }, // Mobile
1662{ 0x9644,0x00000000, CHIP_FAMILY_SUMO2,"AMD Radeon HD 6410D",kNull },
1663{ 0x9645,0x00000000, CHIP_FAMILY_SUMO2,"AMD Radeon HD 6410D",kNull }, // Mobile
1664
1665// SUMO
1666{ 0x9647,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD 6520G",kNull }, // Mobile
1667{ 0x9648,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD 6480G",kNull }, // Mobile
1668
1669// SUMO2
1670{ 0x9649,0x00000000, CHIP_FAMILY_SUMO2,"AMD Radeon(TM) HD 6480G",kNull }, // Mobile
1671
1672// SUMO
1673{ 0x964A,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD 6530D",kNull },
1674//{ 0x964B,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD",kNull },
1675//{ 0x964C,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD",kNull },
1676//{ 0x964E,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD",kNull }, // Mobile
1677//{ 0x964F,0x00000000, CHIP_FAMILY_SUMO,"AMD Radeon HD",kNull }, // Mobile
1678
1679// RS880
1680{ 0x9710,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD 4200 Series",kNull},
1681//{ 0x9711,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD",kNull},
1682{ 0x9712,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD 4200 Series",kNull}, // Mobile
1683//{ 0x9713,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD",kNull}, // Mobile
1684{ 0x9714,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD 4290",kNull},
1685{ 0x9715,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD 4250",kNull},
1686{ 0x9723,0x00000000, CHIP_FAMILY_RS880,"ATI Radeon HD 5450 Series",kNull},
1687
1688// PALM
1689{ 0x9802,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6310 Graphics", kNull },
1690{ 0x9803,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6250 Graphics", kNull },
1691{ 0x9804,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6250 Graphics", kNull },
1692{ 0x9805,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6250 Graphics", kNull },
1693{ 0x9806,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6320 Graphics", kNull },
1694{ 0x9807,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 6290 Graphics", kNull },
1695{ 0x9808,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 7340 Graphics", kNull },
1696{ 0x9809,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 7310 Graphics", kNull },
1697{ 0x980A,0x00000000, CHIP_FAMILY_PALM,"AMD Radeon HD 7290 Graphics", kNull },
1698
1699// KABINI
1700{ 0x9830,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8400", kNull }, // Mobile
1701{ 0x9831,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8400E", kNull },
1702{ 0x9832,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8330", kNull }, // Mobile
1703{ 0x9833,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8330E", kNull },
1704{ 0x9834,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8210", kNull }, // Mobile
1705{ 0x9835,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8210E", kNull },
1706{ 0x9836,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8280", kNull }, // Mobile
1707{ 0x9837,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8280E", kNull },
1708{ 0x9838,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8240", kNull }, // Mobile
1709{ 0x9839,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8180", kNull }, // Mobile
1710//{ 0x983A,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD", kNull },
1711//{ 0x983B,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD", kNull }, // Mobile
1712//{ 0x983C,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD", kNull },
1713{ 0x983D,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD 8250", kNull },
1714//{ 0x983E,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD", kNull },
1715//{ 0x983F,0x00000000, CHIP_FAMILY_KABINI,"AMD Radeon HD", kNull },
1716
1717// MULLINS
1718{ 0x9850,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1719{ 0x9851,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1720{ 0x9852,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1721{ 0x9853,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1722{ 0x9854,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1723{ 0x9855,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1724{ 0x9856,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1725{ 0x9857,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1726{ 0x9858,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1727{ 0x9859,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1728{ 0x985A,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1729{ 0x985B,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1730{ 0x985C,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1731{ 0x985D,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1732{ 0x985E,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1733{ 0x985F,0x00000000, CHIP_FAMILY_MULLINS,"AMD Radeon HD", kNull }, // Mobile
1734
1735// ARUBA
1736{ 0x9900,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7660G", kNull }, // Mobile
1737{ 0x9901,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7660D", kNull },
1738{ 0x9903,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7640G", kNull }, // Mobile
1739{ 0x9904,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7560D", kNull },
1740//{ 0x9905,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD", kNull },
1741{ 0x9906,0x00000000, CHIP_FAMILY_ARUBA,"AMD FirePro A300 Series", kNull },
1742{ 0x9907,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7620G", kNull }, // Mobile
1743{ 0x9908,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7600G", kNull }, // Mobile
1744//{ 0x9909,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD", kNull }, // Mobile
1745{ 0x990A,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7500G", kNull }, // Mobile
1746{ 0x990B,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8650G", kNull }, // Mobile
1747{ 0x990C,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8670D", kNull },
1748{ 0x990D,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8550G", kNull }, // Mobile
1749{ 0x990E,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8570D", kNull },
1750{ 0x990F,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8610G", kNull }, // Mobile
1751{ 0x9910,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7660G", kNull }, // Mobile
1752{ 0x9913,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7640G", kNull }, // Mobile
1753{ 0x9917,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7620G", kNull },
1754{ 0x9918,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7600G", kNull },
1755{ 0x9919,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7500G", kNull },
1756{ 0x9990,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7520G", kNull }, // Mobile
1757{ 0x9991,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7540D", kNull },
1758{ 0x9992,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7420G", kNull }, // Mobile
1759{ 0x9993,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7480D", kNull },
1760{ 0x9994,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7400G", kNull }, // Mobile
1761{ 0x9995,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8450G", kNull }, // Mobile
1762{ 0x9996,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8470D", kNull },
1763{ 0x9997,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8350G", kNull }, // Mobile
1764{ 0x9998,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8370D", kNull },
1765{ 0x9999,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8510G", kNull }, // Mobile
1766{ 0x999A,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8410G", kNull }, // Mobile
1767{ 0x999B,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8310G", kNull }, // Mobile
1768{ 0x999C,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8650D", kNull },
1769{ 0x999D,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 8550D", kNull },
1770{ 0x99A0,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7520G", kNull }, // Mobile
1771{ 0x99A2,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7420G", kNull }, // Mobile
1772{ 0x99A4,0x00000000, CHIP_FAMILY_ARUBA,"AMD Radeon HD 7400G", kNull },
1773
1774{ 0x0000,0x00000000, CHIP_FAMILY_UNKNOW,"AMD Unknown",kNull}
1775};
1776
1777static const char *chip_family_name[] = {
1778"UNKNOW",
1779"R420",
1780"R423",
1781"RV410",
1782"RV515",
1783"R520",
1784"RV530",
1785"RV560",
1786"RV570",
1787"R580",
1788/* IGP */
1789"RS600",
1790"RS690",
1791"RS740",
1792"RS780",
1793"RS880",
1794/* R600 */
1795"R600",
1796"RV610",
1797"RV620",
1798"RV630",
1799"RV635",
1800"RV670",
1801/* R700 */
1802"RV710",
1803"RV730",
1804"RV740",
1805"RV770",
1806"RV772",
1807"RV790",
1808/* Evergreen */
1809"Cedar",
1810"Cypress",
1811"Hemlock",
1812"Juniper",
1813"Redwood",
1814// "Broadway",
1815/* Northern Islands */
1816"Barts",
1817"Caicos",
1818"Cayman",
1819"Turks",
1820/* Southern Islands */
1821"Palm",
1822"Sumo",
1823"Sumo2",
1824"Aruba",
1825"Tahiti",
1826"Pitcairn",
1827"Verde",
1828"Oland",
1829"Hainan",
1830"Bonaire",
1831"Kaveri",
1832"Kabini",
1833"Hawaii",
1834/* ... */
1835"Mullins",
1836"Topaz",
1837"Amethyst",
1838"Tonga",
1839"Fiji",
1840"Carrizo",
1841"Tobago",
1842"Ellesmere",
1843"Baffin",
1844"Greenland",
1845""
1846};
1847
1848AtiDevProp ati_devprop_list[] = {
1849{FLAGTRUE,false,"@0,AAPL,boot-display",get_bootdisplay_val,NULVAL},
1850//{FLAGTRUE,false,"@0,ATY,EFIDisplay",NULL,STRVAL("TMDSA")},
1851
1852//{FLAGTRUE,true,"@0,AAPL,vram-memory",get_vrammemory_val,NULVAL},
1853//{FLAGTRUE,true,"@0,compatible",get_name_val,NULVAL},
1854//{FLAGTRUE,true,"@0,connector-type",get_conntype_val,NULVAL},
1855//{FLAGTRUE,true,"@0,device_type",NULL,STRVAL("display")},
1856//{FLAGTRUE,false,"@0,display-connect-flags",NULL,DWRVAL((uint32_t)0)},
1857//{FLAGTRUE,true,"@0,display-type",NULL,STRVAL("NONE")},
1858{FLAGTRUE,true,"@0,name",get_name_val,NULVAL},
1859//{FLAGTRUE,true,"@0,VRAM,memsize",get_vrammemsize_val,NULVAL},
1860
1861//{FLAGTRUE,false,"AAPL,aux-power-connected",NULL,DWRVAL((uint32_t)1)},
1862//{FLAGTRUE,false,"AAPL,backlight-control",NULL,DWRVAL((uint32_t)0)},
1863{FLAGTRUE,false,"ATY,bin_image",get_binimage_val,NULVAL},
1864{FLAGTRUE,false,"ATY,Copyright",NULL,STRVAL("Copyright AMD Inc. All Rights Reserved. 2005-2010") },
1865{FLAGTRUE,false,"ATY,Card#",get_romrevision_val,NULVAL},
1866{FLAGTRUE,false,"ATY,VendorID",NULL,WRDVAL((uint16_t)0x1002)},
1867{FLAGTRUE,false,"ATY,DeviceID",get_deviceid_val,NULVAL},
1868
1869//{FLAGTRUE,false,"ATY,MCLK",get_mclk_val,NULVAL},
1870//{FLAGTRUE,false,"ATY,SCLK",get_sclk_val,NULVAL},
1871//{FLAGTRUE,false,"ATY,RefCLK",get_refclk_val,DWRVAL((uint32_t)0x0a8c)},
1872
1873//{FLAGTRUE,false,"ATY,PlatformInfo",get_platforminfo_val,NULVAL},
1874
1875{FLAGTRUE,false,"name",get_nameparent_val,NULVAL},
1876{FLAGTRUE,false,"device_type",get_nameparent_val,NULVAL},
1877{FLAGTRUE,false,"model",get_model_val,STRVAL("ATI Radeon")},
1878//{FLAGTRUE,false,"VRAM,totalsize",get_vramtotalsize_val,NULVAL},
1879{FLAGTRUE,false,"hda-gfx",get_hdmiaudio,NULVAL},
1880
1881{FLAGTRUE,false,NULL,NULL,NULVAL}
1882};
1883
1884bool get_bootdisplay_val(value_t *val)
1885{
1886static uint32_t v = 0;
1887
1888if (v)
1889{
1890return false;
1891}
1892if (!card->posted)
1893{
1894return false;
1895}
1896v = 1;
1897val->type = kCst;
1898val->size = 4;
1899val->data = (uint8_t *)&v;
1900
1901return true;
1902}
1903
1904bool get_hdmiaudio(value_t * val)
1905{
1906bool doit = false;
1907if(getBoolForKey(kEnableHDMIAudio, &doit, &bootInfo->chameleonConfig) && doit)
1908{
1909val->type = kStr;
1910val->size = strlen("onboard-1") + 1;
1911val->data = (uint8_t *)"onboard-1";
1912
1913return true;
1914}
1915return false;
1916}
1917
1918bool get_vrammemory_val(value_t *val)
1919{
1920return false;
1921}
1922
1923bool get_name_val(value_t *val)
1924{
1925val->type = aty_name.type;
1926val->size = aty_name.size;
1927val->data = aty_name.data;
1928
1929return true;
1930}
1931
1932bool get_nameparent_val(value_t *val)
1933{
1934val->type = aty_nameparent.type;
1935val->size = aty_nameparent.size;
1936val->data = aty_nameparent.data;
1937
1938return true;
1939}
1940
1941bool get_model_val(value_t *val)
1942{
1943if (!card->info->model_name)
1944return false;
1945
1946val->type = kStr;
1947val->size = strlen(card->info->model_name) + 1;
1948val->data = (uint8_t *)card->info->model_name;
1949
1950return true;
1951}
1952
1953bool get_conntype_val(value_t *val)
1954{
1955//Connector types:
1956//0x00000010: VGA
1957//0x00000004: DL DVI-I
1958//0x00000200: SL DVI-I
1959//0x00000080: S-V
1960//0x00000800: HDMI
1961//0x00000400: DisplayPort
1962//0x00000002: LVDS
1963
1964return false;
1965}
1966
1967bool get_vrammemsize_val(value_t *val)
1968{
1969static int idx = -1;
1970static uint64_t memsize;
1971
1972idx++;
1973memsize = ((uint64_t)card->vram_size << 32);
1974if (idx == 0)
1975{
1976memsize = memsize | (uint64_t)card->vram_size;
1977}
1978val->type = kCst;
1979val->size = 8;
1980val->data = (uint8_t *)&memsize;
1981
1982return true;
1983}
1984
1985bool get_binimage_val(value_t *val)
1986{
1987if (!card->rom)
1988{
1989return false;
1990}
1991val->type = kPtr;
1992val->size = card->rom_size;
1993val->data = card->rom;
1994
1995return true;
1996}
1997
1998bool get_romrevision_val(value_t *val)
1999{
2000uint8_t *rev;
2001if (!card->rom)
2002{
2003return false;
2004}
2005
2006rev = card->rom + *(uint8_t *)(card->rom + OFFSET_TO_GET_ATOMBIOS_STRINGS_START);
2007
2008val->type = kPtr;
2009val->size = strlen((char *)rev);
2010val->data = malloc(val->size);
2011
2012if (!val->data)
2013{
2014return false;
2015}
2016
2017memcpy(val->data, rev, val->size);
2018
2019return true;
2020}
2021
2022bool get_deviceid_val(value_t *val)
2023{
2024val->type = kCst;
2025val->size = 2;
2026val->data = (uint8_t *)&card->pci_dev->device_id;
2027
2028return true;
2029}
2030
2031bool get_mclk_val(value_t *val)
2032{
2033return false;
2034}
2035
2036bool get_sclk_val(value_t *val)
2037{
2038return false;
2039}
2040
2041bool get_refclk_val(value_t *val)
2042{
2043return false;
2044}
2045
2046bool get_platforminfo_val(value_t *val)
2047{
2048val->data = malloc(0x80);
2049if (!val->data)
2050{
2051return false;
2052}
2053bzero(val->data, 0x80);
2054
2055val->type= kPtr;
2056val->size= 0x80;
2057val->data[0]= 1;
2058
2059return true;
2060}
2061
2062bool get_vramtotalsize_val(value_t *val)
2063{
2064
2065val->type = kCst;
2066val->size = 4;
2067val->data = (uint8_t *)&card->vram_size;
2068
2069return true;
2070}
2071
2072void free_val(value_t *val)
2073{
2074if (val->type == kPtr)
2075{
2076free(val->data);
2077}
2078
2079bzero(val, sizeof(value_t));
2080}
2081
2082void devprop_add_list(AtiDevProp devprop_list[])
2083{
2084int i, pnum;
2085value_t *val = malloc(sizeof(value_t));
2086
2087for (i = 0; devprop_list[i].name != NULL; i++)
2088{
2089if ((devprop_list[i].flags == FLAGTRUE) || (devprop_list[i].flags | card->flags))
2090{
2091if (devprop_list[i].get_value && devprop_list[i].get_value(val))
2092{
2093devprop_add_value(card->device, devprop_list[i].name, val->data, val->size);
2094free_val(val);
2095
2096if (devprop_list[i].all_ports)
2097{
2098for (pnum = 1; pnum < card->ports; pnum++)
2099{
2100if (devprop_list[i].get_value(val))
2101{
2102devprop_list[i].name[1] = (uint8_t)(0x30 + pnum); // convert to ascii
2103devprop_add_value(card->device, devprop_list[i].name, val->data, val->size);
2104free_val(val);
2105}
2106}
2107devprop_list[i].name[1] = 0x30; // write back our "@0," for a next possible card
2108}
2109}
2110else
2111{
2112if (devprop_list[i].default_val.type != kNul)
2113{
2114devprop_add_value(card->device, devprop_list[i].name,
2115devprop_list[i].default_val.type == kCst ?
2116(uint8_t *)&(devprop_list[i].default_val.data) : devprop_list[i].default_val.data,
2117devprop_list[i].default_val.size);
2118}
2119
2120if (devprop_list[i].all_ports)
2121{
2122for (pnum = 1; pnum < card->ports; pnum++)
2123{
2124if (devprop_list[i].default_val.type != kNul)
2125{
2126devprop_list[i].name[1] = (uint8_t)(0x30 + pnum); // convert to ascii
2127devprop_add_value(card->device, devprop_list[i].name,
2128devprop_list[i].default_val.type == kCst ?
2129(uint8_t *)&(devprop_list[i].default_val.data) : devprop_list[i].default_val.data,
2130devprop_list[i].default_val.size);
2131}
2132}
2133devprop_list[i].name[1] = 0x30; // write back our "@0," for a next possible card
2134}
2135}
2136}
2137}
2138
2139free(val);
2140}
2141
2142bool validate_rom(option_rom_header_t *rom_header, pci_dt_t *pci_dev)
2143{
2144option_rom_pci_header_t *rom_pci_header;
2145
2146if (rom_header->signature != 0xaa55)
2147{
2148//verbose("invalid ROM signature %x\n", rom_header->signature);
2149return false;
2150}
2151
2152rom_pci_header = (option_rom_pci_header_t *)((uint8_t *)rom_header + rom_header->pci_header_offset);
2153
2154if (rom_pci_header->signature != 0x52494350)
2155{
2156//verbose("invalid ROM header %x\n", rom_pci_header->signature);
2157return false;
2158}
2159
2160if (rom_pci_header->vendor_id != pci_dev->vendor_id || rom_pci_header->device_id != pci_dev->device_id)
2161{
2162//verbose("invalid ROM vendor=%x deviceID=%d\n", rom_pci_header->vendor_id, rom_pci_header->device_id);
2163return false;
2164}
2165
2166return true;
2167}
2168
2169bool load_vbios_file(const char *key, uint16_t vendor_id, uint16_t device_id, uint32_t subsys_id)
2170{
2171int fd;
2172char file_name[64];
2173bool do_load = false;
2174
2175getBoolForKey(key, &do_load, &bootInfo->chameleonConfig);
2176if (!do_load)
2177{
2178return false;
2179}
2180
2181sprintf(file_name, "/Extra/%04x_%04x_%08x.rom", vendor_id, device_id, subsys_id);
2182if ((fd = open_bvdev("bt(0,0)", file_name, 0)) < 0)
2183{
2184return false;
2185}
2186
2187card->rom_size = file_size(fd);
2188card->rom = malloc(card->rom_size);
2189if (!card->rom)
2190{
2191return false;
2192}
2193
2194read(fd, (char *)card->rom, card->rom_size);
2195
2196if (!validate_rom((option_rom_header_t *)card->rom, card->pci_dev))
2197{
2198verbose("validate_rom fails\n");
2199card->rom_size = 0;
2200card->rom = 0;
2201return false;
2202}
2203
2204card->rom_size = ((option_rom_header_t *)card->rom)->rom_size * 512;
2205
2206close(fd);
2207
2208return true;
2209}
2210
2211void get_vram_size(void)
2212{
2213ati_chip_family_t chip_family = card->info->chip_family;
2214
2215card->vram_size = 0;
2216
2217if (chip_family >= CHIP_FAMILY_CEDAR)
2218{
2219// size in MB on evergreen
2220// XXX watch for overflow!!!
2221card->vram_size = RegRead32(R600_CONFIG_MEMSIZE) * 1024 * 1024;
2222}
2223else
2224{
2225if (chip_family >= CHIP_FAMILY_R600)
2226{
2227card->vram_size = RegRead32(R600_CONFIG_MEMSIZE);
2228}
2229}
2230}
2231
2232bool read_vbios(bool from_pci)
2233{
2234option_rom_header_t *rom_addr;
2235
2236if (from_pci)
2237{
2238rom_addr = (option_rom_header_t *)(pci_config_read32(card->pci_dev->dev.addr, PCI_ROM_ADDRESS) & ~0x7ff);
2239verbose(" @0x%x\n", (unsigned) rom_addr);
2240}
2241else
2242{
2243rom_addr = (option_rom_header_t *)0xc0000;
2244}
2245
2246if (!validate_rom(rom_addr, card->pci_dev))
2247{
2248verbose("There is no ROM @0x%x\n", (unsigned) rom_addr);
2249return false;
2250}
2251card->rom_size = rom_addr->rom_size * 512;
2252if (!card->rom_size)
2253{
2254return false;
2255}
2256
2257card->rom = malloc(card->rom_size);
2258if (!card->rom)
2259{
2260return false;
2261}
2262
2263memcpy(card->rom, (void *)rom_addr, card->rom_size);
2264
2265return true;
2266}
2267
2268bool read_disabled_vbios(void)
2269{
2270bool ret = false;
2271ati_chip_family_t chip_family = card->info->chip_family;
2272
2273if (chip_family >= CHIP_FAMILY_RV770)
2274{
2275uint32_t viph_control= RegRead32(RADEON_VIPH_CONTROL);
2276uint32_t bus_cntl= RegRead32(RADEON_BUS_CNTL);
2277uint32_t d1vga_control= RegRead32(AVIVO_D1VGA_CONTROL);
2278uint32_t d2vga_control= RegRead32(AVIVO_D2VGA_CONTROL);
2279uint32_t vga_render_control= RegRead32(AVIVO_VGA_RENDER_CONTROL);
2280uint32_t rom_cntl= RegRead32(R600_ROM_CNTL);
2281uint32_t cg_spll_func_cntl= 0;
2282uint32_t cg_spll_status;
2283
2284// disable VIP
2285RegWrite32(RADEON_VIPH_CONTROL, (viph_control & ~RADEON_VIPH_EN));
2286
2287// enable the rom
2288RegWrite32(RADEON_BUS_CNTL, (bus_cntl & ~RADEON_BUS_BIOS_DIS_ROM));
2289
2290// Disable VGA mode
2291RegWrite32(AVIVO_D1VGA_CONTROL, (d1vga_control & ~(AVIVO_DVGA_CONTROL_MODE_ENABLE | AVIVO_DVGA_CONTROL_TIMING_SELECT)));
2292RegWrite32(AVIVO_D2VGA_CONTROL, (d2vga_control & ~(AVIVO_DVGA_CONTROL_MODE_ENABLE | AVIVO_DVGA_CONTROL_TIMING_SELECT)));
2293RegWrite32(AVIVO_VGA_RENDER_CONTROL, (vga_render_control & ~AVIVO_VGA_VSTATUS_CNTL_MASK));
2294
2295if (chip_family == CHIP_FAMILY_RV730)
2296{
2297cg_spll_func_cntl = RegRead32(R600_CG_SPLL_FUNC_CNTL);
2298
2299// enable bypass mode
2300RegWrite32(R600_CG_SPLL_FUNC_CNTL, (cg_spll_func_cntl | R600_SPLL_BYPASS_EN));
2301
2302// wait for SPLL_CHG_STATUS to change to 1
2303cg_spll_status = 0;
2304while (!(cg_spll_status & R600_SPLL_CHG_STATUS))
2305{
2306cg_spll_status = RegRead32(R600_CG_SPLL_STATUS);
2307}
2308
2309RegWrite32(R600_ROM_CNTL, (rom_cntl & ~R600_SCK_OVERWRITE));
2310}
2311else
2312{
2313RegWrite32(R600_ROM_CNTL, (rom_cntl | R600_SCK_OVERWRITE));
2314}
2315
2316ret = read_vbios(true);
2317
2318// restore regs
2319if (chip_family == CHIP_FAMILY_RV730)
2320{
2321RegWrite32(R600_CG_SPLL_FUNC_CNTL, cg_spll_func_cntl);
2322
2323// wait for SPLL_CHG_STATUS to change to 1
2324cg_spll_status = 0;
2325while (!(cg_spll_status & R600_SPLL_CHG_STATUS))
2326cg_spll_status = RegRead32(R600_CG_SPLL_STATUS);
2327}
2328RegWrite32(RADEON_VIPH_CONTROL, viph_control);
2329RegWrite32(RADEON_BUS_CNTL, bus_cntl);
2330RegWrite32(AVIVO_D1VGA_CONTROL, d1vga_control);
2331RegWrite32(AVIVO_D2VGA_CONTROL, d2vga_control);
2332RegWrite32(AVIVO_VGA_RENDER_CONTROL, vga_render_control);
2333RegWrite32(R600_ROM_CNTL, rom_cntl);
2334} else if (chip_family >= CHIP_FAMILY_R600) {
2335uint32_t viph_control= RegRead32(RADEON_VIPH_CONTROL);
2336uint32_t bus_cntl= RegRead32(RADEON_BUS_CNTL);
2337uint32_t d1vga_control= RegRead32(AVIVO_D1VGA_CONTROL);
2338uint32_t d2vga_control= RegRead32(AVIVO_D2VGA_CONTROL);
2339uint32_t vga_render_control= RegRead32(AVIVO_VGA_RENDER_CONTROL);
2340uint32_t rom_cntl= RegRead32(R600_ROM_CNTL);
2341uint32_t general_pwrmgt= RegRead32(R600_GENERAL_PWRMGT);
2342uint32_t low_vid_lower_gpio_cntl= RegRead32(R600_LOW_VID_LOWER_GPIO_CNTL);
2343uint32_t medium_vid_lower_gpio_cntl= RegRead32(R600_MEDIUM_VID_LOWER_GPIO_CNTL);
2344uint32_t high_vid_lower_gpio_cntl= RegRead32(R600_HIGH_VID_LOWER_GPIO_CNTL);
2345uint32_t ctxsw_vid_lower_gpio_cntl= RegRead32(R600_CTXSW_VID_LOWER_GPIO_CNTL);
2346uint32_t lower_gpio_enable= RegRead32(R600_LOWER_GPIO_ENABLE);
2347
2348// disable VIP
2349RegWrite32(RADEON_VIPH_CONTROL, (viph_control & ~RADEON_VIPH_EN));
2350
2351// enable the rom
2352RegWrite32(RADEON_BUS_CNTL, (bus_cntl & ~RADEON_BUS_BIOS_DIS_ROM));
2353
2354// Disable VGA mode
2355RegWrite32(AVIVO_D1VGA_CONTROL, (d1vga_control & ~(AVIVO_DVGA_CONTROL_MODE_ENABLE | AVIVO_DVGA_CONTROL_TIMING_SELECT)));
2356RegWrite32(AVIVO_D2VGA_CONTROL, (d2vga_control & ~(AVIVO_DVGA_CONTROL_MODE_ENABLE | AVIVO_DVGA_CONTROL_TIMING_SELECT)));
2357RegWrite32(AVIVO_VGA_RENDER_CONTROL, (vga_render_control & ~AVIVO_VGA_VSTATUS_CNTL_MASK));
2358RegWrite32(R600_ROM_CNTL, ((rom_cntl & ~R600_SCK_PRESCALE_CRYSTAL_CLK_MASK) | (1 << R600_SCK_PRESCALE_CRYSTAL_CLK_SHIFT) | R600_SCK_OVERWRITE));
2359RegWrite32(R600_GENERAL_PWRMGT, (general_pwrmgt & ~R600_OPEN_DRAIN_PADS));
2360RegWrite32(R600_LOW_VID_LOWER_GPIO_CNTL, (low_vid_lower_gpio_cntl & ~0x400));
2361RegWrite32(R600_MEDIUM_VID_LOWER_GPIO_CNTL, (medium_vid_lower_gpio_cntl & ~0x400));
2362RegWrite32(R600_HIGH_VID_LOWER_GPIO_CNTL, (high_vid_lower_gpio_cntl & ~0x400));
2363RegWrite32(R600_CTXSW_VID_LOWER_GPIO_CNTL, (ctxsw_vid_lower_gpio_cntl & ~0x400));
2364RegWrite32(R600_LOWER_GPIO_ENABLE, (lower_gpio_enable | 0x400));
2365
2366ret = read_vbios(true);
2367
2368// restore regs
2369RegWrite32(RADEON_VIPH_CONTROL, viph_control);
2370RegWrite32(RADEON_BUS_CNTL, bus_cntl);
2371RegWrite32(AVIVO_D1VGA_CONTROL, d1vga_control);
2372RegWrite32(AVIVO_D2VGA_CONTROL, d2vga_control);
2373RegWrite32(AVIVO_VGA_RENDER_CONTROL, vga_render_control);
2374RegWrite32(R600_ROM_CNTL, rom_cntl);
2375RegWrite32(R600_GENERAL_PWRMGT, general_pwrmgt);
2376RegWrite32(R600_LOW_VID_LOWER_GPIO_CNTL, low_vid_lower_gpio_cntl);
2377RegWrite32(R600_MEDIUM_VID_LOWER_GPIO_CNTL, medium_vid_lower_gpio_cntl);
2378RegWrite32(R600_HIGH_VID_LOWER_GPIO_CNTL, high_vid_lower_gpio_cntl);
2379RegWrite32(R600_CTXSW_VID_LOWER_GPIO_CNTL, ctxsw_vid_lower_gpio_cntl);
2380RegWrite32(R600_LOWER_GPIO_ENABLE, lower_gpio_enable);
2381}
2382
2383return ret;
2384}
2385
2386bool radeon_card_posted(void)
2387{
2388uint32_t reg;
2389
2390// first check CRTCs
2391reg = RegRead32(RADEON_CRTC_GEN_CNTL) | RegRead32(RADEON_CRTC2_GEN_CNTL);
2392if (reg & RADEON_CRTC_EN)
2393{
2394return true;
2395}
2396
2397// then check MEM_SIZE, in case something turned the crtcs off
2398reg = RegRead32(R600_CONFIG_MEMSIZE);
2399if (reg)
2400{
2401return true;
2402}
2403
2404return false;
2405}
2406
2407#if 0
2408bool devprop_add_pci_config_space(void)
2409{
2410int offset;
2411
2412uint8_t *config_space = malloc(0x100);
2413if (!config_space)
2414{
2415return false;
2416}
2417
2418for (offset = 0; offset < 0x100; offset += 4)
2419{
2420config_space[offset / 4] = pci_config_read32(card->pci_dev->dev.addr, offset);
2421}
2422
2423devprop_add_value(card->device, "ATY,PCIConfigSpace", config_space, 0x100);
2424free(config_space);
2425
2426return true;
2427}
2428#endif
2429
2430static charname[24];
2431static charname_parent[24];
2432
2433static bool init_card(pci_dt_t *pci_dev)
2434{
2435booladd_vbios = true;
2436inti;
2437intn_ports = 0;
2438
2439card = malloc(sizeof(card_t));
2440if (!card)
2441{
2442return false;
2443}
2444bzero(card, sizeof(card_t));
2445
2446card->pci_dev = pci_dev;
2447
2448for (i = 0; radeon_cards[i].device_id ; i++)
2449{
2450if (radeon_cards[i].device_id == pci_dev->device_id)
2451{
2452if ((radeon_cards[i].subsys_id == 0x00000000) || (radeon_cards[i].subsys_id == pci_dev->subsys_id.subsys_id))
2453{
2454card->info = &radeon_cards[i];
2455break;
2456}
2457}
2458}
2459
2460if (card->info == NULL) // Jief
2461{
2462DBG("Unsupported ATI card! Device ID: [%04x:%04x] Subsystem ID: [%04x:%04x] \n",
2463pci_dev->vendor_id, pci_dev->device_id, pci_dev->subsys_id.subsys.vendor_id, pci_dev->subsys_id.subsys.device_id);
2464return false;
2465}
2466 DBG("Found ATI card! Device ID:[%04X:%04X] Subsystem ID:[%08X] - Radeon [%04X:%08X] %s\n",
2467pci_dev->vendor_id, pci_dev->device_id, pci_dev->subsys_id.subsys_id, card->info->device_id, card->info->subsys_id, card->info->model_name);
2468
2469card->fb= (uint8_t *)(pci_config_read32(pci_dev->dev.addr, PCI_BASE_ADDRESS_0) & ~0x0f);
2470card->mmio= (uint8_t *)(pci_config_read32(pci_dev->dev.addr, PCI_BASE_ADDRESS_2) & ~0x0f);
2471card->io= (uint8_t *)(pci_config_read32(pci_dev->dev.addr, PCI_BASE_ADDRESS_4) & ~0x03);
2472
2473DBG("Framebuffer @0x%08X MMIO @0x%08XI/O Port @0x%08X ROM Addr @0x%08X\n",
2474(unsigned) card->fb, (unsigned) card->mmio, (unsigned) card->io, pci_config_read32(pci_dev->dev.addr, PCI_ROM_ADDRESS));
2475
2476card->posted = radeon_card_posted();
2477DBG("ATI card %s, ", card->posted ? "POSTed" : "non-POSTed");
2478DBG("\n");
2479get_vram_size();
2480
2481getBoolForKey(kATYbinimage, &add_vbios, &bootInfo->chameleonConfig);
2482
2483if (add_vbios)
2484{
2485if (!load_vbios_file(kUseAtiROM, pci_dev->vendor_id, pci_dev->device_id, pci_dev->subsys_id.subsys_id))
2486{
2487DBG("reading Video BIOS from %s", card->posted ? "legacy space" : "PCI ROM");
2488if (card->posted)
2489{
2490read_vbios(false);
2491}
2492else
2493{
2494read_disabled_vbios();
2495}
2496verbose("Video BIOS read from file\n");
2497}
2498}
2499
2500
2501if (card->info->chip_family >= CHIP_FAMILY_CEDAR)
2502{
2503DBG("ATI Radeon EVERGREEN family\n");
2504card->flags |= EVERGREEN;
2505}
2506
2507
2508// Check AtiConfig key for a framebuffer name,
2509card->cfg_name = getStringForKey(kAtiConfig, &bootInfo->chameleonConfig);
2510
2511