From 37f748ed0c19e007e7c5677f5d605d6b93841792 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Mon, 27 Apr 2026 10:54:51 +0000 Subject: drm/gpuvm: rust: add RUST_DRM_GPUVM option to Kconfig Since Rust uses GPUVM via the kernel crate, which is built-in, the GPUVM module must also be built-in to use GPUVM from Rust. Adjust the Kconfig settings accordingly. Suggested-by: Danilo Krummrich Signed-off-by: Alice Ryhl Link: https://patch.msgid.link/20260427-gpuvm-config-v1-1-8ece03771f8a@google.com Signed-off-by: Danilo Krummrich --- rust/kernel/drm/gpuvm/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/kernel') diff --git a/rust/kernel/drm/gpuvm/mod.rs b/rust/kernel/drm/gpuvm/mod.rs index dc755f248143..ae58f6f667c1 100644 --- a/rust/kernel/drm/gpuvm/mod.rs +++ b/rust/kernel/drm/gpuvm/mod.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 OR MIT -#![cfg(CONFIG_DRM_GPUVM = "y")] +#![cfg(CONFIG_RUST_DRM_GPUVM)] //! DRM GPUVM in immediate mode //! -- cgit v1.2.3