Skip to content
Snippets Groups Projects
  • Asahi Lina's avatar
    bd1f6606
    rust: drm: gem: shmem: Add DRM shmem helper abstraction · bd1f6606
    Asahi Lina authored and Lyude Paul's avatar Lyude Paul committed
    
    The DRM shmem helper includes common code useful for drivers which
    allocate GEM objects as anonymous shmem. Add a Rust abstraction for
    this. Drivers can choose the raw GEM implementation or the shmem layer,
    depending on their needs.
    
    Lyude changelog:
    * Rebase
    * Squash "rust: drm: device: Convert Device to AlwaysRefCounted" as this
      commit doesn't compile without it anyway
    
    Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>
    bd1f6606
    History
    rust: drm: gem: shmem: Add DRM shmem helper abstraction
    Asahi Lina authored and Lyude Paul's avatar Lyude Paul committed
    
    The DRM shmem helper includes common code useful for drivers which
    allocate GEM objects as anonymous shmem. Add a Rust abstraction for
    this. Drivers can choose the raw GEM implementation or the shmem layer,
    depending on their needs.
    
    Lyude changelog:
    * Rebase
    * Squash "rust: drm: device: Convert Device to AlwaysRefCounted" as this
      commit doesn't compile without it anyway
    
    Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>