Re: [PATCH V1 0/2] Rust DRM build fix
From: Thomas Zimmermann
Date: Mon Apr 27 2026 - 02:22:24 EST
Hi
Am 26.04.26 um 10:22 schrieb Mukesh Kumar Chaurasiya (IBM):
rust drm gem shmem doesn't builds due to an import error of ARef from
types instead of sync.
This series fixes that and also makes CONFIG_RUST_DRM_GEM_SHMEM_HELPER
dependent of RUST and making it selectable from menuconfig.
Memory managers are selected by drivers, not by users. You have to fix the driver rules instead.
Best regards
Thomas
Mukesh Kumar Chaurasiya (IBM) (2):
rust/drm: import ARef from sync crate
drm: Make CONFIG_RUST_DRM_GEM_SHMEM_HELPER selectable from menuconfig
drivers/gpu/drm/Kconfig | 4 ++--
rust/kernel/drm/gem/shmem.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Jochen Jaser, Andrew McDonald, Werner Knoblich, (HRB 36809, AG Nürnberg)