Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269614
b: refs/heads/master
c: f3f2f54
h: refs/heads/master
v: v3
  • Loading branch information
Martin Peres authored and Ben Skeggs committed Sep 20, 2011
1 parent 10858a8 commit 0a73be8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 591b06d73bb8a2da879b1159342b8be192bf1119
refs/heads/master: f3f2f54e11ff6f3f39a108bfcf7e074b282e3a50
4 changes: 4 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nv04_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void
nv04_pm_clock_set(struct drm_device *dev, void *pre_state)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct nouveau_timer_engine *ptimer = &dev_priv->engine.timer;
struct nv04_pm_state *state = pre_state;
u32 reg = state->pll.reg;

Expand All @@ -85,6 +86,9 @@ nv04_pm_clock_set(struct drm_device *dev, void *pre_state)
nv_mask(dev, 0x1002c0, 0, 1 << 8);
}

if (reg == NV_PRAMDAC_NVPLL_COEFF)
ptimer->init(dev);

kfree(state);
}

0 comments on commit 0a73be8

Please sign in to comment.