[Nouveau] [Bug 66176] nouveau.perflvl kernel parameter doesn't work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 27 05:58:15 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66176

--- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #4)
...
> to be *forced* to MANUAL, regardless of its previous state (which I suspect
> is NONE) and then try and set the fan speed.

I would call it "set", rather than "forced"

In the second part you'll need a "reference point" - which can be one of
* The kernel and/or "...I've also done this "manually" using the pathscale
tools"
* Mmio dump of the blob reclocking the card

Initially I would recommend the former

> 
> > * pclk->pll_calc seems to return 0, causing nv40_calc_pll() to throw ERANGE

Confirm if the function nv40_calc_pll() is the one throwing ERANGE. Then dwell
into the function, and analyse any differences with your "reff point".  There
may be a typo/inverted logic, as this code moved around in nouveau quite a few
times

> > * Some of the functions called within nouveau_mem_timing_calc() may need
> > tweaking depending on now well we generate the appropriate memory timings

nouveau_mem_timing_calc()
* parses the memory timing table stored in vbios - nouveau_perf_timing()
* generates the appropriate values based on the card generation -
nv**_mem_timing_calc()
* and the memory type - nouveau_mem_*ddr*()
* On newer cards (iirc nvc0+) it maps the timings with memory frequency range.
On previous generations the timings are related to the performance level rather
than the memory frequency (range)

> 
> > P.S.
> > Only one zero is required to change the perflvl - "0" rather than "0,0"
> Well, by looking at the code, the performance level consists of 2 parts - AC
> (power) and DC (battery) separated by a comma (","), so I used "0,0" for the
> sake of completeness.

You got me there, I have no recollection when AC/DC got introduced ^_^

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130627/ed034d21/attachment.html>


More information about the Nouveau mailing list