]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
gpu: nova-core: select RUST_FW_LOADER_ABSTRACTIONS
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 5 Nov 2025 00:40:09 +0000 (09:40 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 16 Dec 2025 12:56:44 +0000 (21:56 +0900)
RUST_FW_LOADER_ABSTRACTIONS was depended on by NOVA_CORE, but NOVA_CORE
is selected by DRM_NOVA. This creates a situation where, if DRM_NOVA is
selected, NOVA_CORE gets enabled but not RUST_FW_LOADER_ABSTRACTIONS,
which results in a build error.

Since the firmware loader is an implementation detail of the driver, it
should be enabled along with it, so change the "depends on" to a
"select".

Fixes: 54e6baf123fd ("gpu: nova-core: add initial driver stub")
Closes: https://lore.kernel.org/oe-kbuild-all/202512061721.rxKGnt5q-lkp@intel.com/
Tested-by: Alyssa Ross <hi@alyssa.is>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20251106-b4-select-rust-fw-v3-2-771172257755@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/Kconfig

index 20d3e6d0d796ef62803c43d5058b4678d00d039a..527920f9c4d39c8466fbea66cdaa578b85dd8889 100644 (file)
@@ -3,7 +3,7 @@ config NOVA_CORE
        depends on 64BIT
        depends on PCI
        depends on RUST
-       depends on RUST_FW_LOADER_ABSTRACTIONS
+       select RUST_FW_LOADER_ABSTRACTIONS
        select AUXILIARY_BUS
        default n
        help