Chameleon

Chameleon Commit Details

Date:2014-02-25 17:47:32 (5 years 5 months ago)
Author:ErmaC
Commit:2377
Parents: 2376
Message:Gfx IDs update.
Changes:
M/trunk/i386/libsaio/gma.c
M/trunk/i386/libsaio/gma.h
M/trunk/i386/libsaio/nvidia.c
M/trunk/i386/libsaio/ati.c

File differences

trunk/i386/libsaio/gma.c
276276
277277
278278
279
280279
281
282
280
281
282
283283
284284
285285
......
337337
338338
339339
340
340
341
341342
342343
343344
......
537538
538539
539540
540
541
541542
542543
543544
544
545
545
546
546547
547548
548549
......
634635
635636
636637
638
637639
638640
641
639642
640643
641
644
645
646
647
648
649
650
651
652
653
642654
643655
644656
{GMA_IVYBRIDGE_D_GT1, HD_GRAPHICS_2500 },
{GMA_IVYBRIDGE_D_GT2, HD_GRAPHICS_4000 },
{GMA_IVYBRIDGE_S_GT1, HD_GRAPHICS },
// 015E /* ??? */
{GMA_IVYBRIDGE_S_GT2, "HD Graphics P4000" },
// 0172 /* HD Graphics 2500 Mobile */
// 0176 /* HD Graphics 2500 Mobile */
{GMA_IVYBRIDGE_S_GT3, HD_GRAPHICS }, // 015e
{GMA_IVYBRIDGE_S_GT4, HD_GRAPHICS_2500 }, // 0172 /* HD Graphics 2500 Mobile */
{GMA_IVYBRIDGE_S_GT5, HD_GRAPHICS_2500 }, // 0176 /* HD Graphics 2500 Mobile */
/* Haswell */
// 0090 /* ??? */
{GMA_HASWELL_CRW_B_GT3,IRIS_5200 },
{GMA_HASWELL_CRW_E_GT1,HD_GRAPHICS }, /* ??? */
{GMA_HASWELL_CRW_E_GT2,HD_GRAPHICS }, /* ??? */
{GMA_HASWELL_CRW_E_GT3,IRIS_5200 }
{GMA_HASWELL_CRW_E_GT3,IRIS_5200 },
{GMA_HASWELL_CRW_M_GT2_PLUS_IG,HD_GRAPHICS }
};
#define GFX_DEVICES_LEN (sizeof(intel_gfx_chipsets) / sizeof(intel_gfx_chipsets[0]))
case GMA_IVYBRIDGE_D_GT1: // HD Graphics 4000, HD Graphics 4000 Mobile, HD Graphics P4000, HD Graphics 2500 HD, Graphics 2500 Mobile
case GMA_IVYBRIDGE_M_GT1:
case GMA_IVYBRIDGE_S_GT1:
//case 0x8086015e:
case GMA_IVYBRIDGE_S_GT3: // 015e
case GMA_IVYBRIDGE_D_GT2:
case GMA_IVYBRIDGE_M_GT2:
case GMA_IVYBRIDGE_S_GT2:
//case 0x80860172:
//case 0x80860176:
case GMA_IVYBRIDGE_S_GT4: // 0172:
case GMA_IVYBRIDGE_S_GT5: // 0176:
if (getValueForKey(kAAPLCustomIG, &value, &len, &bootInfo->chameleonConfig) && len == AAPL_LEN_IVY * 2)
{
//case GMA_HASWELL_SDV_M_GT2_IG: // 0c16
//case GMA_HASWELL_SDV_D_GT2_PLUS_IG: // 0c22
//case GMA_HASWELL_SDV_M_GT2_PLUS_IG: // 0c26
case GMA_HASWELL_CRW_D_GT1: // 0d02
case GMA_HASWELL_CRW_D_GT2: // 0d12
case GMA_HASWELL_CRW_D_GT3: // 0d22
case GMA_HASWELL_CRW_M_GT1: // 0d06
case GMA_HASWELL_CRW_M_GT2: // 0d16
case GMA_HASWELL_CRW_M_GT3: // 0d26
//case GMA_HASWELL_CRW_M_GT2_PLUS_IG: // 0d36
case GMA_HASWELL_CRW_S_GT1: // 0d0a
case GMA_HASWELL_CRW_S_GT2: // 0d1a
case GMA_HASWELL_CRW_S_GT3: // 0d2a
case GMA_HASWELL_CRW_B_GT1: // 0d0b
case GMA_HASWELL_CRW_B_GT2: // 0d1b
case GMA_HASWELL_CRW_B_GT3: // 0d2b
case GMA_HASWELL_CRW_E_GT1: // 0d0e
case GMA_HASWELL_CRW_E_GT2: // 0d1e
case GMA_HASWELL_CRW_E_GT3: // 0d2e
case GMA_HASWELL_CRW_M_GT2_PLUS_IG: // 0d36
if (getValueForKey(kAAPLCustomIG, &value, &len, &bootInfo->chameleonConfig) && len == AAPL_LEN_HSW * 2)
{
trunk/i386/libsaio/gma.h
155155
156156
157157
158
159158
160
161
159
160
161
162162
163163
164164
......
230230
231231
232232
233
233
234234
235235
236236
#define GMA_IVYBRIDGE_D_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x0162) // HD Graphics 4000
//#define GMA_IVYBRIDGE_S_HB GFX_MODEL_CONSTRUCT(INTEL, 0x0158) /* Server */
#define GMA_IVYBRIDGE_S_GT1 GFX_MODEL_CONSTRUCT(INTEL, 0x015A) // HD Graphics 4000
// 015E // ??
#define GMA_IVYBRIDGE_S_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x016A) // HD Graphics P4000
// 0172 // HD Graphics 2500 Mobile
// 0176 // HD Graphics 2500 Mobile
#define GMA_IVYBRIDGE_S_GT3 GFX_MODEL_CONSTRUCT(INTEL, 0x015E) // Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
#define GMA_IVYBRIDGE_S_GT4 GFX_MODEL_CONSTRUCT(INTEL, 0x0172) // HD Graphics 2500 Mobile // Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
#define GMA_IVYBRIDGE_S_GT5 GFX_MODEL_CONSTRUCT(INTEL, 0x0176) // HD Graphics 2500 Mobile // 3rd Gen Core processor Graphics Controller
/* ==================================== */
//#define GMA_VALLEYVIEW_HB GFX_MODEL_CONSTRUCT(INTEL, 0x0F00) /* VLV1 */
#define GMA_HASWELL_CRW_E_GT1 GFX_MODEL_CONSTRUCT(INTEL, 0x0D0E)
#define GMA_HASWELL_CRW_E_GT2 GFX_MODEL_CONSTRUCT(INTEL, 0x0D1E)
#define GMA_HASWELL_CRW_E_GT3 GFX_MODEL_CONSTRUCT(INTEL, 0x0D2E)
//#define GMA_HASWELL_CRW_M_GT2_PLUS_IG GFX_MODEL_CONSTRUCT(INTEL, 0x0D36)
#define GMA_HASWELL_CRW_M_GT2_PLUS_IG GFX_MODEL_CONSTRUCT(INTEL, 0x0D36)
//#define GMA_HASWELL_CRW_S_GT2_PLUS_IG GFX_MODEL_CONSTRUCT(INTEL, 0x0D3A)
/* END */
trunk/i386/libsaio/nvidia.c
11301130
11311131
11321132
1133
11331134
11341135
11351136
11361137
11371138
11381139
1139
1140
1140
1141
11411142
11421143
11431144
11441145
11451146
1147
1148
1149
1150
1151
11461152
11471153
11481154
11491155
1150
1156
11511157
11521158
11531159
1160
1161
1162
1163
1164
11541165
1166
11551167
11561168
11571169
......
11621174
11631175
11641176
1177
1178
11651179
11661180
11671181
......
12031217
12041218
12051219
1220
12061221
12071222
12081223
......
12121227
12131228
12141229
1230
12151231
12161232
12171233
12181234
12191235
12201236
1221
1237
12221238
12231239
12241240
12251241
12261242
1243
1244
1245
1246
1247
1248
1249
1250
12271251
12281252
12291253
// 1170 - 117F
// 1180 - 118F
{ 0x10DE1180,"GeForce GTX 680" },
{ 0x10DE1182,"GeForce GTX 760 Ti" },
{ 0x10DE1183,"GeForce GTX 660 Ti" },
{ 0x10DE1184,"GeForce GTX 770" },
{ 0x10DE1185,"GeForce GTX 660" },
{ 0x10DE1187,"GeForce GTX 760" },
{ 0x10DE1188,"GeForce GTX 690" },
{ 0x10DE1189,"GeForce GTX 670" },
//{ 0x10DE118A,"GRID K520" },
//{ 0x10DE118B,"GRID K200" },
{ 0x10DE118A,"GRID K520" },
{ 0x10DE118B,"GRID K200" }, // GRID K2 GeForce USM
{ 0x10DE118E,"GeForce GTX 760 (192-bit)" },
{ 0x10DE118F,"Tesla K10" },
// 1190 - 119F
{ 0x10DE1192,"GeForce GK104" },
{ 0x10DE1193,"GeForce GTX 760 Ti" },
{ 0x10DE1198,"GeForce GTX 880M" },
{ 0x10DE1199,"GeForce GTX 870M" },
{ 0x10DE119a,"GeForce GTX 860M" },
{ 0x10DE119d,"GeForce GTX 775M" }, // Mac Edition
{ 0x10DE119e,"GeForce GTX 780M" }, // Mac Edition
{ 0x10DE119F,"GeForce GTX 780M" },
// 11A0 - 11AF
{ 0x10DE11A0,"GeForce GTX 680M" },
{ 0x10DE11A1,"GeForce GTX 670MX" },
{ 0x10DE11A2,"GeForce GTX 675MX" },
{ 0x10DE11A2,"GeForce GTX 675MX" }, // Mac Edition
{ 0x10DE11A3,"GeForce GTX 680MX" },
{ 0x10DE11A7,"GeForce GTX 675MX" },
// 11B0 - 11BF
{ 0x10DE11B0,"GRID K240Q" }, // K260Q vGPU
{ 0x10DE11B1,"GRID K2 Tesla USM" },
{ 0x10DE11B6,"Quadro K3100M" },
{ 0x10DE11B7,"Quadro K4100M" },
{ 0x10DE11B8,"Quadro K5100M" },
{ 0x10DE11BA,"Quadro K5000" },
{ 0x10DE11BB,"Quadro 4100" },
{ 0x10DE11BC,"Quadro K5000M" },
{ 0x10DE11BD,"Quadro K4000M" },
{ 0x10DE11BE,"Quadro K3000M" },
{ 0x10DE11C3,"GeForce GTX 650 Ti" },
{ 0x10DE11C4,"GeForce GTX 645" },
{ 0x10DE11C6,"GeForce GTX 650 Ti" },
{ 0x10DE11C7,"GeForce GTX 750 Ti" },
{ 0x10DE11C8,"GeForce GTX 650 OEM" },
// 11D0 - 11DF
{ 0x10DE11D0,"GK106-INT353" },
// 11E0 - 11EF
// 1270 - 127F
// 1280 - 128F
{ 0x10DE1280,"GeForce GT 635" },
{ 0x10DE1281,"GeForce GT 710" },
{ 0x10DE1282,"GeForce GT 640" },
{ 0x10DE1284,"GeForce GT 630" },
// 1290 - 129F
{ 0x10DE1293,"GeForce GT 730M" },
{ 0x10DE1294,"GeForce GT 740M" },
{ 0x10DE1295,"GeForce GT 710M" },
{ 0x10DE1296,"GeForce 825M" }, // GK208M
{ 0x10DE1298,"GeForce GT 720M" },
// 12A0 - 12AF
//{ 0x10DE12A0,"GeForce GT ???" },
{ 0x10DE12AF,"GK208-INT" },
{ 0x10DE12B0,"GK208-CS-Q" },
{ 0x10DE12B9,"Quadro K610M" },
{ 0x10DE12BA,"Quadro K510M" }
{ 0x10DE12BA,"Quadro K510M" },
// 12B0 - 12BF
// 12C0 - 12CF
// 12D0 - 12DF
// 12E0 - 12EF
// 12F0 - 12FF
{ 0x10DE1340,"GeForce 830M" },
{ 0x10DE1341,"GeForce 840M" },
{ 0x10DE1380,"GeForce GTX 750 Ti" },
{ 0x10DE1381,"GeForce GTX 750" },
{ 0x10DE1390,"GeForce 845M" },
{ 0x10DE1391,"GeForce GTX 850M" },
{ 0x10DE1392,"GeForce GTX 860M" },
{ 0x10DE1393,"GeForce 840M" }
};
static nvidia_card_info_t nvidia_card_exceptions[] = {
trunk/i386/libsaio/ati.c
15681568
15691569
15701570
1571
1571
15721572
15731573
15741574
15751575
1576
1576
15771577
15781578
15791579
{ 0x6820,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // ATI7000Controller.kext
{ 0x6821,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri}, // ATI7000Controller.kext
//{ 0x6823,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 8800M Series",kBuri},
//{ 0x6823,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 8850M Series",kBuri},
//{ 0x6824,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700M Series",kBuri},
{ 0x6825,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7870 Series",kBuri}, // ATI7000Controller.kext
{ 0x6826,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7700 Series",kBuri},
{ 0x6827,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 7850M/8850M Series",kBuri}, // ATI7000Controller.kext
//{ 0x6828,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD ??? Series",kBuri},
//{ 0x6828,0x00000000, CHIP_FAMILY_VERDE,"FirePro W600",kBuri},
//{ 0x6829,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD ??? Series",kBuri},
{ 0x682B,0x00000000, CHIP_FAMILY_VERDE,"AMD Radeon HD 8800M Series", kBuri},

Archive Download the corresponding diff file

Revision: 2377