Chameleon

Chameleon Commit Details

Date:2015-10-17 14:33:31 (8 years 5 months ago)
Author:ErmaC
Commit:2774
Parents: 2773
Message:Add ID correction for Intel HD3000 (thx ikunikun), typo and indent.
Changes:
M/branches/ErmaC/Enoch/i386/libsaio/gma.c
M/branches/ErmaC/Enoch/i386/libsaio/memvendors.h

File differences

branches/ErmaC/Enoch/i386/libsaio/gma.c
131131
132132
133133
134
135
134136
135137
136138
......
671673
672674
673675
674
676
677
678
679
680
681
682
683
684
685
675686
676687
677688
{ 0x08,0x00,0x26,0x0a },// 14 "AAPL,ig-platform-id" //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
{ 0x08,0x00,0x2e,0x0a },// 15 "AAPL,ig-platform-id" //FB: 64MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT reserved GT3
{ 0x04,0x00,0x12,0x04 }// 16 "AAPL,ig-platform-id" //FB: 32MB, Pipes: 3, Ports: 3, FBMem: 3 - ULT mobile GT3
//0x0412000b
//0x0d260009
};
uint8_t broadwell_ig_vals[19][4] = {
devprop_add_value(device, "built-in",&BuiltIn, 1);
devprop_add_value(device, "class-code",ClassFix, 4);
devprop_add_value(device, "vendor-id",(uint8_t *)INTEL_VENDORID, 4);
// patch by ikunikun for i3-2125 and i5-2500K to enable HD3000.
if(((device_id << 16) | vendor_id) != GMA_SANDYBRIDGE_GT2) {
devprop_add_value(device, "vendor-id",(uint8_t *)INTEL_VENDORID, 4);
}
else
{
device_id = 0x00000126;
devprop_add_value(device, "device-id", (uint8_t *)&device_id, sizeof(device_id));
verbose("\tInjeting done: was [%04x:%04x] now is [%04x:%04x]\n", gma_dev->vendor_id, gma_dev->device_id, gma_dev->vendor_id, device_id);
}
devprop_add_value(device, "AAPL,tbl-info",HD3000_tbl_info, 18);
devprop_add_value(device, "AAPL,os-info",HD3000_os_info, 20);
branches/ErmaC/Enoch/i386/libsaio/memvendors.h
1111
1212
1313
14
14
1515
1616
1717
{
uint8_tbank;
uint8_tcode;
const char*name;
const char*name;
} VenIdName;
VenIdName vendorMap[] = {

Archive Download the corresponding diff file

Revision: 2774