All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/tyr: allow mismatched buffers for dev_query
@ 2026-10-15  1:02 Deborah Brouwer
  2026-10-15  1:02 ` [PATCH 1/2] rust: uaccess: add UserSliceWriter::clear() Deborah Brouwer
  2026-10-15  1:02 ` [PATCH 2/2] drm/tyr: allow userspace buffers to be mismatched Deborah Brouwer
  0 siblings, 2 replies; 4+ messages in thread
From: Deborah Brouwer @ 2026-10-15  1:02 UTC (permalink / raw)
  To: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich, Daniel Almeida, Tamir Duberstein,
	Alexandre Courbot, Onur Özkan, David Airlie, Simona Vetter
  Cc: rust-for-linux, linux-kernel, dri-devel, Deborah Brouwer

Panthor UAPI for DRM_IOCTL_TYR_DEV_QUERY allows userspace to provide
a smaller or larger buffer than the kernel needs. Revise Tyr's
implementation to match the expected UAPI behaviour.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
---
Deborah Brouwer (2):
      rust: uaccess: add UserSliceWriter::clear()
      drm/tyr: allow userspace buffers to be mismatched

 drivers/gpu/drm/tyr/file.rs | 45 +++++++++++++++++++++++++++++++++++++--------
 rust/helpers/uaccess.c      |  6 ++++++
 rust/kernel/uaccess.rs      | 23 +++++++++++++++++++++++
 3 files changed, 66 insertions(+), 8 deletions(-)
---
base-commit: 5a1b7121a6c4db6c0239d3ac3fd1c2bb33a40025
change-id: 20261014-b4-dev_query_fixes-4e0ab024294a

Best regards,
-- 
Deborah Brouwer <deborah.brouwer@collabora.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-15  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15  1:02 [PATCH 0/2] drm/tyr: allow mismatched buffers for dev_query Deborah Brouwer
2026-10-15  1:02 ` [PATCH 1/2] rust: uaccess: add UserSliceWriter::clear() Deborah Brouwer
2026-10-15  1:08   ` sashiko-bot
2026-10-15  1:02 ` [PATCH 2/2] drm/tyr: allow userspace buffers to be mismatched Deborah Brouwer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.