diff options
author | Martin Peres <martin.peres@ensi-bourges.fr> | 2011-03-19 22:44:35 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-16 10:47:07 +1000 |
commit | 01e542c65de11a47e726ebef63f5e59b4a74568d (patch) | |
tree | f93dd70c4078bafdab01c3f7aaa4b7d25eeacb89 /drivers/gpu/drm/nouveau/nouveau_pm.c | |
parent | 0eacdba3a186e5d5b8a8bb421caacddc135e67e3 (diff) | |
download | blackbird-op-linux-01e542c65de11a47e726ebef63f5e59b4a74568d.tar.gz blackbird-op-linux-01e542c65de11a47e726ebef63f5e59b4a74568d.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_pm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_pm.c | 1 |
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)); |