[PATCH V1 0/2] Rust DRM build fix

Mukesh Kumar Chaurasiya (IBM) posted 2 patches 1 month, 3 weeks ago
There is a newer version of this series
drivers/gpu/drm/Kconfig      | 4 ++--
rust/kernel/drm/gem/shmem.rs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
[PATCH V1 0/2] Rust DRM build fix
Posted by Mukesh Kumar Chaurasiya (IBM) 1 month, 3 weeks ago
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.

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(-)

-- 
2.53.0
Re: [PATCH V1 0/2] Rust DRM build fix
Posted by Thomas Zimmermann 1 month, 3 weeks ago
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)