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