- void drm_send_event(struct drm_device * dev, struct drm_pending_event * e);
- DRM device
- DRM event to deliver
This function sends the event e, initialized with drm_event_reserve_init, to its associated userspace DRM file. This function acquires dev->event_lock, see drm_send_event_locked for callers which already hold this lock.
Note that the core will take care of unlinking and disarming events when the corresponding DRM file is closed. Drivers need not worry about whether the DRM file for this event still exists and can call this function upon completion of the asynchronous work unconditionally.
Jesse Barnes <[email protected]>
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation