gpu: nova: rename drivers and directory to use kebab-case convention
Subsystems (5)
v2 cover gpu: nova: rename drivers and directory to use kebab-case convention
Rename the nova-core and nova-drm drivers to follow kernel naming conventions before these names become UAPI (e.g. exposed via driver_override).
Changes in v2:
- Also fix nova-drm driver description from "Nvidia Graphics" to "NVIDIA Graphics and Compute" (John Hubbard)
- Rename drivers/gpu/drm/nova/ directory to drivers/gpu/drm/nova-drm/ and nova.rs to nova_drm.rs to match the module name (Danilo Krummrich)
- Link to v1:
https://lore.kernel.org/all/[email protected]/
Thanks,
Cheng-Yang
---
Cheng-Yang Chou (2):
gpu: nova: rename drivers to use kebab-case convention
gpu: nova-drm: rename nova/ directory to nova-drm/
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 | 6 +++---
drivers/gpu/drm/{nova => nova-drm}/file.rs | 0
drivers/gpu/drm/{nova => nova-drm}/gem.rs | 0
drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} | 2 +-
drivers/gpu/drm/nova/Makefile | 3 ---
drivers/gpu/nova-core/nova_core.rs | 2 +-
11 files changed, 14 insertions(+), 14 deletions(-)
rename drivers/gpu/drm/{nova => nova-drm}/Kconfig (84%)
create mode 100644 drivers/gpu/drm/nova-drm/Makefile
rename drivers/gpu/drm/{nova => nova-drm}/driver.rs (94%)
rename drivers/gpu/drm/{nova => nova-drm}/file.rs (100%)
rename drivers/gpu/drm/{nova => nova-drm}/gem.rs (100%)
rename drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} (92%)
delete mode 100644 drivers/gpu/drm/nova/MakefileSignature · 1 line
2.48.1
PATCH v2 1/2 gpu: nova: rename drivers to use kebab-case convention
Rename nova-core driver from "NovaCore" to "nova-core" and nova-drm driver from "Nova" to "nova-drm" to follow kernel naming conventions before these names become UAPI (e.g. exposed via driver_override).
Also fix the nova-drm driver description from "Nvidia Graphics" to "NVIDIA Graphics and Compute".
--- drivers/gpu/drm/nova/driver.rs | 6 +++--- drivers/gpu/drm/nova/nova.rs | 2 +- drivers/gpu/nova-core/nova_core.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/nova/driver.rs +3 -3
@@ -32,11 +32,11 @@ 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"NovaCore" ; +const NOVA_CORE_MODULE_NAME : &CStr =c"nova-core" ;const AUXILIARY_NAME : &CStr =c"nova-drm" ; kernel::auxiliary_device_table!(
drivers/gpu/drm/nova/nova.rs +1 -1
@@ -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" ,
drivers/gpu/nova-core/nova_core.rs +1 -1
@@ -22,7 +22,7 @@ kernel::module_pci_driver! {type : driver::NovaCore , - name:"NovaCore" , + name:"nova-core" , authors: ["Danilo Krummrich" ], description:"Nova Core GPU driver" , license:"GPL v2" ,
Signature · 1 line
2.48.1
Re: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
Quoted 10 lines · Cheng-Yang Chou
Rename nova-core driver from "NovaCore" to "nova-core" and nova-drm driver from "Nova" to "nova-drm" to follow kernel naming conventions before these names become UAPI (e.g. exposed via
driver_override).Also fix the nova-drm driver description from "Nvidia Graphics" to "NVIDIA Graphics and Compute".
Quoted 5 lines
--- drivers/gpu/drm/nova/driver.rs | 6 +++--- drivers/gpu/drm/nova/nova.rs | 2 +- drivers/gpu/nova-core/nova_core.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
Re: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
In reply to Cheng-Yang ChouQuoted 7 lines · Cheng-Yang Chou
Rename nova-core driver from "NovaCore" to "nova-core" and nova-drm driver from "Nova" to "nova-drm" to follow kernel naming conventions before these names become UAPI (e.g. exposed via
driver_override).Also fix the nova-drm driver description from "Nvidia Graphics" to "NVIDIA Graphics and Compute".
Quoted 8 lines
Signed-off-by Cheng-Yang Chou <[email protected]>Acked-by Timur Tabi <[email protected]>--- drivers/gpu/drm/nova/driver.rs | 6 +++--- drivers/gpu/drm/nova/nova.rs | 2 +- drivers/gpu/nova-core/nova_core.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
thanks,
Signature · 1 line
John Hubbard
Quoted 46 lines
drivers/gpu/drm/nova/driver.rs +3
-3@@ -32,11 +32,11 @@ 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"NovaCore" ; +const NOVA_CORE_MODULE_NAME : &CStr =c"nova-core" ;const AUXILIARY_NAME : &CStr =c"nova-drm" ; kernel::auxiliary_device_table!(drivers/gpu/drm/nova/nova.rs +1
-1@@ -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" ,drivers/gpu/nova-core/nova_core.rs +1
-1@@ -22,7 +22,7 @@ kernel::module_pci_driver! {type : driver::NovaCore , - name:"NovaCore" , + name:"nova-core" , authors: ["Danilo Krummrich" ], description:"Nova Core GPU driver" , license:"GPL v2" ,
Danilo Krummrich
maintainerRe: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
In reply to Cheng-Yang Choudrivers/gpu/drm/nova/driver.rs pub(crate) struct NovaData { · line 37
Quoted 13 lines · Cheng-Yang Chou
drivers/gpu/drm/nova/driver.rs +2
-2@@ -32,11 +32,11 @@ 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", };
Can you please move this into the second patch. Additionally, in the second patch, please only keep the Kconfig change and use the following in the Makefile.
obj-$(CONFIG_DRM_NOVA) += nova-drm.o nova-drm-y := nova.o
I.e. keep the directory and filenames as they are.
We can use the same trick for nova-core, so we get nova-core.ko and nova-drm.ko.
Thanks,
Danilo
Quoted 34 lines
drivers/gpu/drm/nova/driver.rs +1
-1-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!(drivers/gpu/drm/nova/nova.rs +1
-1@@ -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" ,drivers/gpu/nova-core/nova_core.rs +1
-1@@ -22,7 +22,7 @@ kernel::module_pci_driver! {type : driver::NovaCore , - name:"NovaCore" , + name:"nova-core" , authors: ["Danilo Krummrich" ], description:"Nova Core GPU driver" , license:"GPL v2" ,Signature · 1 line
2.48.1
Danilo Krummrich
maintainerRe: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
Quoted 10 lines · Danilo Krummrich
Can you please move this into the second patch. Additionally, in the second patch, please only keep the
Kconfigchange and use the following in theMakefile.obj-$(CONFIG_DRM_NOVA) += nova-drm.o nova-drm-y := nova.oI.e. keep the directory and filenames as they are.
We can use the same trick for nova-core, so we get nova-core.ko and nova-drm.ko.
Do you plan to follow up on this one?
Thanks,
Danilo
Re: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
Hi Danilo,
Quoted 5 lines · Danilo Krummrich
Quoted 4 lines · Danilo Krummrich
Can you please move this into the second patch. Additionally, in the second patch, please only keep the
Kconfigchange and use the following in theMakefile.
Quoted 8 lines
Quoted 6 lines
obj-$(CONFIG_DRM_NOVA) += nova-drm.o nova-drm-y := nova.oI.e. keep the directory and filenames as they are.
We can use the same trick for nova-core, so we get nova-core.ko and nova-drm.ko.
Do you plan to follow up on this one?
Sorry for totally missing this! Will send a v3 patch by this weekend.
Signature · 2 lines
Cheers, Cheng-Yang
Danilo Krummrich
maintainerRe: [PATCH v2 1/2] gpu: nova: rename drivers to use kebab-case convention
Quoted 1 line · Cheng-Yang Chou
Sorry for totally missing this! Will send a v3 patch by this weekend.
No worries -- thanks!
PATCH v2 2/2 gpu: nova-drm: rename nova/ directory to nova-drm/
In reply to Cheng-Yang ChouRename 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.
---
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
drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} | 0
drivers/gpu/drm/nova/Makefile | 3 ---
10 files changed, 9 insertions(+), 9 deletions(-)
rename drivers/gpu/drm/{nova => nova-drm}/Kconfig (84%)
create mode 100644 drivers/gpu/drm/nova-drm/Makefile
rename drivers/gpu/drm/{nova => nova-drm}/driver.rs (100%)
rename drivers/gpu/drm/{nova => nova-drm}/file.rs (100%)
rename drivers/gpu/drm/{nova => nova-drm}/gem.rs (100%)
rename drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} (100%)
delete mode 100644 drivers/gpu/drm/nova/MakefileMAINTAINERS +3 -3
@@ -8201,7 +8201,7 @@ B: https://gitlab.freedesktop.org/drm/nova/-/issues C: irc://irc.oftc.net/nouveau T: git https://gitlab.freedesktop.org/drm/rust/kernel.git drm-rust-next F: Documentation/gpu/nova/ -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: include/uapi/drm/nova_drm.h DRM DRIVER FOR OLIMEX LCD-OLINUXINO PANELS
@@ -8484,7 +8484,7 @@ X: drivers/gpu/drm/i915/ X: drivers/gpu/drm/kmb/ X: drivers/gpu/drm/mediatek/ X: drivers/gpu/drm/msm/ -X: drivers/gpu/drm/nova/ +X: drivers/gpu/drm/nova-drm/ X: drivers/gpu/drm/radeon/ X: drivers/gpu/drm/tegra/ X: drivers/gpu/drm/tyr/
@@ -8496,7 +8496,7 @@ M: Alice Ryhl <[email protected]> S: Supported W: https://drm.pages.freedesktop.org/maintainer-tools/drm-rust.html T: git https://gitlab.freedesktop.org/drm/rust/kernel.git -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: drivers/gpu/drm/tyr/ F: drivers/gpu/nova-core/ F: rust/kernel/drm/
drivers/gpu/drm/Kconfig +1 -1
@@ -308,7 +308,7 @@ source "drivers/gpu/drm/mgag200/Kconfig" source "drivers/gpu/drm/msm/Kconfig" source "drivers/gpu/drm/mxsfb/Kconfig" source "drivers/gpu/drm/nouveau/Kconfig" -source "drivers/gpu/drm/nova/Kconfig" +source "drivers/gpu/drm/nova-drm/Kconfig" source "drivers/gpu/drm/omapdrm/Kconfig" source "drivers/gpu/drm/panel/Kconfig" source "drivers/gpu/drm/panfrost/Kconfig"
drivers/gpu/drm/Makefile +1 -1
@@ -186,7 +186,7 @@ obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ obj-$(CONFIG_DRM_VGEM) += vgem/ obj-$(CONFIG_DRM_VKMS) += vkms/ obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ -obj-$(CONFIG_DRM_NOVA) += nova/ +obj-$(CONFIG_DRM_NOVA) += nova-drm/ obj-$(CONFIG_DRM_EXYNOS) +=exynos/ obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ obj-$(CONFIG_DRM_GMA500) += gma500/
drivers/gpu/drm/nova-drm/Kconfig renamed from drivers/gpu/drm/nova/Kconfig +1 -1
@@ -13,4 +13,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.
drivers/gpu/drm/nova-drm/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_DRM_NOVA) += nova_drm.o
drivers/gpu/drm/nova-drm/driver.rs renamed from drivers/gpu/drm/nova/driver.rs +0 -0
drivers/gpu/drm/nova-drm/file.rs renamed from drivers/gpu/drm/nova/file.rs +0 -0
drivers/gpu/drm/nova-drm/gem.rs renamed from drivers/gpu/drm/nova/gem.rs +0 -0
drivers/gpu/drm/nova-drm/nova_drm.rs renamed from drivers/gpu/drm/nova/nova.rs +0 -0
drivers/gpu/drm/nova/Makefile deleted +0 -3
@@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_DRM_NOVA) += nova.o
Signature · 1 line
2.48.1
Re: [PATCH v2 2/2] gpu: nova-drm: rename nova/ directory to nova-drm/
Quoted 10 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.
The subject line should be changed to:
gpu: nova-drm: rename nova to nova-drm
thanks,
Signature · 1 line
John Hubbard
Quoted 121 lines
--- 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 drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} | 0 drivers/gpu/drm/nova/Makefile | 3 --- 10 files changed, 9 insertions(+), 9 deletions(-)rename
drivers/gpu/drm/{nova=> nova-drm}/Kconfig (84%) create mode 100644drivers/gpu/drm/nova-drm/Makefilerenamedrivers/gpu/drm/{nova=>nova-drm}/driver.rs(100%) renamedrivers/gpu/drm/{nova=>nova-drm}/file.rs(100%) renamedrivers/gpu/drm/{nova=>nova-drm}/gem.rs(100%) renamedrivers/gpu/drm/{nova/nova.rs=>nova-drm/nova_drm.rs} (100%) delete mode 100644drivers/gpu/drm/nova/MakefileMAINTAINERS +3
-3@@ -8201,7 +8201,7 @@ B: https://gitlab.freedesktop.org/drm/nova/-/issues C: irc://irc.oftc.net/nouveau T: git https://gitlab.freedesktop.org/drm/rust/kernel.git drm-rust-next F: Documentation/gpu/nova/ -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: include/uapi/drm/nova_drm.h DRM DRIVER FOR OLIMEX LCD-OLINUXINO PANELS@@ -8484,7 +8484,7 @@ X: drivers/gpu/drm/i915/ X: drivers/gpu/drm/kmb/ X: drivers/gpu/drm/mediatek/ X: drivers/gpu/drm/msm/ -X: drivers/gpu/drm/nova/ +X: drivers/gpu/drm/nova-drm/ X: drivers/gpu/drm/radeon/ X: drivers/gpu/drm/tegra/ X: drivers/gpu/drm/tyr/@@ -8496,7 +8496,7 @@ M: Alice Ryhl <[email protected]> S: Supported W: https://drm.pages.freedesktop.org/maintainer-tools/drm-rust.html T: git https://gitlab.freedesktop.org/drm/rust/kernel.git -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: drivers/gpu/drm/tyr/ F: drivers/gpu/nova-core/ F: rust/kernel/drm/drivers/gpu/drm/Kconfig +1
-1@@ -308,7 +308,7 @@ source "drivers/gpu/drm/mgag200/Kconfig" source "drivers/gpu/drm/msm/Kconfig" source "drivers/gpu/drm/mxsfb/Kconfig" source "drivers/gpu/drm/nouveau/Kconfig" -source "drivers/gpu/drm/nova/Kconfig" +source "drivers/gpu/drm/nova-drm/Kconfig" source "drivers/gpu/drm/omapdrm/Kconfig" source "drivers/gpu/drm/panel/Kconfig" source "drivers/gpu/drm/panfrost/Kconfig"drivers/gpu/drm/Makefile +1
-1@@ -186,7 +186,7 @@ obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ obj-$(CONFIG_DRM_VGEM) += vgem/ obj-$(CONFIG_DRM_VKMS) += vkms/ obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ -obj-$(CONFIG_DRM_NOVA) += nova/ +obj-$(CONFIG_DRM_NOVA) += nova-drm/ obj-$(CONFIG_DRM_EXYNOS) +=exynos/ obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ obj-$(CONFIG_DRM_GMA500) += gma500/drivers/gpu/drm/nova-drm/Kconfig renamed from drivers/gpu/drm/nova/Kconfig +1
-1@@ -13,4 +13,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.drivers/gpu/drm/nova-drm/Makefile new file +3
-0@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_DRM_NOVA) += nova_drm.odrivers/gpu/drm/nova-drm/driver.rs renamed from drivers/gpu/drm/nova/driver.rs +0
-0drivers/gpu/drm/nova-drm/file.rs renamed from drivers/gpu/drm/nova/file.rs +0
-0drivers/gpu/drm/nova-drm/gem.rs renamed from drivers/gpu/drm/nova/gem.rs +0
-0drivers/gpu/drm/nova-drm/nova_drm.rs renamed from drivers/gpu/drm/nova/nova.rs +0
-0drivers/gpu/drm/nova/Makefile deleted +0
-0
drivers/gpu/drm/nova/Makefile line 3
Quoted 3 lines
drivers/gpu/drm/nova/Makefile deleted +0
-3@@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_DRM_NOVA) += nova.o
thanks,
Signature · 1 line
John Hubbard
PATCH v3 2/2 gpu: nova-drm: rename nova to nova-drm
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.
---
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
drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} | 0
drivers/gpu/drm/nova/Makefile | 3 ---
10 files changed, 9 insertions(+), 9 deletions(-)
rename drivers/gpu/drm/{nova => nova-drm}/Kconfig (84%)
create mode 100644 drivers/gpu/drm/nova-drm/Makefile
rename drivers/gpu/drm/{nova => nova-drm}/driver.rs (100%)
rename drivers/gpu/drm/{nova => nova-drm}/file.rs (100%)
rename drivers/gpu/drm/{nova => nova-drm}/gem.rs (100%)
rename drivers/gpu/drm/{nova/nova.rs => nova-drm/nova_drm.rs} (100%)
delete mode 100644 drivers/gpu/drm/nova/MakefileMAINTAINERS +3 -3
@@ -8201,7 +8201,7 @@ B: https://gitlab.freedesktop.org/drm/nova/-/issues C: irc://irc.oftc.net/nouveau T: git https://gitlab.freedesktop.org/drm/rust/kernel.git drm-rust-next F: Documentation/gpu/nova/ -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: include/uapi/drm/nova_drm.h DRM DRIVER FOR OLIMEX LCD-OLINUXINO PANELS
@@ -8484,7 +8484,7 @@ X: drivers/gpu/drm/i915/ X: drivers/gpu/drm/kmb/ X: drivers/gpu/drm/mediatek/ X: drivers/gpu/drm/msm/ -X: drivers/gpu/drm/nova/ +X: drivers/gpu/drm/nova-drm/ X: drivers/gpu/drm/radeon/ X: drivers/gpu/drm/tegra/ X: drivers/gpu/drm/tyr/
@@ -8496,7 +8496,7 @@ M: Alice Ryhl <[email protected]> S: Supported W: https://drm.pages.freedesktop.org/maintainer-tools/drm-rust.html T: git https://gitlab.freedesktop.org/drm/rust/kernel.git -F: drivers/gpu/drm/nova/ +F: drivers/gpu/drm/nova-drm/ F: drivers/gpu/drm/tyr/ F: drivers/gpu/nova-core/ F: rust/kernel/drm/
drivers/gpu/drm/Kconfig +1 -1
@@ -308,7 +308,7 @@ source "drivers/gpu/drm/mgag200/Kconfig" source "drivers/gpu/drm/msm/Kconfig" source "drivers/gpu/drm/mxsfb/Kconfig" source "drivers/gpu/drm/nouveau/Kconfig" -source "drivers/gpu/drm/nova/Kconfig" +source "drivers/gpu/drm/nova-drm/Kconfig" source "drivers/gpu/drm/omapdrm/Kconfig" source "drivers/gpu/drm/panel/Kconfig" source "drivers/gpu/drm/panfrost/Kconfig"
drivers/gpu/drm/Makefile +1 -1
@@ -186,7 +186,7 @@ obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/ obj-$(CONFIG_DRM_VGEM) += vgem/ obj-$(CONFIG_DRM_VKMS) += vkms/ obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/ -obj-$(CONFIG_DRM_NOVA) += nova/ +obj-$(CONFIG_DRM_NOVA) += nova-drm/ obj-$(CONFIG_DRM_EXYNOS) +=exynos/ obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/ obj-$(CONFIG_DRM_GMA500) += gma500/
drivers/gpu/drm/nova-drm/Kconfig renamed from drivers/gpu/drm/nova/Kconfig +1 -1
@@ -13,4 +13,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.
drivers/gpu/drm/nova-drm/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_DRM_NOVA) += nova_drm.o
drivers/gpu/drm/nova-drm/driver.rs renamed from drivers/gpu/drm/nova/driver.rs +0 -0
drivers/gpu/drm/nova-drm/file.rs renamed from drivers/gpu/drm/nova/file.rs +0 -0
drivers/gpu/drm/nova-drm/gem.rs renamed from drivers/gpu/drm/nova/gem.rs +0 -0
drivers/gpu/drm/nova-drm/nova_drm.rs renamed from drivers/gpu/drm/nova/nova.rs +0 -0
drivers/gpu/drm/nova/Makefile deleted +0 -3
@@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-$(CONFIG_DRM_NOVA) += nova.o
Signature · 1 line
2.48.1
Alexandre Courbot
maintainerRe: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 15 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
Changes in v3:
- Rename subject line (John Hubbard)
Quoted 8 lines
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 | 0That drm/nova-drm reads a bit awkwardly to me and feels unnecessary. Even tegra-drm is in drm/tegra.
Re: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 25 lines · Alexandre Courbot
Quoted 15 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
Changes in v3:
- Rename subject line (John Hubbard)Quoted 8 lines
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
Quoted 2 lines
That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/tegra.
Same opinion here.
Cheers,
Martin (an old nouveau dev)
Danilo Krummrich
maintainerRe: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
In reply to Alexandre CourbotQuoted 25 lines · Alexandre Courbot
Quoted 15 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
Changes in v3:
- Rename subject line (John Hubbard)Quoted 8 lines
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
Quoted 2 lines
That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/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.
So, if we rename the driver name to nova-drm, then the other parts should be renamed as well.
Alexandre Courbot
maintainerRe: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 26 lines · Danilo Krummrich
Quoted 25 lines · Alexandre Courbot
Quoted 23 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
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
Quoted 6 lines
Quoted 2 lines
That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/tegra.Well, that's why I named it "nova" in the first place, but I don't want
KBUILD_MODNAMEto diverge from the directory name and I also don't want the driver name to diverge fromKBUILD_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".
Danilo Krummrich
maintainerRe: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 30 lines · Alexandre Courbot
Quoted 29 lines · Danilo Krummrich
Quoted 27 lines · Alexandre Courbot
Quoted 15 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
Changes in v3:
- Rename subject line (John Hubbard)Quoted 8 lines
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 | 0That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/tegra.
Quoted 7 lines
Quoted 3 lines
Well, that's why I named it "nova" in the first place, but I don't want
KBUILD_MODNAMEto diverge from the directory name and I also don't want the driver name to diverge fromKBUILD_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".
It is consistency. But why are we discussing this, what is the concern being consistent here?
Alexandre Courbot
maintainerRe: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 35 lines · Danilo Krummrich
Quoted 34 lines · Alexandre Courbot
Quoted 32 lines · Danilo Krummrich
Quoted 25 lines · Alexandre Courbot
Quoted 15 lines · Cheng-Yang Chou
Rename the nova-drm driver directory from
drivers/gpu/drm/nova/todrivers/gpu/drm/nova-drm/and the top-level source file fromnova.rstonova_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, andMakefilereferences accordingly. Update theKconfighelp text to reflect the new module name nova-drm.Signed-off-by Cheng-Yang Chou <[email protected]>Reviewed-by John Hubbard <[email protected]>---
Changes in v3:
- Rename subject line (John Hubbard)Quoted 8 lines
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 | 0Quoted 2 lines
That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/tegra.Well, that's why I named it "nova" in the first place, but I don't want
KBUILD_MODNAMEto diverge from the directory name and I also don't want the driver name to diverge fromKBUILD_MODNAME.
Quoted 6 lines
Quoted 3 lines
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".
It is consistency. But why are we discussing this, what is the concern being consistent here?
I just find the repetition of "drm" unnecessary. That's not a big deal though and I can definitely live with it.
Re: [PATCH v3 2/2] gpu: nova-drm: rename nova to nova-drm
Quoted 5 lines · Alexandre Courbot
Quoted 4 lines · Danilo Krummrich
Quoted 3 lines · Alexandre Courbot
Quoted 2 lines · Danilo Krummrich
Quoted 1 line · Alexandre Courbot
On Tue Mar 17, 2026 at 6:23 PM JST, Cheng-Yang Chou wrote:
....
Quoted 11 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
That
drm/nova-drmreads a bit awkwardly to me and feels unnecessary. Eventegra-drmis indrm/tegra.Well, that's why I named it "nova" in the first place, but I don't want
KBUILD_MODNAMEto diverge from the directory name and I also don't want the driver name to diverge fromKBUILD_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".
Quoted 5 lines
Quoted 2 lines
It is consistency. But why are we discussing this, what is the concern being consistent here?
I just find the repetition of "drm" unnecessary. That's not a big deal though and I can definitely live with it.
As I mentioned in an earlier version of this patchset, things such as lsmod(1) do not show the source code directory of one's kernel module.
$ lsmod|grep nova nova 16384 0 nova_core 253952 0
And of course, lsmod(1) is not the only case where this comes up: few people know the source directory paths! Nor should they. But this means that in many situations, we are left with an initial report that only includes the module's basename.
We would like some hint about what "nova" means, especially given the presence of nova_core.
So it turns out that a little redundancy, and even saying something more than once, is helpful in this particular case. :)
thanks,
Signature · 1 line
John Hubbard