diff options
| author | Cheng-Yang Chou <yphbchou0911@gmail.com> | 2026-05-08 02:49:26 +0800 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-09 23:51:49 +0200 |
| commit | 8bfe9d72cf2064f679c4192dba84be79eb70675d (patch) | |
| tree | a1ad320096bb0cdeef549cbb3ee1225bb00246a4 /drivers/gpu/drm/nova | |
| parent | 4f3491f6ec85c04535e8108614f34e12c351bbe9 (diff) | |
| download | lwn-8bfe9d72cf2064f679c4192dba84be79eb70675d.tar.gz lwn-8bfe9d72cf2064f679c4192dba84be79eb70675d.zip | |
gpu: nova: Use module names consistently
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>
Link: https://patch.msgid.link/20260507185012.1527139-3-yphbchou0911@gmail.com
[ Change commit subject to "gpu: nova: Use module names consistently";
slightly adjust commit message. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/nova')
| -rw-r--r-- | drivers/gpu/drm/nova/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/nova/Makefile | 3 | ||||
| -rw-r--r-- | drivers/gpu/drm/nova/driver.rs | 4 |
3 files changed, 5 insertions, 4 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 @@ const INFO: drm::DriverInfo = drm::DriverInfo { 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"; |
