lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250318-drm-gem-shmem-v1-0-64b96511a84f@collabora.com>
Date: Tue, 18 Mar 2025 16:22:34 -0300
From: Daniel Almeida <daniel.almeida@...labora.com>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, 
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, 
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>, 
 Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>, 
 Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>, 
 Björn Roy Baron <bjorn3_gh@...tonmail.com>, 
 Benno Lossin <benno.lossin@...ton.me>, 
 Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, 
 Trevor Gross <tmgross@...ch.edu>, Sumit Semwal <sumit.semwal@...aro.org>, 
 Christian König <christian.koenig@....com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org, 
 rust-for-linux@...r.kernel.org, linux-media@...r.kernel.org, 
 linaro-mm-sig@...ts.linaro.org, Danilo Krummrich <dakr@...nel.org>, 
 Asahi Lina <lina@...hilina.net>, 
 Daniel Almeida <daniel.almeida@...labora.com>
Subject: [PATCH 0/7] Rust abstractions for shmem-backed GEM objects

Hi all,

This series picks up the work carried out by the Asahi project for
shmem-backed GEM objects. This initial version is meant to kickstart the
discussion on this topic, as the bindings will be clearly needed by Tyr
and other drivers.

It has been tested on both AGX and Tyr successfully.

I did provide a minor fix for a missing #include, but I did not touch
this code otherwise so far. Even the rebase was done by Janne Grunnau.

Applies on top of

commit 0722a3f4f15545a4a25fd124b6955a5b6498e23a
Author: Danilo Krummrich <dakr@...nel.org>
Date:   Tue Oct 15 17:19:27 2024 +0200

    nova: add initial driver stub
    

---
Asahi Lina (7):
      drm/shmem-helper: Add lockdep asserts to vmap/vunmap
      drm/gem-shmem: Export VM ops functions
      rust: helpers: Add bindings/wrappers for dma_resv_lock
      rust: drm: gem: shmem: Add DRM shmem helper abstraction
      drm/gem: Add a flag to control whether objects can be exported
      rust: drm: gem: Add set_exportable() method
      rust: drm: gem: shmem: Add share_dma_resv() function

 drivers/gpu/drm/drm_gem.c              |   1 +
 drivers/gpu/drm/drm_gem_shmem_helper.c |  13 +-
 drivers/gpu/drm/drm_prime.c            |   5 +
 include/drm/drm_gem.h                  |   8 +
 include/drm/drm_gem_shmem_helper.h     |   3 +
 rust/bindings/bindings_helper.h        |   4 +
 rust/helpers/dma-resv.c                |  13 +
 rust/helpers/drm.c                     |  46 ++++
 rust/helpers/helpers.c                 |   2 +
 rust/helpers/scatterlist.c             |  13 +
 rust/kernel/drm/gem/mod.rs             |  15 ++
 rust/kernel/drm/gem/shmem.rs           | 457 +++++++++++++++++++++++++++++++++
 12 files changed, 577 insertions(+), 3 deletions(-)
---
base-commit: 0722a3f4f15545a4a25fd124b6955a5b6498e23a
change-id: 20250318-drm-gem-shmem-8bb647b66b1c

Best regards,
-- 
Daniel Almeida <daniel.almeida@...labora.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ