Re: [PATCH v2 3/7] rust: drm: move file_operations from gem to device
From: Gary Guo
Date: Wed Nov 11 2026 - 04:29:54 EST
On Sat Nov 7, 2026 at 2:03 AM GMT, Danilo Krummrich wrote:
> Move the file_operations definition from drm::gem::create_fops() into
> UnregisteredDevice in drm::device. This is the file_operations of the
> DRM minor device, set through the drm_driver struct. It is not specific
> to GEM.
>
> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> Reviewed-by: Daniel Almeida <daniel.almeida@xxxxxxxxxxxxx>
> Signed-off-by: Danilo Krummrich <dakr@xxxxxxxxxx>
Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
> ---
> rust/kernel/drm/device.rs | 23 ++++++++++++++++++++---
> rust/kernel/drm/gem/mod.rs | 20 --------------------
> 2 files changed, 20 insertions(+), 23 deletions(-)