Skip to content
Snippets Groups Projects
Commit b784f9b9 authored by Lyude Paul's avatar Lyude Paul
Browse files

rust: drm: Add Device::event_lock()


This is just a crate-private helper to use Lock::from_raw() to provide an
immutable reference to the DRM event_lock, so that it can be used like a
normal rust spinlock. We'll need this for adding vblank related bindings.

Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
parent a86f9461
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment