From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [Patch] Yet another version of the card pausing patch
Date: Thu, 03 Feb 2011 01:22:11 +0100 [thread overview]
Message-ID: <4D49F533.4080301@free.fr> (raw)
In-Reply-To: <4D3C37BA.6050503-GANU6spQydw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
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.
[-- Attachment #2: 0003-Don-t-forget-to-name-the-boot-perflvl-boot.patch --]
[-- Type: text/x-patch, Size: 865 bytes --]
From a7bb68ea2f2aefffd6a1254658b0d424c45622b5 Mon Sep 17 00:00:00 2001
From: Martin Peres <martin.peres-Iz16wY1oaNPLSKGbIzaifA@public.gmane.org>
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
[-- Attachment #3: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2011-02-03 0:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-23 14:14 [Patch] Yet another version of the card pausing patch Martin Peres
[not found] ` <4D3C37BA.6050503-GANU6spQydw@public.gmane.org>
2011-02-03 0:22 ` Martin Peres [this message]
2011-03-14 0:29 ` Martin Peres
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D49F533.4080301@free.fr \
--to=martin.peres-ganu6spqydw@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.