Chameleon

Chameleon Commit Details

Date:2011-07-25 11:30:31 (12 years 8 months ago)
Author:Azimutz
Commit:1222
Parents: 1221
Message:Small clean up + new devices.
Changes:
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/AMDGraphicsEnabler/ati.c

File differences

branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/AMDGraphicsEnabler/ati.c
4646
4747
4848
49
49
5050
5151
5252
......
5555
5656
5757
58
58
5959
6060
6161
6262
63
63
6464
65
65
6666
6767
6868
......
9999
100100
101101
102
102
103
103104
104105
105106
......
218219
219220
220221
222
223
224
225
221226
222
227
223228
224
229
225230
226
231
227232
228233
229234
......
360365
361366
362367
368
363369
364370
365371
......
10111017
10121018
10131019
1014
1020
10151021
10161022
10171023
......
12181224
12191225
12201226
1227
1228
1229
1230
1231
12211232
12221233
12231234
CHIP_FAMILY_RS880,
/* R700 */
CHIP_FAMILY_RV770,
CHIP_FAMILY_RV730, // review - rv730 is not an HD chipset - see read_disabled_vbios
CHIP_FAMILY_RV730, // review - see read_disabled_vbios
CHIP_FAMILY_RV710,
CHIP_FAMILY_RV740,
/* Evergreen */
CHIP_FAMILY_JUNIPER,
CHIP_FAMILY_CYPRESS,
CHIP_FAMILY_HEMLOCK,
//CHIP_FAMILY_GRANVILLE, //Azi:---
//CHIP_FAMILY_GRANVILLE, //Azi: review
/* Northern Islands */
CHIP_FAMILY_BARTS,
CHIP_FAMILY_CAICOS,
CHIP_FAMILY_CAYMAN,
CHIP_FAMILY_TURKS, // just 6758 & 6759 dev ids - review***
CHIP_FAMILY_TURKS, // review - just 6758 & 6759 dev ids
// mobility
CHIP_FAMILY_M96,
//CHIP_FAMILY_M96, // RV730
//---
CHIP_FAMILY_LAST
} chip_family_t;
"Cayman",
"Turks",
// mobility
"M96",
//"M96",
//---
""
};
static radeon_card_info_t radeon_cards[] = {
//Azi: added devices
// temporary placement
// FredWst
{ 0x954F,0xE990174B,CHIP_FAMILY_RV710,"Sapphire Radeon HD4350",kNull}, // review model
// dickhouse
{ 0x6760,0x1CB21043,CHIP_FAMILY_RV730,"AMD Radeon HD 6470M",kNull},
// Akbar
{ 0x9480,0x3628103C,CHIP_FAMILY_M96/*RV730*/,"ATI Radeon HD 4650M",kShrike}, // hp OK
{ 0x9480,0x3628103C,CHIP_FAMILY_RV730,/*M96*/"ATI Radeon HD 4650M",kShrike}, // hp OK
// issue #88
{ 0x6741,0x1646103C,CHIP_FAMILY_TURKS,/*??*/"AMD Radeon HD 6750M",kNull}, // - review turks
{ 0x6741,0x1646103C,CHIP_FAMILY_TURKS,"AMD Radeon HD 6750M",kNull}, // - review turks
// issue #121
{ 0x6741,0x050E1025,CHIP_FAMILY_TURKS,/*??*/"AMD Radeon HD 6650M",kNull}, // acer - review turks
{ 0x6741,0x050E1025,CHIP_FAMILY_TURKS,"AMD Radeon HD 6650M",kNull}, // acer - review turks
// issue #89
{ 0x68A8,0x050E1025,CHIP_FAMILY_CYPRESS,"AMD Radeon HD 6850M",kUakari}, //Azi: CHIP_FAMILY_GRANVILLE ?? review
// issue #90
{ 0x9552,0x3000174B, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500 Series",kNull},
{ 0x9552,0x30001787, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500 Series",kNull},
{ 0x9552,0x300017AF, CHIP_FAMILY_RV710,"ATI Radeon HD 4300/4500 Series",kNull},
{ 0x9552,0x04341028, CHIP_FAMILY_RV710,"ATI Mobility Radeon 4330",kShrike},
{ 0x9581,0x95811002, CHIP_FAMILY_RV630,"ATI Radeon HD 3600 Series",kNull},
{ 0x9581,0x3000148C, CHIP_FAMILY_RV630,"ATI Radeon HD 3600 Series",kNull},
RegWrite32(AVIVO_D2VGA_CONTROL, (d2vga_control & ~(AVIVO_DVGA_CONTROL_MODE_ENABLE | AVIVO_DVGA_CONTROL_TIMING_SELECT)));
RegWrite32(AVIVO_VGA_RENDER_CONTROL, (vga_render_control & ~AVIVO_VGA_VSTATUS_CNTL_MASK));
if (chip_family == CHIP_FAMILY_RV730) // hum... akbar****
if (chip_family == CHIP_FAMILY_RV730)
{
cg_spll_func_cntl = RegRead32(R600_CG_SPLL_FUNC_CNTL);
card->ports = card_configs[i].ports;
}
//Azi: http://forum.voodooprojects.org/index.php/topic,1959.msg10402.html#msg10402
// get around this...
if (pci_dev->device_id == 0x9552 && pci_dev->subsys_id.subsys_id == 0x04341028 )
card->ports = 2;
sprintf(name, "ATY,%s", card->cfg_name);
aty_name.type = kStr;
aty_name.size = strlen(name) + 1;

Archive Download the corresponding diff file

Revision: 1222