rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Beata Michalska <beata.michalska@arm.com>
To: ojeda@kernel.org, alex.gaynor@gmail.com, dakr@kernel.org,
	aliceryhl@google.com, daniel.almeida@collabora.com
Cc: boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com,
	lossin@kernel.org, a.hindborg@kernel.org, tmgross@umich.edu,
	alyssa@rosenzweig.io, lyude@redhat.com,
	rust-for-linux@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: [PATCH v2 0/2] Drop Opaque from IOCTL args
Date: Tue, 24 Jun 2025 11:31:58 +0200	[thread overview]
Message-ID: <20250624093200.812812-1-beata.michalska@arm.com> (raw)

Hi All,

This patch series removes the use of `Opaque<T>` for ioctl
arguments in the DRM Rust interface and updates the Nova
code accordingly.

v2:
- Missing Nova changes now included
- Fixed formatting and added comment on safety guarantees

Beata Michalska (1):
  rust: drm: Drop the use of Opaque for ioctl arguments

Danilo Krummrich (1):
  drm: nova-drm: Update ioctl handlers to drop Opaque usage

 drivers/gpu/drm/nova/file.rs | 23 ++++++--------
 drivers/gpu/drm/nova/nova.rs |  1 -
 drivers/gpu/drm/nova/uapi.rs | 61 ------------------------------------
 rust/kernel/drm/ioctl.rs     | 11 ++++---
 4 files changed, 16 insertions(+), 80 deletions(-)
 delete mode 100644 drivers/gpu/drm/nova/uapi.rs

-- 
2.25.1


             reply	other threads:[~2025-06-24  9:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24  9:31 Beata Michalska [this message]
2025-06-24  9:31 ` [PATCH v2 1/2] rust: drm: Drop the use of Opaque for ioctl arguments Beata Michalska
2025-06-24  9:32 ` [PATCH v2 2/2] drm: nova-drm: Update ioctl handlers to drop Opaque usage Beata Michalska
2025-06-24  9:59   ` Danilo Krummrich
2025-06-24 11:09     ` Beata Michalska
2025-06-24 11:20       ` Danilo Krummrich
2025-06-24 21:23         ` Beata Michalska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250624093200.812812-1-beata.michalska@arm.com \
    --to=beata.michalska@arm.com \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=alyssa@rosenzweig.io \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gary@garyguo.net \
    --cc=lossin@kernel.org \
    --cc=lyude@redhat.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tmgross@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).