Le 23/01/2011 15:14, Martin Peres a écrit :
Hi everyone,

I would like devs to test this patch on all their cards(<nvc0) and report bugs/instability. It shouldn't ever crash (but it may not always work and return -EAGAIN).

I've attached a little bash script that you need to modify according to the available perf levels. Please launch it and play, watch videos or browse the internet.

Also, if you could look at the hold_spin variable and tell me how you would deal with that, it would be kind of you. The problem is that PGRAPH may take an awful lot of time to pause in certain conditions and holding the lock at this position isn't needed (as far as I can tell, the critical ressource is fifo_reassign).

Martin

PS: I'll be out in an hour for a week so I may be slower to answer messages.
Patch 3: Don't forget to set the name of the boot perf level.

>From a7bb68ea2f2aefffd6a1254658b0d424c45622b5 Mon Sep 17 00:00:00 2001
From: Martin Peres <martin.pe...@ensi-bourges.fr>
Date: Thu, 3 Feb 2011 00:51:00 +0100
Subject: [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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to