[PATCH V1 2/2] drm: Make CONFIG_RUST_DRM_GEM_SHMEM_HELPER selectable from menuconfig

From: Mukesh Kumar Chaurasiya (IBM)

Date: Sun Apr 26 2026 - 04:23:52 EST


CONFIG_RUST_DRM_GEM_SHMEM_HELPER doesn't have a description leading to
not show up as a selectable menu item in menuconfig. Along side it's not
dependent on rust.

Fix this by making CONFIG_RUST_DRM_GEM_SHMEM_HELPER dependent on
CONFIG_RUST and give it a description string so that it can be selected
from menuconfig.

Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@xxxxxxxxx>
---
drivers/gpu/drm/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 8f5a8d3012e4..89adb700d710 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -269,8 +269,8 @@ config DRM_GEM_SHMEM_HELPER
Choose this if you need the GEM shmem helper functions

config RUST_DRM_GEM_SHMEM_HELPER
- bool
- depends on DRM && MMU
+ bool "Rust GEM shmem helper functions"
+ depends on DRM && MMU && RUST
select DRM_GEM_SHMEM_HELPER
help
Choose this if you need the GEM shmem helper functions In Rust
--
2.53.0