]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/gpuvm: rust: add RUST_DRM_GPUVM option to Kconfig
authorAlice Ryhl <aliceryhl@google.com>
Mon, 27 Apr 2026 10:54:51 +0000 (10:54 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 5 May 2026 10:59:41 +0000 (12:59 +0200)
commit37f748ed0c19e007e7c5677f5d605d6b93841792
tree23180680a4fec4c413733e7fe8ae975fa1724d4b
parent0b715b1e382b3d2e15d71c03a23be5f4333e7894
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 <dakr@kernel.org>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260427-gpuvm-config-v1-1-8ece03771f8a@google.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/drm/Kconfig
rust/helpers/drm_gpuvm.c
rust/kernel/drm/gpuvm/mod.rs