Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282609
b: refs/heads/master
c: 8b5f4d0
h: refs/heads/master
i:
  282607: fb65e9f
v: v3
  • Loading branch information
Ben Skeggs committed Dec 21, 2011
1 parent 0aabd60 commit e3009c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 973e861657f6faaa3ee01de093d2307470a6d193
refs/heads/master: 8b5f4d0def9caa16527c95e7a4ba47bb8a4d9e1e
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nv50_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ nv50_pm_clocks_pre(struct drm_device *dev, struct nouveau_pm_level *perflvl)
/* memory: use pcie refclock if possible, otherwise use mpll */
info->mscript = perflvl->memscript;
if (clk_same(perflvl->memory, read_clk(dev, clk_src_href))) {
info->mctrl = nv_rd32(dev, 0x4008) | 0x00000200;
info->mctrl = 0x00000200 | (pll.log2p_bias << 19);
info->mcoef = nv_rd32(dev, 0x400c);
} else
if (perflvl->memory) {
Expand Down Expand Up @@ -606,7 +606,7 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)

/* modify mpll */
nv_mask(dev, 0x00c040, 0x0000c000, 0x0000c000);
nv_mask(dev, 0x004008, 0x81ff0200, 0x00000200 | info->mctrl);
nv_mask(dev, 0x004008, 0x01ff0200, 0x00000200 | info->mctrl);
nv_wr32(dev, 0x00400c, info->mcoef);
udelay(100);
nv_mask(dev, 0x004008, 0x81ff0200, info->mctrl);
Expand Down

0 comments on commit e3009c7

Please sign in to comment.