[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250731154919.4132-1-dakr@kernel.org>
Date: Thu, 31 Jul 2025 17:48:05 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: lorenzo.stoakes@...cle.com,
vbabka@...e.cz,
Liam.Howlett@...cle.com,
urezki@...il.com,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch
Cc: rust-for-linux@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
Danilo Krummrich <dakr@...nel.org>
Subject: [PATCH 0/4] Alloc and drm::Device fixes
This patch series replaces aligned_size() with Kmalloc::aligned_layout(), which
is subsequently used to obtain a kmalloc() compatible Layout for
__drm_dev_alloc() in drm::Device::new().
It also contains two additional drm::Device fixes; the commits are based on
next-20250731.
Danilo Krummrich (4):
rust: alloc: replace aligned_size() with Kmalloc::aligned_layout()
rust: drm: ensure kmalloc() compatible Layout
rust: drm: remove pin annotations from drm::Device
rust: drm: don't pass the address of drm::Device to drm_dev_put()
rust/kernel/alloc/allocator.rs | 30 ++++++++++++++++++------------
rust/kernel/drm/device.rs | 32 +++++++++++++++++++++++++-------
2 files changed, 43 insertions(+), 19 deletions(-)
base-commit: 84b92a499e7eca54ba1df6f6c6e01766025943f1
--
2.50.0
Powered by blists - more mailing lists