* [PATCH v3 1/2] gpu: nova, nova-core: Rename to kebab-case
2026-05-07 18:49 [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case Cheng-Yang Chou
@ 2026-05-07 18:49 ` Cheng-Yang Chou
2026-05-07 18:49 ` [PATCH v3 2/2] gpu: nova-drm: Rename nova to nova-drm Cheng-Yang Chou
2026-05-09 22:05 ` [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case Danilo Krummrich
2 siblings, 0 replies; 4+ messages in thread
From: Cheng-Yang Chou @ 2026-05-07 18:49 UTC (permalink / raw)
To: Danilo Krummrich, Alice Ryhl, Alexandre Courbot, David Airlie,
Simona Vetter, Gary Guo, John Hubbard
Cc: nouveau, Ching-Chun Huang, Chia-Ping Tsai, Cheng-Yang Chou
Module names must follow kernel kebab-case convention before they
are exposed as UAPI via driver_override.
Rename the nova-drm module from "Nova" to "nova-drm" and the
nova-core module from "NovaCore" to "nova-core".
Update NOVA_CORE_MODULE_NAME to match the renamed nova-core module.
Suggested-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Gary Guo <gary@garyguo.net>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Timur Tabi <ttabi@nvidia.com>
Closes: https://github.com/Rust-for-Linux/linux/issues/1228
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
drivers/gpu/drm/nova/driver.rs | 2 +-
drivers/gpu/drm/nova/nova.rs | 2 +-
drivers/gpu/nova-core/nova_core.rs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/nova/driver.rs b/drivers/gpu/drm/nova/driver.rs
index b1af0a099551..f8f7beeccb13 100644
--- a/drivers/gpu/drm/nova/driver.rs
+++ b/drivers/gpu/drm/nova/driver.rs
@@ -36,7 +36,7 @@ pub(crate) struct NovaData {
desc: c"Nvidia Graphics",
};
-const NOVA_CORE_MODULE_NAME: &CStr = c"NovaCore";
+const NOVA_CORE_MODULE_NAME: &CStr = c"nova-core";
const AUXILIARY_NAME: &CStr = c"nova-drm";
kernel::auxiliary_device_table!(
diff --git a/drivers/gpu/drm/nova/nova.rs b/drivers/gpu/drm/nova/nova.rs
index 8893e58ee0db..1fd454c7e0df 100644
--- a/drivers/gpu/drm/nova/nova.rs
+++ b/drivers/gpu/drm/nova/nova.rs
@@ -10,7 +10,7 @@
kernel::module_auxiliary_driver! {
type: NovaDriver,
- name: "Nova",
+ name: "nova-drm",
authors: ["Danilo Krummrich"],
description: "Nova GPU driver",
license: "GPL v2",
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index 3a609f6937e4..80264094d44b 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -67,7 +67,7 @@ fn init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> {
module! {
type: NovaCoreModule,
- name: "NovaCore",
+ name: "nova-core",
authors: ["Danilo Krummrich"],
description: "Nova Core GPU driver",
license: "GPL v2",
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v3 2/2] gpu: nova-drm: Rename nova to nova-drm
2026-05-07 18:49 [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case Cheng-Yang Chou
2026-05-07 18:49 ` [PATCH v3 1/2] gpu: nova, nova-core: Rename to kebab-case Cheng-Yang Chou
@ 2026-05-07 18:49 ` Cheng-Yang Chou
2026-05-09 22:05 ` [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case Danilo Krummrich
2 siblings, 0 replies; 4+ messages in thread
From: Cheng-Yang Chou @ 2026-05-07 18:49 UTC (permalink / raw)
To: Danilo Krummrich, Alice Ryhl, Alexandre Courbot, David Airlie,
Simona Vetter, Gary Guo, John Hubbard
Cc: nouveau, Ching-Chun Huang, Chia-Ping Tsai, Cheng-Yang Chou
The .ko filenames must match the module names to ensure consistency
before these names are exposed as UAPI via driver_override.
Update nova/Makefile and nova-core/Makefile so that nova-drm.ko and
nova-core.ko are produced, matching the module names set in patch 1.
Update drm::DriverInfo with the correct driver name and vendor
description. Fix Kconfig help text for both drivers and the debugfs
directory name in nova-core to match the new module names.
Closes: https://github.com/Rust-for-Linux/linux/issues/1228
Signed-off-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
---
drivers/gpu/drm/nova/Kconfig | 2 +-
drivers/gpu/drm/nova/Makefile | 3 ++-
drivers/gpu/drm/nova/driver.rs | 4 ++--
drivers/gpu/nova-core/Kconfig | 2 +-
drivers/gpu/nova-core/Makefile | 3 ++-
drivers/gpu/nova-core/nova_core.rs | 2 +-
6 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/nova/Kconfig b/drivers/gpu/drm/nova/Kconfig
index a2028b8539d7..ba16c74401f8 100644
--- a/drivers/gpu/drm/nova/Kconfig
+++ b/drivers/gpu/drm/nova/Kconfig
@@ -14,4 +14,4 @@ config DRM_NOVA
This driver is work in progress and may not be functional.
- If M is selected, the module will be called nova.
+ If M is selected, the module will be called nova-drm.
diff --git a/drivers/gpu/drm/nova/Makefile b/drivers/gpu/drm/nova/Makefile
index 42019bff3173..f8527b2b7b4a 100644
--- a/drivers/gpu/drm/nova/Makefile
+++ b/drivers/gpu/drm/nova/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_DRM_NOVA) += nova.o
+obj-$(CONFIG_DRM_NOVA) += nova-drm.o
+nova-drm-y := nova.o
diff --git a/drivers/gpu/drm/nova/driver.rs b/drivers/gpu/drm/nova/driver.rs
index f8f7beeccb13..e3de04f358f0 100644
--- a/drivers/gpu/drm/nova/driver.rs
+++ b/drivers/gpu/drm/nova/driver.rs
@@ -32,8 +32,8 @@ pub(crate) struct NovaData {
major: 0,
minor: 0,
patchlevel: 0,
- name: c"nova",
- desc: c"Nvidia Graphics",
+ name: c"nova-drm",
+ desc: c"NVIDIA Graphics and Compute",
};
const NOVA_CORE_MODULE_NAME: &CStr = c"nova-core";
diff --git a/drivers/gpu/nova-core/Kconfig b/drivers/gpu/nova-core/Kconfig
index d8456f8eaa05..f918f69e0599 100644
--- a/drivers/gpu/nova-core/Kconfig
+++ b/drivers/gpu/nova-core/Kconfig
@@ -14,4 +14,4 @@ config NOVA_CORE
This driver is work in progress and may not be functional.
- If M is selected, the module will be called nova_core.
+ If M is selected, the module will be called nova-core.
diff --git a/drivers/gpu/nova-core/Makefile b/drivers/gpu/nova-core/Makefile
index 2d78c50126e1..4ae544f808f4 100644
--- a/drivers/gpu/nova-core/Makefile
+++ b/drivers/gpu/nova-core/Makefile
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-obj-$(CONFIG_NOVA_CORE) += nova_core.o
+obj-$(CONFIG_NOVA_CORE) += nova-core.o
+nova-core-y := nova_core.o
diff --git a/drivers/gpu/nova-core/nova_core.rs b/drivers/gpu/nova-core/nova_core.rs
index 80264094d44b..c488058880be 100644
--- a/drivers/gpu/nova-core/nova_core.rs
+++ b/drivers/gpu/nova-core/nova_core.rs
@@ -52,7 +52,7 @@ struct NovaCoreModule {
impl InPlaceModule for NovaCoreModule {
fn init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> {
- let dir = debugfs::Dir::new(kernel::c_str!("nova_core"));
+ let dir = debugfs::Dir::new(kernel::c_str!("nova-core"));
// SAFETY: We are the only driver code running during init, so there
// cannot be any concurrent access to `DEBUGFS_ROOT`.
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case
2026-05-07 18:49 [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case Cheng-Yang Chou
2026-05-07 18:49 ` [PATCH v3 1/2] gpu: nova, nova-core: Rename to kebab-case Cheng-Yang Chou
2026-05-07 18:49 ` [PATCH v3 2/2] gpu: nova-drm: Rename nova to nova-drm Cheng-Yang Chou
@ 2026-05-09 22:05 ` Danilo Krummrich
2 siblings, 0 replies; 4+ messages in thread
From: Danilo Krummrich @ 2026-05-09 22:05 UTC (permalink / raw)
To: Cheng-Yang Chou
Cc: Danilo Krummrich, Alice Ryhl, Alexandre Courbot, Simona Vetter,
Gary Guo, nouveau, Ching-Chun Huang, Chia-Ping Tsai
On Fri, 8 May 2026 02:49:24 +0800, Cheng-Yang Chou wrote:
> [PATCH v3 0/2] gpu: nova, nova-core: rename drivers and directory to follow kebab-case
Applied, thanks!
Branch: drm-rust-next
Tree: https://gitlab.freedesktop.org/drm/rust/kernel.git
[1/2] gpu: nova, nova-core: Rename to kebab-case
commit: 4f3491f6ec85
[2/2] gpu: nova: Use module names consistently
commit: 8bfe9d72cf20
[ Change commit subject to "gpu: nova: Use module names consistently";
slightly adjust commit message. - Danilo ]
The patches will appear in the next linux-next integration (typically within 24
hours on weekdays).
The patches are queued up for the upcoming merge window for the next major
kernel release.
^ permalink raw reply [flat|nested] 4+ messages in thread