From: Roy Spliet <seven-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
To: "Alexandre Courbot"
<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Terje Bergström"
<tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: "nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org"
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Subject: Re: [RESEND PATCH nouveau 3/3] volt: add support for GK20A
Date: Mon, 01 Dec 2014 11:20:43 +0100 [thread overview]
Message-ID: <547C40FB.7060101@nimrod-online.com> (raw)
In-Reply-To: <CAAVeFuLBAyBv4u+op-9A7ZqW0wRwYyxHdd9QG_cu6a=x_hv+Sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Op 01-12-14 om 07:48 schreef Alexandre Courbot:
> On Mon, Dec 1, 2014 at 3:38 PM, Terje Bergström <tbergstrom@nvidia.com> wrote:
>> On 29.11.2014 10:44, Alexandre Courbot wrote:
>>> On Fri, Nov 28, 2014 at 9:09 PM, Roy Spliet <seven@nimrod-online.com> wrote:
>>>> I'm not sure if I completely understand your reply, so forgive me if I am
>>>> stating some obvious things:
>>>> The reason why I brought this up is because, the way I see it, DTS is the
>>>> replacement for (V)BIOS on ARM platforms, giving a set of parameters that
>>>> drivers (nouveau) can use for that particular instance (the Tegra K1 SoC) of
>>>> some more generic IP (gk20a). All the other devices nouveau supports have a
>>>> VBIOS to describe this kind of information to us, hence we haven't seen this
>>>> before. For CPUs there are plenty of examples though of such params defined
>>>> in DT: in arch/arm/boot/dts/ : imx6qdl.dtsi documents the min and max volt
>>>> for regulators, while the CPUs have a little freq<->volt mapping in
>>>> imx6q.dtsi. GPUs are new in a sense that NVIDIA is the first to actively
>>>> support upstream development (thanks!)
>>> Thanks for raising this point. I agree with your interpretation that
>>> DT is comparable to the VBIOS in desktop GPUs. The question then
>>> becomes whether this data can vary between different GK20A-using
>>> boards (and in this case this should probably be part of DT) or not
>>> (in which case I would advocate having this static information in the
>>> driver itself). Since I don't expect different GK20A-using chips to
>>> require different voltage for given frequencies, my gut feeling for
>>> the moment is that having this information in the driver is fine. I
>>> have added a few other NVIDIA people to gather thoughts.
>> The voltage<->frequency relationship is per chip, not per board. We read
>> the chip id at runtime, and programmatically determine the DVFS steps
>> based on that. CVB table contains the parameters for the algorithm.
>>
>> I think the table belongs in the driver. The table is not per board, and
>> the values in CVB table do not describe hardware, but parameters to an
>> algorithm.
> In that case I also think it would make more sense (and make things
> easier) to have these tables in the driver. Roy, do you have any
> objection?
>
If the table is per-chip, then I certainly agree!
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
next prev parent reply other threads:[~2014-12-01 10:20 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 11:12 [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use Vince Hsu
2014-11-28 11:12 ` Vince Hsu
[not found] ` <1417173180-21726-1-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 11:12 ` [RESEND PATCH nouveau 2/3] volt: allow non-bios voltage scaling Vince Hsu
2014-11-28 11:12 ` Vince Hsu
[not found] ` <1417173180-21726-2-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-29 8:22 ` Alexandre Courbot
2014-11-29 8:22 ` Alexandre Courbot
[not found] ` <CAAVeFuJp5pU62-=Bf=+i8nRX09vgZ4De00_f9kQjbp13jJa0+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 22:57 ` Martin Peres
2014-12-01 22:57 ` Martin Peres
2014-11-28 11:13 ` [RESEND PATCH nouveau 3/3] volt: add support for GK20A Vince Hsu
2014-11-28 11:13 ` Vince Hsu
[not found] ` <1417173180-21726-3-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 11:25 ` Roy Spliet
[not found] ` <54785BBA.50800-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-11-28 11:57 ` Vince Hsu
[not found] ` <54786343.4000806-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 12:09 ` Roy Spliet
[not found] ` <547865EA.10702-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-11-29 8:44 ` Alexandre Courbot
[not found] ` <CAAVeFuKY7=WfhAWPiPMkWU8JMg0a7dACqu=BNE+S5SVtdF870w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 6:38 ` Terje Bergström
[not found] ` <547C0CDD.5090506-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-12-01 6:48 ` Alexandre Courbot
[not found] ` <CAAVeFuLBAyBv4u+op-9A7ZqW0wRwYyxHdd9QG_cu6a=x_hv+Sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 6:52 ` Alexandre Courbot
[not found] ` <CAAVeFuKH4LxqgwwtQHL4mZSBKPDnoxtdonK2GBO5pg1hCoHMtg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 6:57 ` Terje Bergström
2014-12-01 10:20 ` Roy Spliet [this message]
2014-12-01 23:00 ` Martin Peres
2014-12-01 23:00 ` Martin Peres
[not found] ` <547CF2F9.6040905-GANU6spQydw@public.gmane.org>
2014-12-01 23:18 ` [Nouveau] " Ben Skeggs
2014-12-01 23:18 ` Ben Skeggs
2014-11-29 7:30 ` [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use Alexandre Courbot
2014-11-29 7:30 ` Alexandre Courbot
2014-12-01 10:01 ` Thierry Reding
2014-12-01 10:01 ` Thierry Reding
2014-12-01 22:23 ` [Nouveau] " Ben Skeggs
2014-12-01 22:23 ` Ben Skeggs
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=547C40FB.7060101@nimrod-online.com \
--to=seven-fa6nbp6kbxzzu6kwmffngwc/g2k4zdhf@public.gmane.org \
--cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=tbergstrom-DDmLM1+adcrQT0dZR+AlfA@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.