Re: [PATCH v2 1/7] rust: drm: rename Ioctl device context to Userspace

From: Gary Guo

Date: Wed Nov 11 2026 - 04:22:15 EST


On Sat Nov 7, 2026 at 2:03 AM GMT, Danilo Krummrich wrote:
> The Ioctl DeviceContext typestate represents a device that has been
> registered with userspace at some point. This context is not specific to
> ioctl dispatch; it applies equally to GEM handle callbacks, mmap,
> fdinfo, and any other operation triggered by userspace on a registered
> device.
>
> Rename it to Userspace to accurately reflect its semantics.
>
> 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 | 21 ++++++++++++---------
> rust/kernel/drm/ioctl.rs | 12 ++++++------
> rust/kernel/drm/mod.rs | 2 +-
> 3 files changed, 19 insertions(+), 16 deletions(-)