projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d467646
)
drm/nouveau/pm: fix missing volt changes when boot voltage is undefined
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 10 Nov 2011 03:20:14 +0000
(13:20 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:33 +0000
(19:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_pm.c
b/drivers/gpu/drm/nouveau/nouveau_pm.c
index
c6ebf69
..
1442d06
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_pm.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_pm.c
@@
-117,7
+117,7
@@
nouveau_pm_perflvl_aux(struct drm_device *dev, struct nouveau_pm_level *perflvl,
}
if (pm->voltage.supported && pm->voltage_set) {
- if (
a->volt_min && b
->volt_min && b->volt_min > a->volt_min) {
+ if (
perflvl
->volt_min && b->volt_min > a->volt_min) {
ret = pm->voltage_set(dev, perflvl->volt_min);
if (ret) {
NV_ERROR(dev, "voltage set failed: %d\n", ret);