[PATCH 0/4] drm: Rust GEM bindings cleanup

Lyude Paul posted 4 patches 9 months, 1 week ago
There is a newer version of this series
rust/kernel/drm/gem/mod.rs | 141 ++++++++++++++++++++-----------------
1 file changed, 76 insertions(+), 65 deletions(-)
[PATCH 0/4] drm: Rust GEM bindings cleanup
Posted by Lyude Paul 9 months, 1 week ago
Just some patches to fix a handful of minor issues, some of which were already
mentioned on the mailing list. Some of these patches also make it just a
little bit easier to add the shmem bindings from Asahi in the future.

This patch series applies on top of dakr's nova-next branch:
  https://gitlab.freedesktop.org/drm/nova/-/tree/nova-next

Lyude Paul (4):
  rust: drm: gem: Use NonNull for Object::dev
  rust: drm: gem: Refactor IntoGEMObject::from_gem_obj() to as_ref()
  rust: drm: gem: s/into_gem_obj()/as_gem_obj()/
  rust: drm: gem: Implement AlwaysRefCounted for all gem objects
    automatically

 rust/kernel/drm/gem/mod.rs | 141 ++++++++++++++++++++-----------------
 1 file changed, 76 insertions(+), 65 deletions(-)


base-commit: 3be746ebc1e6e32f499a65afe405df9030153a63
-- 
2.48.1
Re: [PATCH 0/4] drm: Rust GEM bindings cleanup
Posted by Danilo Krummrich 8 months, 3 weeks ago
On Thu, May 01, 2025 at 02:33:15PM -0400, Lyude Paul wrote:
> Just some patches to fix a handful of minor issues, some of which were already
> mentioned on the mailing list. Some of these patches also make it just a
> little bit easier to add the shmem bindings from Asahi in the future.

Applied to nova-next, thanks!
Re: [PATCH 0/4] drm: Rust GEM bindings cleanup
Posted by Danilo Krummrich 8 months, 3 weeks ago
On Thu, May 15, 2025 at 08:58:29PM +0200, Danilo Krummrich wrote:
> On Thu, May 01, 2025 at 02:33:15PM -0400, Lyude Paul wrote:
> > Just some patches to fix a handful of minor issues, some of which were already
> > mentioned on the mailing list. Some of these patches also make it just a
> > little bit easier to add the shmem bindings from Asahi in the future.
> 
> Applied to nova-next, thanks!

Of course I applied v2 [1]. :-)

[1] https://lore.kernel.org/dri-devel/20250513221046.903358-1-lyude@redhat.com/