[PATCH 2/3] Don't forget to name the boot perflvl "boot"

Martin Peres martin.peres at ensi-bourges.fr
Wed Feb 2 15:51:00 PST 2011


---
 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 e2cde2a..dfb9288 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.1


--------------000303090409000501080801
Content-Type: text/x-patch;
 name="0003-Reclock-memory-using-PMS-on-nv50.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0003-Reclock-memory-using-PMS-on-nv50.patch"



More information about the Nouveau mailing list