Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354419
b: refs/heads/master
c: 4b488af
h: refs/heads/master
i:
  354417: 4dcc827
  354415: 64476ac
v: v3
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Feb 5, 2013
1 parent 617e11e commit b5c6aa5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a7fd2db79ab619cecb803619f8077956ec124cc
refs/heads/master: 4b488afbc4f0b16dc9507857afb445ae7aa20af2
16 changes: 0 additions & 16 deletions trunk/drivers/staging/xgifb/vb_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,22 +131,6 @@ static void XGINew_SetMemoryClock(struct xgi_hw_device_info *HwDeviceExtension,
xgifb_reg_set(pVBInfo->P3c4,
0x30,
XGI340_ECLKData[pVBInfo->ram_type].SR30);

/* When XG42 ECLK = MCLK = 207MHz, Set SR32 D[1:0] = 10b */
/* Modify SR32 value, when MCLK=207MHZ, ELCK=250MHz,
* Set SR32 D[1:0] = 10b */
if (HwDeviceExtension->jChipType == XG42) {
if ((pVBInfo->MCLKData[pVBInfo->ram_type].SR28 == 0x1C) &&
(pVBInfo->MCLKData[pVBInfo->ram_type].SR29 == 0x01) &&
(((XGI340_ECLKData[pVBInfo->ram_type].SR2E == 0x1C) &&
(XGI340_ECLKData[pVBInfo->ram_type].SR2F == 0x01)) ||
((XGI340_ECLKData[pVBInfo->ram_type].SR2E == 0x22) &&
(XGI340_ECLKData[pVBInfo->ram_type].SR2F == 0x01))))
xgifb_reg_set(pVBInfo->P3c4,
0x32,
((unsigned char) xgifb_reg_get(
pVBInfo->P3c4, 0x32) & 0xFC) | 0x02);
}
}

static void XGINew_DDRII_Bootup_XG27(
Expand Down

0 comments on commit b5c6aa5

Please sign in to comment.