Skip to content

Batch 2 of rust gem shmem work

Lyude Paul dri-devel linux-media lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 patches 8 repliesIn review

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/gem/shmem: Extract drm_gem_shmem_init() from drm_gem_shmem_create()drivers/gpu/drm/drm_gem_shmem_helper.c include/drm/drm_gem_shmem_helper.h+51 -250 replies
2/3drm/gem/shmem: Extract drm_gem_shmem_release() from drm_gem_shmem_free()drivers/gpu/drm/drm_gem_shmem_helper.c include/drm/drm_gem_shmem_helper.h+19 -50 replies
3/3rust: Add dma_buf stub bindingsrust/kernel/dma_buf.rs rust/kernel/lib.rs+41 -07 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDaniel Almeida
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Batch 2 of rust gem shmem work

Now that we're getting close to reaching the finish line for upstreaming the rust gem shmem bindings, we've got another batch of patches that have been reviewed and can be safely pushed to drm-rust-next independently of the rest of the series.

These patches of course apply against the drm-rust-next branch, and are part of the gem shmem series, the latest version of which can be found here:

https://patchwork.freedesktop.org/series/146465/

Lyude Paul (3):
drm/gem/shmem: Extract drm_gem_shmem_init() from
drm_gem_shmem_create()
drm/gem/shmem: Extract drm_gem_shmem_release() from
drm_gem_shmem_free()
rust: Add dma_buf stub bindings

 drivers/gpu/drm/drm_gem_shmem_helper.c | 98 ++++++++++++++++++--------
 include/drm/drm_gem_shmem_helper.h     |  2 +
 rust/kernel/dma_buf.rs                 | 40 +++++++++++
 rust/kernel/lib.rs                     |  1 +
 4 files changed, 111 insertions(+), 30 deletions(-)
 create mode 100644 rust/kernel/dma_buf.rs

base-commit: cf4fd52e323604ccfa8390917593e1fb965653ee

Signature · 1 line
2.51.0