All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Peres <martin.peres-GANU6spQydw@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCH v3 1/3] drm/nouveau: support for probing platform devices
Date: Thu, 26 Jun 2014 17:10:53 +0200	[thread overview]
Message-ID: <53AC37FD.4070007@free.fr> (raw)
In-Reply-To: <CAAVeFuJesHEpNyqtMq+4HmRWNaW72bfrR_ODXD3=DtMKxx_PKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Le 26/06/2014 16:58, Alexandre Courbot a écrit :
> On Thu, Jun 26, 2014 at 6:30 PM, Roy Spliet <seven-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org> wrote:
>> op 26-06-14 07:33, Alexandre Courbot schreef:
>>
>>> Add a platform driver for Nouveau devices declared using the device tree
>>> or platform data. This driver currently supports GK20A on Tegra
>>> platforms and is only compiled for these platforms if Nouveau is
>>> enabled.
>>>
>>> Nouveau will probe the chip type itself using the BOOT0 register, so all
>>> this driver really needs to do is to make sure the module is powered and
>>> its clocks active before calling nouveau_drm_platform_probe().
>>>
>>> Heavily based on work done by Thierry Reding.
>>>
>>> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>>> Signed-off-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>>> ---
>>>    drivers/gpu/drm/nouveau/Kconfig            |   8 ++
>>>    drivers/gpu/drm/nouveau/Makefile           |   3 +
>>>    drivers/gpu/drm/nouveau/nouveau_drm.c      |  53 ++++++---
>>>    drivers/gpu/drm/nouveau/nouveau_drm.h      |   8 ++
>>>    drivers/gpu/drm/nouveau/nouveau_platform.c | 182
>>> +++++++++++++++++++++++++++++
>>>    drivers/gpu/drm/nouveau/nouveau_platform.h |  49 ++++++++
>>>    6 files changed, 289 insertions(+), 14 deletions(-)
>>>    create mode 100644 drivers/gpu/drm/nouveau/nouveau_platform.c
>>>    create mode 100644 drivers/gpu/drm/nouveau/nouveau_platform.h
>>>
>>> diff --git a/drivers/gpu/drm/nouveau/Kconfig
>>> b/drivers/gpu/drm/nouveau/Kconfig
>>> index 637c29a33127..d4abaebfc35b 100644
>>> --- a/drivers/gpu/drm/nouveau/Kconfig
>>> +++ b/drivers/gpu/drm/nouveau/Kconfig
>>> @@ -25,6 +25,14 @@ config DRM_NOUVEAU
>>>          help
>>>            Choose this option for open-source nVidia support.
>>>    +config NOUVEAU_PLATFORM_DRIVER
>>> +       tristate "Nouveau (nVidia) integrated GPUs"
>>
>> Maybe a little nit, but isn't the recommended capitalisation nowadays NVIDIA
>> instead of nVidia?
>
> That's correct, I just copied that text from another Kconfig entry.
> This capitalization is also used elsewhere in Nouveau, so please allow
> me to fix this one in a separate patch. ;)
>
>> Also, integrated GPUs sounds like this is required for
>> the ION IGPs as well, although I reckon the dependencies on the next line
>> will hide it from the reader on x86.
>
> I don't know what word could better describe GK20A - we need to make
> the distinction because you can also use discrete GPUs on Tegra. Any
> better suggestion?

SoCs?

  parent reply	other threads:[~2014-06-26 15:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  5:33 [PATCH v3 0/3] drm/nouveau: support for probing platform devices Alexandre Courbot
2014-06-26  5:33 ` Alexandre Courbot
     [not found] ` <1403760814-26148-1-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-06-26  5:33   ` [PATCH v3 1/3] " Alexandre Courbot
2014-06-26  5:33     ` Alexandre Courbot
     [not found]     ` <1403760814-26148-2-git-send-email-acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-06-26  9:30       ` Roy Spliet
     [not found]         ` <53ABE819.7000506-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-06-26 14:58           ` Alexandre Courbot
     [not found]             ` <CAAVeFuJesHEpNyqtMq+4HmRWNaW72bfrR_ODXD3=DtMKxx_PKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-26 15:10               ` Martin Peres [this message]
     [not found]                 ` <53AC37FD.4070007-GANU6spQydw@public.gmane.org>
2014-06-26 15:18                   ` Alexandre Courbot
     [not found]                     ` <CAAVeFuL-gh52UCXPiPsd+8xNEe2KXoH5H8KSz18wR7DAthfNcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-26 16:31                       ` Martin Peres
2014-06-26  5:33   ` [PATCH v3 2/3] ARM: tegra: of: add GK20A device tree binding Alexandre Courbot
2014-06-26  5:33     ` Alexandre Courbot
2014-06-26  5:33   ` [PATCH v3 3/3] ARM: tegra: add GK20A GPU to Tegra124 DT Alexandre Courbot
2014-06-26  5:33     ` Alexandre Courbot
2014-07-02  9:09   ` [PATCH v3 0/3] drm/nouveau: support for probing platform devices Alexandre Courbot
2014-07-02  9:09     ` Alexandre Courbot
2014-07-02 16:23     ` Stephen Warren
2014-07-02 16:23       ` Stephen Warren

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=53AC37FD.4070007@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.