drm/nouveau: name the boot perflvl "boot"
authorMartin Peres <martin.peres@ensi-bourges.fr>
Sat, 19 Mar 2011 21:44:35 +0000 (22:44 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 May 2011 00:47:07 +0000 (10:47 +1000)
Signed-off-by: Martin Peres <martin.peres@ensi-bourges.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c

index 4399e2f34db41068dd1769a06af1547b6603a263..0b1caebc6eee274be0ecca69358dcc78d115b644 100644 (file)
@@ -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));