Re: [PATCH 2/7] drm/gem-shmem: Export VM ops functions

2025-03-19 Thread Christian König
Am 18.03.25 um 20:22 schrieb Daniel Almeida: > From: Asahi Lina > > There doesn't seem to be a way for the Rust bindings to get a > compile-time constant reference to drm_gem_shmem_vm_ops, so we need to > duplicate that structure in Rust... this isn't nice... Well "isn't nice" is an understatemen

Re: [PATCH 2/7] drm/gem-shmem: Export VM ops functions

2025-03-19 Thread Christian König
Am 18.03.25 um 20:22 schrieb Daniel Almeida: > From: Asahi Lina > > There doesn't seem to be a way for the Rust bindings to get a > compile-time constant reference to drm_gem_shmem_vm_ops, so we need to > duplicate that structure in Rust... this isn't nice... Well "isn't nice" is an understatemen

[PATCH 2/7] drm/gem-shmem: Export VM ops functions

2025-03-18 Thread Daniel Almeida
From: Asahi Lina There doesn't seem to be a way for the Rust bindings to get a compile-time constant reference to drm_gem_shmem_vm_ops, so we need to duplicate that structure in Rust... this isn't nice... Signed-off-by: Asahi Lina Signed-off-by: Daniel Almeida --- drivers/gpu/drm/drm_gem_shme