* PWM-based voltage management input clock
@ 2015-09-18 20:13 Martin Peres
[not found] ` <55FC7081.7050007-GANU6spQydw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Martin Peres @ 2015-09-18 20:13 UTC (permalink / raw)
To: gpu-public-documentation; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hello,
We recently reverse engineered PWM-based voltage management but found an
odity in the input clock frequency for the PWM controller. It seems like
RM is assuming an input clock of 27.648 MHz instead of the actual 27MHz
crystal found on the board.
I thus have the following questions:
- Is it a fixed value hardcoded in RM? (Current way it is done in Nouveau)
- Should we use crystal_MHz * 1.024?
I could spend some time hooking up my osciloscope to the VR to check if
it is a bringup issue but it would not help Nouveau much as we need to
reproduce the behaviour of RM anyway since this is the only validated
configuration.
Thanks in advance,
Martin
PS: The registers for this PWM controller are 0x20340 and 0x20344.
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <55FC7081.7050007-GANU6spQydw@public.gmane.org>]
* Re: PWM-based voltage management input clock [not found] ` <55FC7081.7050007-GANU6spQydw@public.gmane.org> @ 2015-09-18 20:30 ` Andy Ritger [not found] ` <20150918203051.GA23395-FqhoBIChHNk6p33qAC56yVaTQe2KTcn/@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Andy Ritger @ 2015-09-18 20:30 UTC (permalink / raw) To: Martin Peres Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, gpu-public-documentation Thanks, Martin. I'll try to follow up on this next week and get you an answer. What GPUs have you observed this on? On Fri, Sep 18, 2015 at 11:13:53PM +0300, Martin Peres wrote: > Hello, > > We recently reverse engineered PWM-based voltage management but found an > odity in the input clock frequency for the PWM controller. It seems like RM > is assuming an input clock of 27.648 MHz instead of the actual 27MHz crystal > found on the board. > > I thus have the following questions: > - Is it a fixed value hardcoded in RM? (Current way it is done in Nouveau) > - Should we use crystal_MHz * 1.024? > > I could spend some time hooking up my osciloscope to the VR to check if it > is a bringup issue but it would not help Nouveau much as we need to > reproduce the behaviour of RM anyway since this is the only validated > configuration. > > Thanks in advance, > Martin > > PS: The registers for this PWM controller are 0x20340 and 0x20344. _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20150918203051.GA23395-FqhoBIChHNk6p33qAC56yVaTQe2KTcn/@public.gmane.org>]
* Re: PWM-based voltage management input clock [not found] ` <20150918203051.GA23395-FqhoBIChHNk6p33qAC56yVaTQe2KTcn/@public.gmane.org> @ 2015-09-19 16:21 ` Martin Peres [not found] ` <55FD8B70.6010704-GANU6spQydw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Martin Peres @ 2015-09-19 16:21 UTC (permalink / raw) To: Andy Ritger Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, gpu-public-documentation On 18/09/15 23:30, Andy Ritger wrote: > Thanks, Martin. I'll try to follow up on this next week and get you an answer. What GPUs have you observed this on? > Thanks Andy, As far as I can tell, it is the case for all GPUs using the PWM-based voltage management. To be more specific, we have seen this behaviour on a GK106 (mobile), a GM117 and a GM204. _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <55FD8B70.6010704-GANU6spQydw@public.gmane.org>]
* Re: PWM-based voltage management input clock [not found] ` <55FD8B70.6010704-GANU6spQydw@public.gmane.org> @ 2015-10-26 23:47 ` Martin Peres 0 siblings, 0 replies; 4+ messages in thread From: Martin Peres @ 2015-10-26 23:47 UTC (permalink / raw) To: Andy Ritger Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, gpu-public-documentation On 19/09/15 19:21, Martin Peres wrote: > On 18/09/15 23:30, Andy Ritger wrote: >> Thanks, Martin. I'll try to follow up on this next week and get you >> an answer. What GPUs have you observed this on? >> > Thanks Andy, > > As far as I can tell, it is the case for all GPUs using the PWM-based > voltage management. To be more specific, we have seen this behaviour > on a GK106 (mobile), a GM117 and a GM204. I guess this has fell into the cracks :) Any updates on this? Thanks, Martin _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-26 23:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 20:13 PWM-based voltage management input clock Martin Peres
[not found] ` <55FC7081.7050007-GANU6spQydw@public.gmane.org>
2015-09-18 20:30 ` Andy Ritger
[not found] ` <20150918203051.GA23395-FqhoBIChHNk6p33qAC56yVaTQe2KTcn/@public.gmane.org>
2015-09-19 16:21 ` Martin Peres
[not found] ` <55FD8B70.6010704-GANU6spQydw@public.gmane.org>
2015-10-26 23:47 ` Martin Peres
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.