Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293766
b: refs/heads/master
c: c11dd0d
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Mar 13, 2012
1 parent 28fc622 commit 71f78d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 4489b9835a0867617a9ec29cc978a9c2c9eca363
refs/heads/master: c11dd0da5277596d0ccdccb745b273d69a94f2d7
8 changes: 5 additions & 3 deletions trunk/drivers/gpu/drm/nouveau/nouveau_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,11 @@ nouveau_pm_perflvl_get(struct drm_device *dev, struct nouveau_pm_level *perflvl)

memset(perflvl, 0, sizeof(*perflvl));

ret = pm->clocks_get(dev, perflvl);
if (ret)
return ret;
if (pm->clocks_get) {
ret = pm->clocks_get(dev, perflvl);
if (ret)
return ret;
}

if (pm->voltage.supported && pm->voltage_get) {
ret = pm->voltage_get(dev);
Expand Down

0 comments on commit 71f78d1

Please sign in to comment.