public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alexandre Courbot" <acourbot@nvidia.com>
To: "Danilo Krummrich" <dakr@kernel.org>
Cc: "Cheng-Yang Chou" <yphbchou0911@gmail.com>,
	<aliceryhl@google.com>, <chia7712@gmail.com>,
	<dri-devel@lists.freedesktop.org>, <gary@garyguo.net>,
	<jserv@ccns.ncku.edu.tw>, <linux-kernel@vger.kernel.org>,
	<nouveau@lists.freedesktop.org>, <simona@ffwll.ch>
Subject: Re: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Date: Wed, 18 Mar 2026 00:22:43 +0900	[thread overview]
Message-ID: <DH55S9CU9YCB.2Y3G50LUGSAZF@nvidia.com> (raw)
In-Reply-To: <DH53WAJHTQFS.ZSO15BGJLQ8M@kernel.org>

On Tue Mar 17, 2026 at 10:53 PM JST, Danilo Krummrich wrote:
> On Tue Mar 17, 2026 at 2:20 PM CET, Alexandre Courbot wrote:
>> On Tue Mar 17, 2026 at 6:23 PM JST, Cheng-Yang Chou wrote:
>>> Rename the nova-drm driver directory from drivers/gpu/drm/nova/ to
>>> drivers/gpu/drm/nova-drm/ and the top-level source file from nova.rs
>>> to nova_drm.rs (matching the object name nova_drm.o) to follow the
>>> kebab-case naming convention already used by the auxiliary device name.
>>>
>>> Update MAINTAINERS, Kconfig, and Makefile references accordingly.
>>> Update the Kconfig help text to reflect the new module name nova-drm.
>>>
>>> Link: https://github.com/Rust-for-Linux/linux/issues/1228
>>> Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
>>> Reviewed-by: John Hubbard <jhubbard@nvidia.com>
>>> ---
>>> Changes in v3:
>>> - Rename subject line (John Hubbard)
>>>
>>>  MAINTAINERS                                            | 6 +++---
>>>  drivers/gpu/drm/Kconfig                                | 2 +-
>>>  drivers/gpu/drm/Makefile                               | 2 +-
>>>  drivers/gpu/drm/{nova => nova-drm}/Kconfig             | 2 +-
>>>  drivers/gpu/drm/nova-drm/Makefile                      | 3 +++
>>>  drivers/gpu/drm/{nova => nova-drm}/driver.rs           | 0
>>>  drivers/gpu/drm/{nova => nova-drm}/file.rs             | 0
>>>  drivers/gpu/drm/{nova => nova-drm}/gem.rs              | 0
>>
>> That `drm/nova-drm` reads a bit awkwardly to me and feels unnecessary.
>> Even `tegra-drm` is in `drm/tegra`.
>
> Well, that's why I named it "nova" in the first place, but I don't want
> KBUILD_MODNAME to diverge from the directory name and I also don't want the
> driver name to diverge from KBUILD_MODNAME.

What is the rationale for that? I like consistency too, but also think
it is not particularly difficult to figure out that "nova-drm" resides
in "drm/nova".

  reply	other threads:[~2026-03-17 15:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16 12:08 [PATCH v2 0/2] gpu: nova: rename drivers and directory to use kebab-case convention Cheng-Yang Chou
2026-03-16 12:08 ` [PATCH v2 1/2] gpu: nova: rename drivers " Cheng-Yang Chou
2026-03-16 14:02   ` Gary Guo
2026-03-17  5:21   ` John Hubbard
2026-03-17 16:06   ` Danilo Krummrich
2026-03-16 12:08 ` [PATCH v2 2/2] gpu: nova-drm: rename nova/ directory to nova-drm/ Cheng-Yang Chou
2026-03-17  5:23   ` John Hubbard
2026-03-17  9:23     ` [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm Cheng-Yang Chou
2026-03-17 13:20       ` Alexandre Courbot
2026-03-17 13:31         ` Martin Roukala
2026-03-17 13:53         ` Danilo Krummrich
2026-03-17 15:22           ` Alexandre Courbot [this message]
2026-03-17 15:34             ` Danilo Krummrich
2026-03-18  0:56               ` Alexandre Courbot
2026-03-18 18:10                 ` John Hubbard

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=DH55S9CU9YCB.2Y3G50LUGSAZF@nvidia.com \
    --to=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=chia7712@gmail.com \
    --cc=dakr@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gary@garyguo.net \
    --cc=jserv@ccns.ncku.edu.tw \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nouveau@lists.freedesktop.org \
    --cc=simona@ffwll.ch \
    --cc=yphbchou0911@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox