summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@ensi-bourges.fr>2011-03-20 00:44:35 +0300
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 04:47:07 +0400
commit01e542c65de11a47e726ebef63f5e59b4a74568d (patch)
treef93dd70c4078bafdab01c3f7aaa4b7d25eeacb89
parent0eacdba3a186e5d5b8a8bb421caacddc135e67e3 (diff)
downloadlinux-01e542c65de11a47e726ebef63f5e59b4a74568d.tar.xz
drm/nouveau: name the boot perflvl "boot"
Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c
index 4399e2f34db4..0b1caebc6eee 100644
--- a/drivers/gpu/drm/nouveau/nouveau_pm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_pm.c
@@ -490,6 +490,7 @@ nouveau_pm_init(struct drm_device *dev)
/* determine current ("boot") performance level */
ret = nouveau_pm_perflvl_get(dev, &pm->boot);
if (ret == 0) {
+ strncpy(pm->boot.name, "boot", 4);
pm->cur = &pm->boot;
nouveau_pm_perflvl_info(&pm->boot, info, sizeof(info));