Martin Peres
2011-Feb-02 23:51 UTC
[PATCH 3/3] Don't forget to name the boot perflvl "boot"
--- 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 de18bf2..201a15f 100644 --- a/drivers/gpu/drm/nouveau/nouveau_pm.c +++ b/drivers/gpu/drm/nouveau/nouveau_pm.c @@ -510,6 +510,7 @@ nouveau_pm_init(struct drm_device *dev) /* determine current ("boot") performance level */ ret = nouveau_pm_perflvl_get(dev, &pm->boot); if (ret == 0) { + strcpy(pm->boot.name, "boot"); pm->cur = &pm->boot; nouveau_pm_perflvl_info(&pm->boot, info, sizeof(info)); -- 1.7.4 --------------010907050904040909000000--