Chameleon

Chameleon Commit Details

Date:2010-09-26 19:42:02 (13 years 6 months ago)
Author:Evan Lojewski
Commit:563
Parents: 562
Message:GMA 3150 additions
Changes:
M/branches/meklort/i386/modules/GraphicsEnabler/gma.c

File differences

branches/meklort/i386/modules/GraphicsEnabler/gma.c
4949
5050
5151
52
53
5254
5355
56
57
5458
5559
5660
......
104108
105109
106110
107
111
112
113
108114
109115
110116
111
117
118
119
120
112121
113122
114123
115
124
125
126
116127
117128
118129
{ 0x808627A2, "Mobile GMA950" },
{ 0x808627AE, "Mobile GMA950" },
{ 0x808627A6, "Mobile GMA950" },
{ 0x8086A011, "Mobile GMA3150" },
{ 0x8086A012, "Mobile GMA3150" },
{ 0x80862772, "Desktop GMA950" },
{ 0x80862776, "Desktop GMA950" },
{ 0x8086A001, "Desktop GMA3150" },
{ 0x8086A002, "Desktop GMA3150" },
{ 0x80862A02, "GMAX3100" },
{ 0x80862A03, "GMAX3100" },
{ 0x80862A12, "GMAX3100" },
devprop_add_value(device, "model", (uint8_t*)model, (strlen(model) + 1));
devprop_add_value(device, "device_type", (uint8_t*)"display", 8);
if (model == (char *)"Mobile GMA950") {
if ((model == (char *)"Mobile GMA950") ||
(model == (char *)"Mobile GMA3150"))
{
devprop_add_value(device, "AAPL,HasPanel", reg_TRUE, 4);
devprop_add_value(device, "built-in", &BuiltIn, 1);
devprop_add_value(device, "class-code", ClassFix, 4);
} else if (model == (char *)"Desktop GMA950") {
}
else if ((model == (char *)"Desktop GMA950") ||
(model == (char *)"Desktop GMA3150"))
{
BuiltIn = 0x01;
devprop_add_value(device, "built-in", &BuiltIn, 1);
devprop_add_value(device, "class-code", ClassFix, 4);
} else if (model == (char *)"GMAX3100") {
}
else if (model == (char *)"GMAX3100")
{
devprop_add_value(device, "AAPL,HasPanel",GMAX3100_vals[0], 4);
devprop_add_value(device, "AAPL,SelfRefreshSupported",GMAX3100_vals[1], 4);
devprop_add_value(device, "AAPL,aux-power-connected",GMAX3100_vals[2], 4);

Archive Download the corresponding diff file

Revision: 563