Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 329676
b: refs/heads/master
c: d89c8ce
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Eremin-Solenikov authored and Ben Skeggs committed Oct 3, 2012
1 parent 862ed73 commit 3507c2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: acac7bdba61226502a230db9245ca426a67102a9
refs/heads/master: d89c8ce07168ef6cd16c71d0a9f618829e866e87
3 changes: 2 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,8 @@ nouveau_pm_init(struct drm_device *dev)
nouveau_volt_init(dev);
nouveau_temp_init(dev);

INIT_LIST_HEAD(&pm->profiles);

/* determine current ("boot") performance level */
ret = nouveau_pm_perflvl_get(dev, &pm->boot);
if (ret) {
Expand All @@ -927,7 +929,6 @@ nouveau_pm_init(struct drm_device *dev)
strncpy(pm->boot.profile.name, "boot", 4);
pm->boot.profile.func = &nouveau_pm_static_profile_func;

INIT_LIST_HEAD(&pm->profiles);
list_add(&pm->boot.profile.head, &pm->profiles);

pm->profile_ac = &pm->boot.profile;
Expand Down

0 comments on commit 3507c2e

Please sign in to comment.