From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 66176] nouveau.perflvl kernel parameter doesn't work Date: Thu, 27 Jun 2013 13:04:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1242608529==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1242608529== Content-Type: multipart/alternative; boundary="1372338293.c4EA782.11692"; charset="us-ascii" --1372338293.c4EA782.11692 Date: Thu, 27 Jun 2013 13:04:53 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66176 --- Comment #6 from Emil Velikov --- Although that seems too much as a start. Thus it would be nice to get the non-memory engine(s) reclock first and then deal with memory/timings/etc This can be done by forcing current code to ignore the memory clock stored in vbios, i.e. diff --git a/drm/nv40_pm.c b/drm/nv40_pm.c index 3af5bcd..0be61db 100644 --- a/drm/nv40_pm.c +++ b/drm/nv40_pm.c @@ -191,7 +191,7 @@ nv40_pm_clocks_pre(struct drm_device *dev, struct nouveau_pm_level *perflvl) } /* memory clock */ - if (!perflvl->memory) { + if (1) { info->mpll_ctrl = 0x00000000; goto out; } -- You are receiving this mail because: You are the assignee for the bug. --1372338293.c4EA782.11692 Date: Thu, 27 Jun 2013 13:04:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 66176 from
Although that seems too much as a start. Thus it would be nice to get the
non-memory engine(s) reclock first and then deal with memory/timings/etc

This can be done by forcing current code to ignore the memory clock stored in
vbios, i.e.

diff --git a/drm/nv40_pm.c b/drm/nv40_pm.c
index 3af5bcd..0be61db 100644
--- a/drm/nv40_pm.c
+++ b/drm/nv40_pm.c
@@ -191,7 +191,7 @@ nv40_pm_clocks_pre(struct drm_device *dev, struct
nouveau_pm_level *perflvl)
     }

     /* memory clock */
-    if (!perflvl->memory) {
+    if (1) {
         info->mpll_ctrl = 0x00000000;
         goto out;
     }


You are receiving this mail because:
  • You are the assignee for the bug.
--1372338293.c4EA782.11692-- --===============1242608529== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1242608529==--